single_cell_parsercell_modify_functionsapical_epsp_injectionapical_epsp_injection

apical_epsp_injection

single_cell_parser.cell_modify_functions.apical_epsp_injection.apical_epsp_injection(cell, dist=None, amplitude=None, delay=None, rise=1.0, decay=5)

Injects an epsp-shaped current at a certain distance from the soma.

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

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

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

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

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

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

Returns:

The cell with the current injection set up.

Return type:

Cell