neat.EquilibriumTree.calc_e_eq¶
- EquilibriumTree.calc_e_eq(loc_arg, ions=None, method='interp', L_eps=50.0, pprint=False, **kwargs)[source]¶
Calculates equilibrium potentials and concentrations in the tree.
Uses either linear interpolations between the stored equilibria at the midpoints of the nodes or computes the equilibria through a NEURON simulation without inputs.
- Parameters:
loc_arg (list of locations or string) – if list of locations, specifies the locations for which the equilibrium state evaluated, if
string, specifies the name under which a set of locations is storedions (iterable of `str) – the names of the ions for which the concentration needs to be measured
method (Literal: 'interp' or 'sim') – whether to use interpolation or simulation. Defaults to simulation if distance is larger than L_eps
L_eps (float) – maximum distance (um) above which the method defaults to interpolation
pprint (bool) – Whether or not to print additional information