neat.MorphTree.create_compartment_tree¶
- MorphTree.create_compartment_tree(loc_arg)[source]¶
Creates a new compartment tree where the provided set of locations correspond to the nodes.
- Parameters:
loc_arg (list of locations or str) – if list of locations, specifies the locations, if str, specifies the name under which the set of location is stored that should be used to create the new tree
- Returns:
The compartment tree.
- Return type:
neat.CompartmentTree