biophysics_fittingutils_get_apical_sec_and_i_at_distance

_get_apical_sec_and_i_at_distance

biophysics_fitting.utils._get_apical_sec_and_i_at_distance(cell, dist)

Get the apical section and segment at a certain distance from the soma.

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

  • dist (float) – The distance from the soma (\(\mu m\)).

Returns:

The section, the distance between the target and the calculated distance, and the segment index.

Return type:

tuple