spiketools.measures.spikes.compute_cv¶
- spiketools.measures.spikes.compute_cv(isis)[source]¶
Compute coefficient of variation.
- Parameters:
- isis1d array
Interspike intervals.
- Returns:
- cvfloat
Coefficient of variation.
Examples
Compute the coefficient of variation from interval-spike intervals:
>>> isis = [0.3, 0.6, 0.6, 0.2, 0.7] >>> compute_cv(isis) 0.4039733214513607