neat.CompartmentTree.setEEq¶
-
CompartmentTree.
setEEq
(e_eq, indexing='locs')[source]¶ Set the equilibrium potential at all nodes on the compartment tree
- Parameters
e_eq (float or np.array of floats) – The equilibrium potential(s). If a float, the same potential is set at every node. If a numpy array, must have the same length as self
indexing ('locs' or 'tree') – The ordering of the equilibrium potentials. If ‘locs’, assumes the equilibrium potentials are in the order of the list of locations to which the tree is fitted. If ‘tree’, assumes they are in the order of which nodes appear during iteration