@@ -6,8 +6,8 @@ ModelDB (http://senselab.med.yale.edu/ModelDB/). They assume you have installed
66a recent NEURON package (>7.3 is known to work), available at
77http://www.neuron.yale.edu.
88
9- Linux / Unix
10- ------------
9+ Linux / Unix / Mac
10+ ------------------
11111. Download one of the model packages from the Downloads section, or from an
1212me-type fact sheet. For this example we will download the package named
1313L5_DBC_cACint209_3.zip (i.e. m-type L5_DBC, e-type cAC, exemplar 3)
@@ -23,12 +23,6 @@ user@machine:~/dev/sim/neuron/L5_DBC_cACint209_3$ sh run_hoc.sh
2323
24244. Read the 'How to use the ME-type model GUI' section below
2525
26- If you have installed Neuron with Python support, you can run a python version
27- of the model. This script will run without a GUI, and will produce traces for
28- step current 1, 2 and 3 in the directory python_recordings
29-
30- user@machine:~/dev/sim/neuron/L5_DBC_cACint209_3$ sh run_py.sh
31-
3226Windows
3327-------
34281. Download one of the model packages from the Downloads section, or from an
@@ -47,33 +41,24 @@ unzipped cell package directory
47415. The GUI should load automatically. Read the 'How to use the ME-type model
4842GUI' section below
4943
50- Mac OS X
51- --------
52- 1. Download one of the model packages from the Downloads section, or from an
53- me-type fact sheet. For this example we will download the package named
54- L5_DBC_cACint209_3.zip
55-
56- 2. Unzip the downloaded package
57-
58- 3. Drag the 'mechanisms' directory inside the unzipped cell package directory
59- onto the mknrndll.app icon
44+ Running the Python version of the model package on Linux / Unix / Mac OS X
45+ ==========================================================================
46+ Both Python 2.6+ as 3.4+ are supported.
47+ If you have installed Neuron with Python support, you can run a python version
48+ of the model. The python script depends on numpy and matplotlib, so first
49+ install these packages with e.g. 'pip install numpy matplotlib'
50+ The script will run without a GUI, and will produce traces for
51+ step current 1, 2 and 3 in the directory python_recordings
6052
61- 4. Run nrngui.app. Point the 'File->load dll' menu option to
62- mechanisms/x86_64/.libs/libnrnmech.so (You probably need to change the Filter
63- from *.dll to *.so. Depending on your computer's processor type x86_64 might
64- also be e.g. i686). Using 'File->load hoc' load the mosinit.hoc file in the
65- root directory of the cell package directory.
53+ user@machine:~/dev/sim/neuron/L5_DBC_cACint209_3$ sh run_py.sh
6654
67- 5. The GUI should load automatically.. Read the ' How to use the ME-type model
68- GUI' section below How to use the ME-type model GUI
55+ How to use the ME-type model GUI
56+ ================================
6957
7058To start simulating the model, press the Init & Run button. Initially there are
7159no stimuli present, which means that the cell will stay at its resting membrane
7260potential.
7361
74- How to use the ME-type model GUI
75- ================================
76-
7762There are three panels that show the output of the model. One is a graph with
7863the membrane voltage recorded in the soma (units: ms and mV), the two other
7964panels have a representation of the cell's morphology. The sections in the
@@ -96,3 +81,39 @@ represented by a Poisson spike train, and the synapses will receive input from
9681these virtual cell. The default firing rate of these virtual cells is set to 10
9782Hz. The user can change these value by changing the input field next to the
9883respective m-type activation button.
84+
85+ Installing Neuron on Mac OS X using Homebrew
86+ ============================================
87+
88+ In our experience the Homebrew package manager is the most convenient way to
89+ get a commandline version of Neuron that has both X11 and Python support
90+ running on your Mac.
91+
92+ 1. Install Homebrew by following the instruction on http://brew.sh, or:
93+
94+ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)")
95+
96+ 2. Tap the Science Homebrew repo from
97+
98+ https://github.com/Homebrew/homebrew-science
99+
100+ by executing:
101+
102+ brew tap homebrew/science
103+
104+ 3. Now you can install Neuron:
105+
106+ brew install neuron
107+
108+ This will install all the necessary software dependencies
109+ like InterViews, X11, ...
110+
111+ You can test the installation by executing:
112+
113+ nrngui
114+
115+ which should start the Neuron GUI
116+
117+ To test the Neuron python module:
118+
119+ python -c 'import neuron'
0 commit comments