biophysics_fittingutilsvmApical_position

vmApical_position

biophysics_fitting.utils.vmApical_position(cell, dist=None)

Fetch the exact location on the apical dendrite at a certain distance from the soma.

Assumes that the Cell object has an apical dendrite:

  • It contains at least one section with the label “ApicalDendrite”

  • Such section exists at dist distance from the soma

  • The section has at least one child

See get_inner_section_at_distance() for more information about which arguments can be used to define an apical section.

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

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

Returns:

The point on the apical dendrite at the specified distance.

Return type:

numpy.ndarray