biophysics_fitting
❭ get_branching_depth
get_branching_depth¶
-
biophysics_fitting.get_branching_depth(cell, sec, beyond_dist=
1000
)¶ Given a Cell object and a section number, this method returns the branching depth (i.e. branching order) of that section. It counts the amount of sections that have children beyond some distance
beyond_dist
inbetween the soma and the given sectionsec
.If this number is 0, that means that the given section, and all its parent sections up to the soma, have no children (that exceed a distance to soma of
beyond_dist
).