biophysics_fittingutilsconnected_to_structure_beyond

connected_to_structure_beyond

biophysics_fitting.utils.connected_to_structure_beyond(cell, sec, beyond_dist, beyond_struct=['ApicalDendrite'], n_children_required=1)

Checks if a Cell section is connected to a structure at a soma distance larger than beyond_dist.

Parameters:
  • cell (Cell) – The cell object.

  • sec (Section) – The section to check.

  • beyond_dist (float) – The distance from the soma to check.

  • beyond_struct (list) – The labels of the structures to check.

  • n_children_required (int) – The minimum number of children required to have a connection.

This can be helpful to detect the main bifurcation of a L5PT, which is the bifurcation in which both children are connected to the tuft.