single_cell_parsersynapse_mapperSynapseMapper_compute_path_length

SynapseMapper._compute_path_length

single_cell_parser.synapse_mapper.SynapseMapper._compute_path_length(sec, x)

Compute the path length to soma from location x on section sec

Parameters:
  • sec (Section) – The section to compute the path length on.

  • x (float) – The relative coordinate along the section.

Returns:

The path length to the soma.

Return type:

float