biophysics_fitting
❭ ephys
❭ STEP_coef_var
STEP_coef_var¶
-
biophysics_fitting.ephys.STEP_coef_var(t, v, stim_end, thresh=
None
)¶ Computes the coefficient of variation (CV) of the Inter-Spike Interval (ISI) of a voltage trace for a step stimulus.
The CV is calculated as:
\[\frac{\sigma\_{ISI}}{\mu\_{ISI}}\]Note
We are considering a population sample, not a distribution variance. We must Bessel-correct the standard deviation. In this case, the standard deviation is calculated with 1 degree of freedom i.e. a denominator of \(N-1\) instead of \(N\).