biophysics_fittingget_inner_sec_dist_list

get_inner_sec_dist_list

biophysics_fitting.get_inner_sec_dist_list(cell, select=['ApicalDendrite', 'Dendrite'], connected_to_dend_beyond_distance=1000, z_offset=706)

Find all sections that are connected to dendrites that reach beyond a certain distance. Useful for filtering out outer terminating dendrites.

Parameters:
  • cell (Cell) – The Cell object

  • select (list, optional) – Selection of sections to consider, based on their label. Defaults to [‘ApicalDendrite’, ‘Dendrite’].

  • connected_to_dend_beyond_distance (int, optional) – Distance threshold (in um). Defaults to 1000 um.

  • z_offset (int|float, optional) – Offset for z-value. Defaults to 706 um (the average pia distance of a rat barrel cortex).

Returns:

Dictionary mapping the z-coordinate (float) of each section point to the section (PySection) object, including only sections that pass the filter.

Return type:

dict