biophysics_fittingconnected_to_dend_beyond

connected_to_dend_beyond

biophysics_fitting.connected_to_dend_beyond(cell, sec, beyond_dist, n_children_required=2)

Check if a given section is connected to dendrites that reach beyon beyond_dist.

Given a Cell object and section number, this method returns True if at least n_children_required children of the branchpoint reach beyond dist.

Parameters:
  • cell (Cell) – The Cell object

  • sec (int) – Index of Cell section

  • beyond_dist (float) – Distance threshold

  • n_children_required (int, optional) – Least amount of children required. Defaults to 2.

Returns:

Whether or not two of the section’s children reach beyond beyond_dist

Return type:

bool