IL#
- class braincell.channel.IL(size, g_max=Quantity(0.1, 'mS / cm^2'), E=Quantity(-70., 'mV'), name=None)#
The leakage channel current.
A generic, fixed-conductance leak:
g_maxandEare constants set at construction and never change with voltage, time, or concentration. Use it for the passive resting leak of a compartment, or as a placeholder before an ion-specific channel is modeled.- Parameters:
size (
int|Sequence[int]) – Shape of the simulation target this channel is attached to.g_max (
Array|ndarray|bool|number|bool|int|float|complex|Quantity|Callable) – Leakage conductance density. Default is0.1 mS/cm2.E (
Array|ndarray|bool|number|bool|int|float|complex|Quantity|Callable) – Leak reversal potential. Default is-70.0 mV.name (
str|None) – Instance name. Default isNone, in which case a name is auto-generated.
See also
LeakageChannelAbstract base this class implements.
Notes
The current follows Ohm’s law with a constant driving force:
\[I = g_{max} \cdot (E - V)\]Registered with
register_channel()under the name"IL", with"leaky"as an alias.- current(V)[source]#
Calculate the current through the leakage channel.
- Parameters:
V (array-like) – The membrane potential.
Raises
-------
NotImplementedError – This method should be implemented by subclasses.
- root_type#
alias of
HHTypedNeuron