Ca_ZH2019_IO#
- class braincell.channel.Ca_ZH2019_IO(size, g_max=Quantity(0.4, 'mS / cm^2'), E=Quantity(120., 'mV'), mMidV=Quantity(-61., 'mV'), freeze_m_inf=True, name=None)#
Template-based import of
Ca_ZH2019_IO.mod.- Parameters:
size (
int|Sequence[int] |integer|Sequence[integer]) – Channel state shape.g_max (
Array|ndarray|bool|number|bool|int|float|complex|Quantity|Callable) – Maximum conductance density.E (
Array|ndarray|bool|number|bool|int|float|complex|Quantity|Callable) – Calcium current reversal potential.mMidV (
Array|ndarray|bool|number|bool|int|float|complex|Quantity|Callable) – Midpoint parameter used by the instantaneous activation curve.freeze_m_inf (
bool) – Whether to stop autodiff through the instantaneous activation factor while preserving the forward current value.
Notes
The source IO mechanism uses instantaneous activation and one dynamic inactivation gate. Freezing
m_infis useful for NEURON-style no-concentration channel comparisons where the forward current should match while the local voltage Jacobian only includes the driving-force term.- current(V)[source]#
Calculate the current for this ion channel.
This method should be implemented by subclasses to compute the current based on the channel’s specific properties and state.
- Parameters:
*args – Variable length argument list.
**kwargs – Arbitrary keyword arguments.
- Raises:
NotImplementedError – This method must be implemented by subclasses.
- root_type#
alias of
HHTypedNeuron