bemobil_mne.preproc.compute_asr#
- bemobil_mne.preproc.compute_asr(raw, cutoff=20, estimator='scm')[source]#
Apply ASR to the EEG channels of raw.
- Parameters:
- raw
mne.io.Raw Continuous EEG recording. Non-EEG channels are left untouched.
- cutoff
float ASR cutoff parameter (standard deviations above the clean baseline before a component is reconstructed). Lower = more aggressive. Typical range 5–20; 20 is conservative.
- estimator
str Covariance estimator passed to
meegkit.asr.ASR."scm"is the meegkit default (sample covariance matrix)."lwf"(Ledoit-Wolf) is more robust when channel count is high relative to the calibration window length.
- raw
- Returns:
- raw_asr
mne.io.Raw Copy of raw with ASR applied to EEG channels.
- raw_asr