Peter Duggins, Terry Stewart, Xuan Choo, Chris Eliasmith
Effects of Guanfacine and Phenylephrine on a Spiking Neuron Model of Working Memory
- Install Python 2.7.X (https://www.python.org/downloads/) and Git (https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
- Open a terminal (Max/Linux) or a command prompt (Windows)
- Clone the repository:
- Install with Pip (OR python):
- cd drugs_and_working_memory
- pip install .
- (python setup.py develop)
- Install missing packages if necessary
- The SciPy Stack: Matplotlib, Numpy, Scipy, and Pandas (https://www.scipy.org/install.html)
- Seaborn (https://stanford.edu/~mwaskom/software/seaborn/installing.html)
- Pathos (https://pypi.python.org/pypi/pathos) and necessary requirements
- 'model.py' is the main file for running the simulation
- 'helper.py' has supporting functions and classes for model.py
- 'gui.py' is for loading the model into nengo_gui and running individual simulations
- 'remake_plots.py' is for replotting data pickled and exported by model.py
- 'integrator_demo.py' generates the data for Figure 2
- 'parameters.txt' specifies all of those great parameters
- 'plots' folder contains the plots used in the paper and associated parameter files
- 'data' folder stores the outputs of model.py, including parameters.json, plots.png, and data.pkl
- Navigate to the 'rugs_and_working_memory/rugs_and_working_memory' folder in the terminal/cmd
- Edit the 'parameters.txt' file
- Be sure to reset the seed to get unique behavior.
- run 'python model.py'
- You should see the message 'Running [simulation details]...' followed by a progress indicator
- When the simulation finishes, check out the 'data' folder to see your results.
- Email '[email protected]'