CalciumFirstOrder#

class braincell.ion.CalciumFirstOrder(size, temp=Quantity(309.15, "K"), alpha=0.13, beta=0.075, Co=None, Ci_initializer=Constant(value=0.00024 mM), name=None, **channels)#

The first-order calcium concentration model.

\[Ca' = -\alpha I_{Ca} + -\beta Ca\]
derivative(Ci, V, total_current=None)[source]#

Return dCi/dt for the concrete dynamic ion model.

uses_total_current = True#

When true, the template precomputes the aggregate ion current and passes it to derivative(..., total_current=...). Leave false for models that do not need current-driven concentration dynamics.