Cav3p2_RI2021_SC#

class braincell.channel.Cav3p2_RI2021_SC(size, g_max=Quantity(0.0008, 'mS / cm^2'), V_sh=Quantity(0., 'mV'), temp=Quantity(309.15, 'K'), name=None)#

Template-based import of Cav3p2_RI21_SC.mod.

Notes

This source mod is not especially clean as a reusable temperature- and concentration-general mechanism:

  • the original mod effectively bakes the gate-temperature conversion to 36 C into fixed phi factors derived from 24 C data;

  • the compare path here uses fixed Ca concentrations to match the original mod assumptions;

  • tau_h is written in a special 13.7 + term / phi_h form rather than the usual tau / phi pattern used by most HH-style templates.

The implementation below intentionally preserves those quirks so the BrainCell behavior matches NEURON for one-to-one comparison. Longer term this channel should probably be rewritten into a more general form instead of carrying over the source mod’s baked-in assumptions.

current(V, 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.

root_type#

alias of Calcium