IonInfo#
- class braincell.IonInfo(Ci: Array | ndarray | bool | number | bool | int | float | complex | Quantity, Co: Array | ndarray | bool | number | bool | int | float | complex | Quantity, E: Array | ndarray | bool | number | bool | int | float | complex | Quantity, valence: Array | ndarray | bool | number | bool | int | float | complex | Quantity)[source]#
A named tuple representing the information of an ion in a neuron model.
This class encapsulates the intracellular/extracellular concentrations of an ion, its reversal potential, and its valence. It is used to store and pass ion-related information in various neuronal simulation contexts.
- Ci#
The intracellular ion concentration. This represents the concentration of the ion inside the cell, typically in units of millimoles per liter (mM).
- Type:
brainstate.typing.ArrayLike
- Co#
The extracellular ion concentration. This represents the concentration of the ion outside the cell, typically in units of millimoles per liter (mM).
- Type:
brainstate.typing.ArrayLike
- E#
The reversal potential. This represents the electrical potential at which there is no net flow of the ion across the membrane, typically in millivolts (mV).
- Type:
brainstate.typing.ArrayLike
- valence#
The ionic valence. This represents the charge number used in Nernst/GHK relations.
- Type:
brainstate.typing.ArrayLike
Note
Ci,Co,E, andvalenceare expected to be array-like objects or scalars, allowing representation of these properties across multiple neurons or compartments simultaneously.- Ci: Array | ndarray | bool | number | bool | int | float | complex | Quantity#
Alias for field number 0
- Co: Array | ndarray | bool | number | bool | int | float | complex | Quantity#
Alias for field number 1