Giter Site home page Giter Site logo

ibmi's Introduction

Peter Duggins, Terry Stewart, Xuan Choo, Chris Eliasmith

Effects of Guanfacine and Phenylephrine on a Spiking Neuron Model of Working Memory

Install

Clone the GitHub repository

  1. Install Python 2.7.X (https://www.python.org/downloads/) and Git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
  2. Open a terminal (Max/Linux) or a command prompt (Windows)
  3. Clone the repository:
  4. Install with Pip (OR python):
    • cd drugs_and_working_memory
    • pip install .
    • (python setup.py develop)
  5. Install missing packages if necessary

What are these files?

  1. 'model.py' is the main file for running the simulation
  2. 'helper.py' has supporting functions and classes for model.py
  3. 'gui.py' is for loading the model into nengo_gui and running individual simulations
  4. 'remake_plots.py' is for replotting data pickled and exported by model.py
  5. 'integrator_demo.py' generates the data for Figure 2
  6. 'parameters.txt' specifies all of those great parameters
  7. 'plots' folder contains the plots used in the paper and associated parameter files
  8. 'data' folder stores the outputs of model.py, including parameters.json, plots.png, and data.pkl

Run

  1. Navigate to the 'rugs_and_working_memory/rugs_and_working_memory' folder in the terminal/cmd
  2. Edit the 'parameters.txt' file
    • Be sure to reset the seed to get unique behavior.
  3. run 'python model.py'
  4. You should see the message 'Running [simulation details]...' followed by a progress indicator
  5. When the simulation finishes, check out the 'data' folder to see your results.

Questions?

  1. Email '[email protected]'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.