neat.MorphTree.createCompartmentTree

MorphTree.createCompartmentTree(*args, **kwargs)[source]

Creates a new compartment tree where the provided set of locations correspond to the nodes.

Parameters

locarg (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 new tree.

Return type

neat.MorphTree