Skip to content

Add detailed neuron documentation #3448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 58 commits into
base: master
Choose a base branch
from

Conversation

jessica-mitchell
Copy link
Contributor

@jessica-mitchell jessica-mitchell commented Mar 27, 2025

This PR adds 2 new pages detailing neurons in NEST for users to better understand what's available in NEST from a comp neuroscience perspective.

the first page describes the various neuron types

  • new tags were created for models to align with the neuron types

the second page describes the update algorithm for neurons using iaf_psc_alpha as the example.
We use this model as an example as it's one that has extensive documentation updates, and is used as an example in many cases.
Further flowcharts will be considered in the future to describe other model types like rate neurons, but that is for another PR.

This PR focuses on neurons - but there are plans to add synase docs in another PR

See the output here: https://nest-simulator--3448.org.readthedocs.build/en/3448/neurons/neuron_types.html
https://nest-simulator--3448.org.readthedocs.build/en/3448/neurons/neuron_update.html

@jessica-mitchell jessica-mitchell added T: Enhancement New functionality, model or documentation S: Normal Handle this with default priority I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) labels Mar 27, 2025
@github-project-automation github-project-automation bot moved this to In progress in Documentation Mar 27, 2025
@jessica-mitchell jessica-mitchell moved this from In progress to Review in Documentation Apr 23, 2025
Copy link
Contributor

@ddahmen ddahmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice work. There are a few typos and textual changes that I suggested. After implementing them, the PR is ready for merge .

.. grid-item-card::
:columns: 7

The autonomous dynamics describes the neuron behavior in the absence of stimulation or in the presence of constant inputs,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
The autonomous dynamics describes the neuron behavior in the absence of stimulation or in the presence of constant inputs,
The autonomous dynamics describe the neuron behavior in the absence of stimulation or in the presence of constant inputs,

:columns: 7

Increment state variables associated with the post-spike dynamics
(such as refractoriness timers or adaptation variables), and send spike.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
(such as refractoriness timers or adaptation variables), and send spike.
(such as refractoriness timers or adaptation variables), and send events (e.g. spike).

:selected:

When the membrane potential reaches a certain threshold,
the neuron deterministically "fires" an action potential
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
the neuron deterministically "fires" an action potential
the neuron deterministically "fires" an action potential.


When the membrane potential reaches a certain threshold,
the neuron deterministically "fires" an action potential
Neuron models iwth hard threshold do not contain intrinsic dynamics that produce the upswing of a spike. The downswing is realized
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Neuron models iwth hard threshold do not contain intrinsic dynamics that produce the upswing of a spike. The downswing is realized
Neuron models with hard threshold do not contain intrinsic dynamics that produce the upswing of a spike. The downswing is realized

When the membrane potential reaches a certain threshold,
the neuron deterministically "fires" an action potential
Neuron models iwth hard threshold do not contain intrinsic dynamics that produce the upswing of a spike. The downswing is realized
is by an artificial reset mechanism
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
is by an artificial reset mechanism
is by an artificial reset mechanism.

Unlike a fixed threshold, an adaptive threshold increases temporarily following each spike and
gradually returns to its baseline value over time. This mechanism models phenomena
such as spike-frequency adaptation, where a neuron's responsiveness decreases with sustained
high-frequency input.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
high-frequency input.
high-frequency input. A different mechanism to implement similar adaptation behavior is via a spike-triggered hyperpolarizing adaptation current.


.. dropdown:: Auxillary neurons

ignore-and-fire - used for benchmarking . . .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
ignore-and-fire - used for benchmarking . . .
ignore-and-fire – Used for benchmarking

.. tab-item:: General info
:selected:

Mean-field theory
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Mean-field theory
Rate models can also be used as mean-field descriptions for the population-rate dynamics of spiking networks.


.. grid-item::

Neurons with two or three states. Simplest neuron models with threshold activation. Binary neurons have
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Neurons with two or three states. Simplest neuron models with threshold activation. Binary neurons have
Neurons with two or three discrete states. These are the simplest neuron models with threshold activation. Binary neurons have

.. grid-item::

Neurons with two or three states. Simplest neuron models with threshold activation. Binary neurons have
On / Off behavior used in theoretical and disease theory.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
On / Off behavior used in theoretical and disease theory.
On / Off behavior used in theoretical neuroscience and disease theory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I: No breaking change Previously written code will work as before, no one should note anything changing (aside the fix) S: Normal Handle this with default priority T: Enhancement New functionality, model or documentation
Projects
Status: Review
Development

Successfully merging this pull request may close these issues.

2 participants