Neuron
core.Neuron.Neuron(
self,
parameters='',
equations='',
spike=None,
axon_spike=None,
reset=None,
axon_reset=None,
refractory=None,
functions=None,
name='',
description='',
extra_values={},
)Base class to define a neuron.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| parameters | str | parameters of the neuron and their initial value. | '' |
| equations | str | equations defining the temporal evolution of variables. | '' |
| functions | str | additional functions used in the variables’ equations. | None |
| spike | str | condition to emit a spike (only for spiking neurons). | None |
| axon_spike | str | condition to emit an axonal spike (only for spiking neurons and optional). The axonal spike can appear additional to the spike and is independent from refractoriness of a neuron. | None |
| reset | str | changes to the variables after a spike (only for spiking neurons). | None |
| axon_reset | str | changes to the variables after an axonal spike (only for spiking neurons). | None |
| refractory | str | refractory period of a neuron after a spike (only for spiking neurons). | None |
| name | str | name of the neuron type (used for reporting only). | '' |
| description | str | short description of the neuron type (used for reporting). | '' |