Kca1p1_MA2020#

class braincell.channel.Kca1p1_MA2020(size, g_max=Quantity(10., 'mS / cm^2'), T_base=3.0, T=Quantity(295.15, 'K'), name=None, solver='backward_euler', substeps=1)#

Template-based import of Kca1p1_MA20_GoC.mod.

current(V, K, Ca)[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.

current_owner_type#

alias of Potassium

reset_state(V, K, Ca, batch_size=None)[source]#

Reset the state of the ion channel.

This method should reset all state variables of the channel to their initial values.

Parameters:
  • *args – Variable length argument list.

  • **kwargs – Arbitrary keyword arguments.