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 get_inner_sec_dist_dict() for more information.

Parameters:
cell : Cell

The cell object.

Returns:

The main bifurcation section.

Return type:

Section