single_cell_parsercell_modify_functionssoma_current_injectionsoma_current_injection

soma_current_injection

single_cell_parser.cell_modify_functions.soma_current_injection.soma_current_injection(cell, amplitude=None, delay=None, duration=None)

Inject a step current at the soma.

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

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

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

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

Returns:

The cell with the current injection set up.

Return type:

Cell