neat.CompartmentTree.get_conc_eq¶
- CompartmentTree.get_conc_eq(ion, indexing='locs')[source]¶
Get the equilibrium concentrations of ‘ion’ at each node.
- Parameters:
ion (str) – The ion for which to get the concentrations
indexing ('locs' or 'tree') – The ordering of the returned array. If ‘locs’, returns the array in the order of the list of locations to which the tree is fitted. If ‘tree’, returns the array in the order in which nodes appear during iteration
- Returns:
The equilibrium concentrations
- Return type:
np.array