K_Leak#
- class braincell.channel.K_Leak(size, g_max=Quantity(0.005, 'mS / cm^2'), name=None)#
Potassium leak current.
A voltage-independent, always-open potassium conductance:
\[I = g_{max} \, (E_K - V)\]Unlike
IL, the reversal potential is not a parameter of this class – it is taken from the potassium ion object this channel is attached to, soE_Kfollows whatever the ion computes (fixed, Nernst, or concentration-driven). There are no gating variables and no state to integrate:init_state(),reset_state()andcompute_derivative()are all no-ops.- Parameters:
See also
braincell.channel.ILIon-independent leak with its own fixed reversal potential parameter.
braincell.ion.PotassiumIon object supplying
E_K.
Notes
This class has no primary literature source, and that is a determination rather than an omission: the current law is textbook Ohm’s law and the
0.005 mS/cm2default is a conventional placeholder that any caller overrides. No source model was identified for it, so the class deliberately ships without aReferencessection.root_typeisPotassium, so the channel must be attached to a potassium ion; the ion, not the channel, owns the driving force.