biophysics_fittingutilsget_main_bifurcation_section

get_main_bifurcation_section

biophysics_fitting.utils.get_main_bifurcation_section(cell)

Get the main bifurcation section of a cell

Assumes the cell has a main bifurcation to begin with, such as a L5PT. A main bifuraction section is defined as a section:

- with at least two children
- whose parent is the soma.
- (optional) whose children are beyond a certain distance (default: 1000 um). See :py:meth:`~get\_inner\_sec\_dist\_dict` for more information.
Parameters:

cell (Cell) – The cell object.

Returns:

The main bifurcation section.

Return type:

Section