Sodium#
- class braincell.ion.Sodium(size, name=None, **channels)#
Base class for modeling the sodium ion species.
Sodiumcollects the physiological defaults shared by every concrete sodium ion model in BrainCell and provides theIon/IonChannelcontainer interface sodium channels attach to. It carries no dynamics of its own.- Parameters:
size (
int|Sequence[int] |integer|Sequence[integer]) – The size of the simulation target, typically the number of neurons or compartments. Forwarded unchanged toIon.name (
str|None) – Runtime instance name. Defaults toNone, in which case the instance is unnamed. Forwarded unchanged toIon.**channels – Channel instances to attach to this ion, forwarded unchanged to
Ion.
See also
SodiumFixedFixed-parameter sodium ion built on this base.
SodiumInitNernstSodium ion with
Einitialized from the Nernst equation.
Notes
This is an abstract base class and must be subclassed (for example by
SodiumFixedorSodiumInitNernst) to obtain a concrete sodium ion model with defined reversal-potential dynamics.- Variables: