braincell.ion module#
Calcium Ions & Dynamics#
Base class for modeling the calcium ion species. |
|
Fixed calcium dynamics. |
|
Dynamic calcium concentration with a Nernst-computed reversal. |
|
First-order calcium concentration model with rectified current drive. |
|
Fixed |
|
Purkinje-cell calcium pool: pump, buffers, Calbindin, PV, CaM. |
|
Granule-cell calcium pool: pump, generic buffers, Calretinin. |
|
HVA-current-driven calcium pool for the deep cerebellar nuclei. |
|
LVA-current-driven calcium pool for the deep cerebellar nuclei. |
|
Golgi-cell calcium pool: pump, generic buffers, PV, and CaM. |
|
Import of the calmodulin-only |
|
BrainCell-factored calcium pool: pump, non-CaM buffers, no CaM. |
|
Calcium pool for the basket cell, no calmodulin buffering. |
|
Calcium pool for the stellate cell, no calmodulin buffering. |
|
Minimal reversible calcium-binding toy for |
|
Minimal reversible calcium-binding toy with a constant |
|
Minimal reversible calcium-binding toy with current-driven |
|
Minimal factor-crossing toy with cytosolic and pump-area compartments. |
|
Minimal geometry-factor toy with runtime-derived cytosolic strip factors. |
Potassium Ions#
Base class for modeling the potassium ion species. |
|
Fixed potassium dynamics. |
|
Fixed |
Sodium Ions#
Base class for modeling the sodium ion species. |
|
Fixed Sodium dynamics. |
|
Fixed |
Non-Specific Ions#
Base class for NEURON-style nonspecific current ownership. |
|
Fixed nonspecific current-owner placeholder. |
Helpers#
- braincell.ion.build_placeholder_ions(size=(1,))[source]#
Return one fixed-ion container per ion family, keyed by family symbol.
Scaffolding for the compute layer:
braincell._compute.ionscalls this to obtain a default container for a family a model refers to but never declares. The containers carry only the class-level defaults, so they stand in for a real ion rather than modelling one.Not called during
HHTypedNeuronconstruction –braincell/_multi_compartment/cell_test.pyasserts the opposite, since building four ion containers per cell at__init__would be wasted work for the common case where every family is declared.