Standard models¶
Standard models are neuron models that are available in at least two of the simulation engines supported by PyNN.
PyNN performs automatic translation of parameter names, types and units.
Only a handful of models are currently available, but the list will be expanded in future releases.
To obtain a list of all the standard models available in a given simulator, use the list_standard_models()
function, e.g.:
>>> from pyNN import neuron
>>> neuron.list_standard_models()
['IF_cond_alpha', 'IF_curr_exp', 'IF_cond_exp', 'EIF_cond_exp_isfa_ista',
'SpikeSourceArray', 'HH_cond_exp', 'IF_cond_exp_gsfa_grr',
'IF_facets_hardware1', 'SpikeSourcePoisson', 'EIF_cond_alpha_isfa_ista',
'IF_curr_alpha']
Neurons¶
IF_curr_alpha¶
Leaky integrate and fire model with fixed threshold and alpha-function-shaped post-synaptic current.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
-65.0 |
mV |
Resting membrane potential |
|
1.0 |
nF |
Capacity of the membrane |
|
20.0 |
ms |
Membrane time constant |
|
0.1 |
ms |
Duration of refractory period |
|
0.5 |
ms |
Rise time of the excitatory synaptic alpha function |
|
0.5 |
ms |
Rise time of the inhibitory synaptic alpha function |
|
0.0 |
nA |
Offset current |
|
-65.0 |
mV |
Reset potential after a spike |
|
-50.0 |
mV |
Spike threshold |
IF_curr_exp¶
Leaky integrate and fire model with fixed threshold and decaying-exponential post-synaptic current. (Separate synaptic currents for excitatory and inhibitory synapses.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
-65.0 |
mV |
Resting membrane potential |
|
1.0 |
nF |
Capacity of the membrane |
|
20.0 |
ms |
Membrane time constant |
|
0.1 |
ms |
Duration of refractory period |
|
5.0 |
ms |
Decay time of excitatory synaptic current |
|
5.0 |
ms |
Decay time of inhibitory synaptic current |
|
0.0 |
nA |
Offset current |
|
-65.0 |
mV |
Reset potential after a spike |
|
-50.0 |
mV |
Spike threshold |
IF_cond_alpha¶
Leaky integrate and fire model with fixed threshold and alpha-function-shaped post-synaptic conductance.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
-65.0 |
mV |
Resting membrane potential |
|
1.0 |
nF |
Capacity of the membrane |
|
20.0 |
ms |
Membrane time constant |
|
0.1 |
ms |
Duration of refractory period |
|
0.3 |
ms |
Rise time of the excitatory synaptic alpha function |
|
0.5 |
ms |
Rise time of the inhibitory synaptic alpha function |
|
0.0 |
mV |
Reversal potential for excitatory input |
|
-70.0 |
mV |
Reversal potential for inhibitory input |
|
-50.0 |
mV |
Spike threshold |
|
-65.0 |
mV |
Reset potential after a spike |
|
0.0 |
nA |
Offset current |
IF_cond_exp¶
Leaky integrate and fire model with fixed threshold and decaying-exponential post-synaptic conductance.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
-65.0 |
mV |
Resting membrane potential |
|
1.0 |
nF |
Capacity of the membrane |
|
20.0 |
ms |
Membrane time constant |
|
0.1 |
ms |
Duration of refractory period |
|
5.0 |
ms |
Decay time of the excitatory synaptic conductance |
|
5.0 |
ms |
Decay time of the inhibitory synaptic conductance |
|
0.0 |
mV |
Reversal potential for excitatory input |
|
-70.0 |
mV |
Reversal potential for inhibitory input |
|
-50.0 |
mV |
Spike threshold |
|
-65.0 |
mV |
Reset potential after a spike |
|
0.0 |
nA |
Offset current |
HH_cond_exp¶
Single-compartment Hodgkin-Huxley-type neuron with transient sodium and delayed-rectifier potassium currents using the ion channel models from Traub.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
20.0 |
uS |
|
|
6.0 |
uS |
|
|
0.01 |
uS |
|
|
0.2 |
nF |
|
|
-63.0 |
mV |
|
|
50.0 |
mV |
|
|
-90.0 |
mV |
|
|
-65.0 |
mV |
|
|
0.0 |
mV |
|
|
-80.0 |
mV |
|
|
0.2 |
ms |
|
|
2.0 |
ms |
|
|
0.0 |
nA |
EIF_cond_alpha_isfa_ista¶
- Adaptive exponential integrate and fire neuron according to
Brette R and Gerstner W (2005) Adaptive Exponential Integrate-and-Fire Model as an Effective Description of Neuronal Activity. J Neurophysiol 94:3637-3642
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
0.281 |
nF |
Capacity of the membrane |
|
0.1 |
ms |
Duration of refractory period |
|
-40.0 |
mV |
Spike detection threshold |
|
-70.6 |
mV |
Reset value for membrane potential after a spike |
|
-70.6 |
mV |
Resting membrane potential (Leak reversal potential) |
|
9.3667 |
ms |
Membrane time constant |
|
0.0 |
nA |
Offset current |
|
4.0 |
nS |
Subthreshold adaptation conductance |
|
0.0805 |
nA |
Spike-triggered adaptation |
|
2.0 |
mV |
Slope factor |
|
144.0 |
ms |
Adaptation time constant |
|
-50.4 |
mV |
Spike initiation threshold |
|
0.0 |
mV |
Excitatory reversal potential |
|
5.0 |
ms |
Rise time of excitatory synaptic conductance (alpha function) |
|
-80.0 |
mV |
Inhibitory reversal potential |
|
5.0 |
ms |
Rise time of the inhibitory synaptic conductance (alpha function) |
Composed models¶
The models listed above all have two fixed post-synaptic mechanism types, “excitatory” and “inhibitory”. If you need more than two mechanisms, e.g. AMPA, NMDA and GABA_A, you can build such models by combining a “neuron-only” component with one or more “post-synaptic mechanism” components, for example:
celltype = sim.PointNeuron(
sim.AdExp(tau_m=10.0, v_rest=-60.0),
AMPA=sim.ExpPSR(tau_syn=1.0, e_syn=0.0),
NMDA=sim.AlphaPSR(tau_syn=20.0, e_syn=0.0),
GABAA=sim.ExpPSR(tau_syn=1.5, e_syn=-70.0),
GABAB=sim.AlphaPSR(tau_syn=15.0, e_syn=-90.0))
Not all simulators can handle all combinations of components, and in general it is not possible to mix conductance-based and current-based synapses within a single cell type. PyNN will emit an error message if this is the case.
Spike sources¶
SpikeSourcePoisson¶
Spike source, generating spikes according to a Poisson process.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
0.0 |
s^`-1` |
Mean spike frequency |
|
0.0 |
ms |
Start time |
|
10^9 |
ms |
Duration of spike sequence |
SpikeSourceArray¶
Spike source generating spikes at the times given in the spike_times
array.
Availability: NEST, NEURON, Brian
Name |
Default value |
Units |
Description |
---|---|---|---|
|
|
ms |
list or numpy array containing spike times |