biophysics_fittingephysvoltage_base

voltage_base

biophysics_fitting.ephys.voltage_base(t, v, stim_delay)

Calculates the mean voltage between 0.5 * stim_delay and 0.75 * stim_delay.

Parameters:
  • t (numpy.ndarray) – Array of time values.

  • v (numpy.ndarray) – Array of voltage values.

  • stim_delay (float) – Delay time of the stimulus.

Returns:

Mean voltage between 0.5*stim_delay and 0.75*stim_delay.

Return type:

float