neat.MorphTree.unique_locs

MorphTree.unique_locs(loc_arg, name='dont save')[source]

Gets the unique locations in the provided locs

Parameters:
  • loc_arg (list of neat.MorphLoc or string) – the locations

  • name (string (optional)) – The name under which the list of bifurcation locs will be stored. Defaults to ‘dont save’ which means they are not stored.

Returns:

the bifurcation locs

Return type:

list of neat.MorphLoc