You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Public spectrum summary and line-noise magnitude helpers #536
A pipeline wants a per-recording quality summary: the power spectrum on 1 Hz bins from 1 to 70 Hz, the excess power at
50 and 60 Hz over the neighbouring bins in dB (the quantity EEGLAB users compute from spectopo), and a robust
(MAD-based) amplitude per channel.
The Welch estimator it needs exists (eegprep.functions.sigprocfunc.spectopo.compute_spectra) but is not exported,
imports matplotlib at import time, and is documented as a plotting helper.
Expected: documented public functions with stable import paths, no plotting dependency, for example spectrum_db(EEG, ...) -> (spectra_db, freqs), line_noise_excess_db(EEG, freqs=(50, 60), neighbours=...) and channel_robust_amplitude(EEG). Pure functions of the dataset; no mutation.
Activity