Skip to content

Commit cddc972

Browse files
small change
1 parent fd201de commit cddc972

1 file changed

Lines changed: 126 additions & 28 deletions

File tree

Lines changed: 126 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,148 @@
11
.. _how_to_get_started_with_neuron:
22

33
How to get started with NEURON
4-
=============
4+
==============================
55

6-
To learn the basics about using NEURON:
7-
-------------
6+
What is NEURON?
7+
---------------
88

9-
You'll likely have questions. Ask and answer questions at the `NEURON Discussion Board <https://github.com/neuronsimulator/nrn/discussions>`_
9+
NEURON is a simulator for neurons and networks of neurons that runs on your local machine,
10+
in the cloud, or on an HPC cluster.
1011

11-
Then
12+
It is built on biophysical models. NEURON simulates neurons using conductance-based equations
13+
introduced by :ref:`Hodgkin and Huxley <Hodgkin-Huxley cable equations>`, whose work
14+
establishes the mathematical foundation for how ion channels drive electrical activity in
15+
model cells.
1216

13-
1.
14-
Read `"The NEURON Simulation Environment." <https://pubmed.ncbi.nlm.nih.gov/9248061/#:~:text=The%20NEURON%20simulation%20program%20provides,and%20membrane%20currents%20are%20complex.>`_
17+
You can build and simulate models using Python, HOC, and/or NEURON's graphical interface.
1518

16-
2.
17-
Use the Programmer's Reference early and often. If you are running NEURON under MSWindows and accepted the default installation, the Programmer's Reference is already in the NEURON program group--put a shortcut to it on your desktop. If you are using MacOS or UNIX, you will have to download it separately from the `Documentation page <https://nrn.readthedocs.io/en/latest/python/index.html>`_.
19+
Download NEURON
20+
---------------
1821

19-
3.
20-
Work through the tutorials on the `Documentation <https://nrn.readthedocs.io/en/latest/python/index.html>`_ and `Courses <https://nrn.readthedocs.io/en/latest/courses/exercises2018.html>`_ pages.
22+
There are two ways to get NEURON running on your system:
2123

22-
4.
23-
Use the GUI tools as much as possible. You'll get more done, faster, and you won't have to write any code. Some of the GUI tools are described in the tutorials, and others are demonstrated in more detail in John Moore's User's Manual (see the `Documentation <https://nrn.readthedocs.io/en/latest/python/index.html>`_ page).
24+
:doc:`Download and run </install/install>` — the standard option for most users. Pre-built
25+
installers are available for Mac, Windows, and Linux.
2426

25-
5.
26-
The GUI tools can also help you learn how to use hoc, NEURON's programming language. The CellBuilder and Network Builder can export hoc code that you can examine and reuse to do new things. You can also save the smaller GUI tools to session files, which contain reusable hoc statements.
27+
:doc:`Build from source </install/developer>` — for users who need a custom build, want to
28+
contribute to development, or need to integrate NEURON into a larger software environment.
2729

28-
6.
29-
Examine `ModelDB <https://modeldb.science>`_ and the list of `publications about NEURON <https://nrn.readthedocs.io/en/latest/publications.html>`_ to find models of interest. Many authors have deposited their model code in ModelDB, posted it somewhere else on the WWW, or will provide code upon request.
30+
What can NEURON do?
31+
-------------------
3032

31-
To learn how to use NMODL to add new mechanisms to NEURON:
32-
------------------------
33+
NEURON has been used in hundreds of published studies across computational and experimental
34+
neuroscience. A few examples of what it can do:
3335

34-
1.
35-
First, consider using the ChannelBuilder instead (see the `Documentation page <https://nrn.readthedocs.io/en/latest/python/index.html>`_ for a tutorial). This is an extremely powerful GUI tool for specifying voltage- and ligand-gated ionic conductances. It's much easier to use than NMODL. Mechanisms specified with the ChannelBuilder actually execute *faster* than if they were specified with NMODL. Also, you can use it to make stochastic channel models.
36+
- `Mainen and Sejnowski (1996) <https://modeldb.science/2488>`_ demonstrated that the complex
37+
firing patterns seen in cortical neurons can be reproduced by varying the morphology of a
38+
single cell model built in NEURON.
3639

37-
2.
38-
If you absolutely must use NMODL (e.g. for ion accumulation mechanisms or to add new kinds of artificial spiking cells), read chapters 9 and 10 of The NEURON Book, or at least the articles "Expanding NEURON's Repertoire of Mechanisms with NMODL" and "Discrete event simulation in the NEURON environment" (downloadable from the `publications about NEURON <https://nrn.readthedocs.io/en/latest/publications.html>`_ page).
40+
- `Migliore et al. (2014) <https://modeldb.science/151681>`_ used NEURON to simulate
41+
large-scale networks of olfactory neurons, linking network-level activity to perceptual
42+
phenomena.
3943

40-
3.
41-
NEURON comes with a bunch of mod files that can serve as starting points for "programming by example." Under MSWin the default mechanisms (hh, pas, expsyn etc.) are in ``c:\nrn\src\nrnoc`` (on my Linux box this is ``/usr/local/src/nrn-x.x/src/nrnoc``). A large collection of mod files is in ``c:\nrn\examples\nrniv\nmodl`` (Linux ``/usr/local/src/nrn-x.x/share/examples/nrniv/nmodl``).
44+
- NEURON has also been used to simulate detailed single cell models.
45+
`Morse et al. (2010) <https://modeldb.science/87284>`_ investigated how early Alzheimer's
46+
disease affects the electrical excitability of oblique dendrites in hippocampal pyramidal
47+
neurons. Using a single, anatomically detailed compartmental model of one CA1 pyramidal
48+
cell, NEURON was used to simulate how amyloid beta blocking A-type potassium channels
49+
changes the way electrical signals propagate through that cell's dendritic branches.
4250

