neat.CompartmentFitter.setCTree¶
-
CompartmentFitter.
setCTree
(loc_arg, extend_w_bifurc=True)[source]¶ Store an initial neat.CompartmentTree, providing a tree structure scaffold for the fit for a given set of locations. The locations are also stored on
self.tree
under the name ‘fit locs’- Parameters
loc_arg (list of locations or string (see documentation of) –
MorphTree._convertLocArgToLocs()
for details) The compartment locationsextend_w_bifurc (bool (optional, default True)) – To extend the compartment locations with all intermediate bifurcations (see documentation of
MorphTree.extendWithBifurcationLocs()
).