Selection statistics#
Statistics of a selection#
What a review viewer shows for a dragged selection of traces: per channel minimum, maximum, peak-to-peak, mean, standard deviation and RMS (missing samples ignored), and the amplitude and time differences between the selection’s two ends.
- brainmaze_eeg.selection_stats.selection_delta(x, fs: float) Dict[str, ndarray]#
Between the selection’s first and last sample:
dA(last - first),dtseconds andinv_dt(1/dt, Hz) – the viewer’s ΔA, Δt and 1/Δt.
- brainmaze_eeg.selection_stats.selection_stats(x) Dict[str, ndarray]#
Per-series statistics over the last axis, NaN ignored.
Keys:
min,max,p2p,mean,sd(sample SD,ddof=1),rms,n(finite samples). A series with no finite sample is NaN throughout (n0).