43-
4.
44-
You may also find useful examples in `ModelDB <https://modeldb.science>`_.
51+
A full list of publications using NEURON is available on the
52+
:doc:`Publications page </publications-using-neuron>`.
4553

46-
For courses about NEURON, see the :ref:`Course Exercises <exercises2018>` page and the :ref:`Training Videos <training_videos>` page.
54+
Learning resources
55+
------------------
4756

57+
The resources below are organized by experience level. Within each level, two starting points
58+
are offered depending on your background — choose the one that fits how you think.
4859

60+
Beginner
61+
~~~~~~~~
4962

63+
**New to computational modeling?**
5064

65+
If you want to understand NEURON through a biological lens, before the programming bit kicks
66+
in, use the following resources. These introduce NEURON through its graphical interface and
67+
biological concepts first.
68+
69+
- :doc:`What is NEURON </guide/what_is_neuron>` — guide
70+
- :ref:`Basic Concepts and GUI` — 2021 course video
71+
- :ref:`Using NEURON's GUI to build and simulate cells` — CNS 2022 video
72+
- :doc:`Squid axon model </courses/interactive_modeling>` — exercise
73+
- :doc:`Introduction to the GUI </courses/intro_to_gui>` — exercise
74+
75+
**Comfortable with Python?**
76+
77+
Start here if you have a programming background and want to get something running in code first.
78+
79+
- :doc:`What is NEURON </guide/what_is_neuron>` — guide
80+
- :doc:`Scripting NEURON basics </tutorials/scripting-neuron-basics>` — CNS 2022 video
81+
- :doc:`NEURON scripting exercises </courses/neuron_scripting_exercises>` — exercise
82+
- :doc:`Single compartment model with Hodgkin-Huxley mechanism </courses/using_nmodl_files>` — exercise
83+
84+
Intermediate
85+
~~~~~~~~~~~~
86+
87+
**New to computational modeling?**
88+
89+
These resources introduce more complex cell models, morphology, and ion channel specification
90+
through guided examples and GUI tools.
91+
92+
- :ref:`Branched cells` — 2021 course video
93+
- :ref:`Adding ion channels` — 2021 course video
94+
- :ref:`Using NMODL to add new biophysical mechanisms` — CNS 2022 video
95+
- :doc:`Working with morphometric data and Import3D </courses/using_morphometric_data>` — exercise
96+
- :ref:`How do I work with neuron morphologies?` — guide
97+
- :doc:`Using the CellBuilder GUI </guide/cellbuilder>` — guide
98+
99+
**Comfortable with Python?**
100+
101+
These resources cover networks, numerical methods, morphology in code, and scripting more
102+
complex models.
103+
104+
- :doc:`Using NMODL files </courses/using_nmodl_files>` — exercise
105+
- :ref:`Networks and numerical methods` — 2021 course video
106+
- :ref:`Numerical Methods: accuracy, stability, speed` — CNS 2022 video
107+
- :doc:`Numerical methods exercises </courses/numerical-methods-exercises>` — exercise
108+
- :doc:`HOC exercises </courses/hoc_exercises>` — exercise
109+
- :doc:`Ball and Stick 1: Basic cell </tutorials/ball-and-stick-1>` — Python tutorial
110+
- :doc:`Ball and Stick 2: Build a ring network </tutorials/ball-and-stick-2>` — Python tutorial
111+
112+
Advanced
113+
~~~~~~~~
114+
115+
These resources assume familiarity with both the biological concepts and the scripting
116+
environment.
117+
118+
- :ref:`Reaction-diffusion simulations` — CNS 2022 video
119+
- :doc:`Python RXD tutorials </rxd-tutorials/index>` — tutorial series
120+
- :doc:`MPI and multithreaded parallelization </courses/mpi_parallelization>` — exercise
121+
- :doc:`Using the Neuroscience Gateway for HPC </courses/using_nsg_portal>` — exercise
122+
- :doc:`Ball and Stick 3: Extensible network </tutorials/ball-and-stick-3>` — Python tutorial
123+
- :doc:`Ball and Stick 4: Parallel vs serial mode </tutorials/ball-and-stick-4>` — Python tutorial
124+
125+
Going further
126+
~~~~~~~~~~~~~
127+
128+
The above list covers some of the structured courses, videos, and exercises available in this
129+
documentation. There are additional resources worth knowing about as you go further. You can
130+
work through all materials on the :doc:`Documentation </tutorials/index>` and
131+
:doc:`Courses </courses/exercises2018>` pages.
132+
133+
`ModelDB <https://modeldb.science>`_ is a publicly accessible database of published
134+
computational neuroscience models, many of which were built with NEURON. Once you are
135+
comfortable running your own simulations, ModelDB is a great resource for finding,
136+
downloading, and studying real models from the literature. This helps you see how others have
137+
approached modeling problems similar to your own.
138+
139+
What's next?
140+
------------
141+
142+
In this guide we have covered what NEURON is and what it is built on, and how to download it
143+
and get it running. Whether you are approaching NEURON from a biological background or a
144+
programming one, the learning resources above will take you from a single compartment cell all
145+
the way to large-scale multiscale networks. The tools are well documented, the exercises are
146+
hands-on, and the concepts build on each other naturally the further you go.
147+
148+
Welcome to NEURON. Happy simulating.

0 commit comments

Comments
 (0)