single_cell_parsersec_distance_to_soma

sec_distance_to_soma

single_cell_parser.sec_distance_to_soma(currentSec)

Compute the path length from sec(x=0) to currentSec.

Parameters:

currentSec (Section) – The section for which to compute the distance.