braincell.ion module#

Calcium Ions & Dynamics#

Calcium

Base class for modeling the calcium ion species.

CalciumFixed

Fixed calcium dynamics.

CalciumDetailed

Dynamic calcium concentration with a Nernst-computed reversal.

CalciumFirstOrder

First-order calcium concentration model with rectified current drive.

CalciumInitNernst

Fixed Ci/Co calcium model with E initialized from Nernst.

CdpCAM_MA2024_PC

Purkinje-cell calcium pool: pump, buffers, Calbindin, PV, CaM.

CdpCR_MA2020_GrC

Granule-cell calcium pool: pump, generic buffers, Calretinin.

CdpHVA_SU2015_DCN

HVA-current-driven calcium pool for the deep cerebellar nuclei.

CdpLVA_SU2015_DCN

LVA-current-driven calcium pool for the deep cerebellar nuclei.

CdpStC_MA2020_GoC

Golgi-cell calcium pool: pump, generic buffers, PV, and CaM.

CdpStC_CAMOnly_MA2020_GoC

Import of the calmodulin-only CdpStC_CAMOnly_MA20_GoC.mod.

CdpStC_NoCAM_MA2020_GoC

BrainCell-factored calcium pool: pump, non-CaM buffers, no CaM.

CdpStC_MA2025_BC

Calcium pool for the basket cell, no calmodulin buffering.

CdpStC_RI2021_SC

Calcium pool for the stellate cell, no calmodulin buffering.

ToyCaBindingKinetic_SU2015_DCN

Minimal reversible calcium-binding toy for KineticIon validation.

ToyCaBindingSourceKinetic_SU2015_DCN

Minimal reversible calcium-binding toy with a constant Ci source.

ToyCaBindingIcaSourceKinetic_SU2015_DCN

Minimal reversible calcium-binding toy with current-driven Ci source.

ToyCaPumpFactorKinetic_SU2015_DCN

Minimal factor-crossing toy with cytosolic and pump-area compartments.

ToyDiamFactorKinetic_SU2015_DCN

Minimal geometry-factor toy with runtime-derived cytosolic strip factors.

Potassium Ions#

Potassium

Base class for modeling the potassium ion species.

PotassiumFixed

Fixed potassium dynamics.

PotassiumInitNernst

Fixed Ci/Co potassium model with Nernst-initialized E.

Sodium Ions#

Sodium

Base class for modeling the sodium ion species.

SodiumFixed

Fixed Sodium dynamics.

SodiumInitNernst

Fixed Ci/Co sodium model with E initialized from Nernst.

Helpers#

braincell.ion.build_placeholder_ions(size=(1,))[source]#

Return default Na/K/Ca fixed-ion containers for scaffolding.

Used by test doubles and by HHTypedNeuron construction before the real runtime ion containers are instantiated.

Parameters:

size (tuple of int, optional) – Varshape of the ion containers. Defaults to (1,).

Return type:

dict[str, object]