K_Kv_test#
- class braincell.channel.K_Kv_test(size, g_max=Quantity(0., 'S / cm^2'), V_sh=Quantity(0., 'mV'), temp=Quantity(298.15, 'K'), Ra=Quantity(0.02, '10.0^6 * m^-2 kg^-1 s^2 A'), Rb=Quantity(0.006, '10.0^6 * m^-2 kg^-1 s^2 A'), q=Quantity(9., 'mV'), v12=Quantity(25., 'mV'), name=None)#
- current(V, K)[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.