NaFHF_MA2020_GrC#
- class braincell.channel.NaFHF_MA2020_GrC(size, temp=Quantity(305.15, 'K'), g_max=Quantity(13., 'mS / cm^2'), name=None, solver='backward_euler', substeps=1)#
Template-based import of
NaFHF_MA2020_GrC.mod.- current(V, Na)[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.
- init_state(V, Na, batch_size=None)[source]#
Initialize the state of the ion channel.
This method should set up the initial state of all variables for the channel.
- Parameters:
*args – Variable length argument list.
**kwargs – Arbitrary keyword arguments.