jaxley.pumps.CaFaradayConcentrationChange#
- class CaFaradayConcentrationChange(name=None)[source]#
Bases:
PumpUpdate the intracellular calcium ion concentration depending on calcium current.
This channel implements Faraday’s first law of electrolysis to update the intracellular calcium concentration based on calcium current. Faraday’s law relates how a current (e.g., through a channel) impacts the number of ions. Mathematically:
\[n = \frac{I \cdot t}{F \cdot z}\]Taking the derivative with respect to time:
\[\frac{dn}{dt} = \frac{I}{F \cdot z}\]where:
( n ) is the amount of substance (number of moles),
( I ) is the current,
( t ) is time,
( F ) is the Faraday constant,
( z ) is the valence of the ion.
To obtain concentration ( c ) from the amount of substance ( n ), we divide by the volume:
\[\frac{dc}{dt} = \frac{1}{V} \cdot \frac{dn}{dt} = \frac{I}{F \cdot z \cdot V}\]In Jaxley, the current is given in mS/cm2, so we first have to multiply the current by the surface area of a compartment.
The update is fully passive (i.e., there is no active pump). As such, it is even possible that ion concentration can become negative (because we do not enforce that calcium currents stop when no more ions are available).
This channel does not have any parameters.
The following states are registered in
channel_states:Name
Default
Description
Unit
i_Ca1e-8
The calcium current.
mA/cm²
CaCon_i5e-5
The intracellular calcium concentration.
mM
- Parameters:
name (str | None)
- update_states(states, params, voltage, delta_t)[source]#
Update states if necessary (but this mechanism has no states to update).
- compute_current(states, params, voltage, delta_t)[source]#
Return change of calcium concentration as the calcium current.