neat.MorphTree.distributeLocsOnNodes

MorphTree.distributeLocsOnNodes(d2s, node_arg=None, name='dont save')[source]

Distributes locs on a given set of nodes at specified distances from the soma. If the specified distances are on the specified nodes, the list of locations will be empty. The locations are stored if the name is set to be something other than ‘dont save’. On each node, locations are ordered from low to high x-values.

Parameters
  • d2s (numpy.array of floats) – the distances from the soma at which to put the locations (micron)

  • node_arg – see documentation of MorphTree._convertNodeArgToNodes

  • name (string) – the name under which the locations are stored. Defaults to ‘dont save’ which means the locations are not stored

Returns

the list of locations

Return type

list of neat.MorphLoc