-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathreadme.txt
25 lines (10 loc) · 1022 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Model files in the NetPyNE simulation environment for the paper:
Theta-gamma phase amplitude coupling in a hippocampal CA1 microcircuit
by Adam Ponzi, Salvador Dura-Bernal, and Michele Migliore
Usage:
Download the files.
Compile the mod files on the command line with 'nrnivmodl mechanisms'.
Install the NetPyNE simulation environment (http://netpyne.org/install.html)
To run the code using mpi-exec: (1) Remove or rename the directory t42_data (which is subsequently recreated when the code is run). (2) Set the numcores parameter in t42_batch.py to the required number of cores. (3) On the command line : 'nrniv -python t42_batch.py' (4) On completion, in the file maketrace.py set asBatch = True. Run maketrace.py.
To run the code directly: (1) On the command line: 'nrniv -python t42_init.py'. In this case no new directories are created. (2) On completion, in the file maketrace.py set asBatch = False. Run maketrace.py.
Questions on how to use this model should be directed to adam.ponzi@ibf.cnr.it