biophysics_fittingutilsvmApical

vmApical

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

Fetch the membrane voltage of 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 membrane voltage of the apical dendrite at the specified distance.

Return type:

numpy.ndarray

See also

vmApical_position() to get the exact location on the apical dendrite at a certain distance.