biophysics_fittingsetup_stimsetup_apical_epsp_injection

setup_apical_epsp_injection

biophysics_fitting.setup_stim.setup_apical_epsp_injection(cell, dist=None, amplitude=None, delay=None, rise=1.0, decay=5)

Setup an EPSP injection at a given distance from the soma.

This method assumes the cell has a soma and an apical dendrite. It checks so by means of section label: it must contain a section labeled “ApicalDendrite”. See get_inner_section_at_distance() for more information.

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

  • dist (float) – The distance from the soma to the injection site (um).

  • amplitude (float) – The amplitude of the EPSP (nA).

  • delay (float) – The delay of the EPSP (ms).

  • rise (float) – The rise time constant of the EPSP (ms).

  • decay (float) – The decay time constant of the EPSP (ms).

Returns:

None. Adds an EPSP injection pipette to the cell under the name ‘epsp’.