braincell.quad.hidden_state#
- braincell.quad.hidden_state(value, **kwargs)#
Allocate the non-integrable hidden state class the host wants.
Used for hidden variables that are written algebraically rather than integrated — for example an ion concentration held fixed, or a species value recomputed from a conservation law.
- Parameters:
value (ArrayLike) – Initial value, normally a
brainunit.Quantity.**kwargs – Forwarded to the state constructor.
- Returns:
A
brainstate.HiddenGroupStateinsidestate_grouping()(i.e. within abraincell.Cell), otherwise a plainbrainstate.HiddenState.- Return type:
HiddenState
See also
state_groupingScope that selects the class.
stateThe integrable counterpart.