single_cell_parseranalyzemembrane_potential_analysisSpikeInitvm_steady_state

SpikeInit.vm_steady_state

static single_cell_parser.analyze.membrane_potential_analysis.SpikeInit.vm_steady_state(cell, tVec, tStim, dtStim)

Computes the “steady-state” voltage

The steady-state voltage is the median voltage during a stimulation time window. This can be used to define a voltage spike threshold at current intensities just below AP initiation.

Parameters:
  • cell (Cell) – Cell object.

  • tVec (list) – Time vector.

  • tStim (float) – Start time of stimulation.

  • dtStim (float) – Duration of stimulation.

Returns:

Steady-state voltage during \([tStim, tStim+dtStim]\).

Return type:

float