Hi,
I am doing source analysis with MEG/EEG data and came across some weird behavior where I couldn’t find the problem yet:
When extracting the time courses from a label (doesn’t matter which one), the time courses of 4 out of 19 participants show some high frequency noise, despite a .05-20 Hz bandpass filter. The attached screenshot shows one affected (left) and one normal participant.
I use the same script for each participant and the raw and epochs.info show the desired 20Hz lowpass filter. When I plot the evokeds, it still looks clean, but the time course extracted from the stc is noisy.
I tried combining files (raw, epochs, fwd, cov…) from a noisy and a normal subject to narrow down the origin and it seems to be the epochs.
However, with epochs.plot() they look similar, so the noise is not obvious here. And the infos look similar regarding the settings.
Any idea, where this is coming from or how I could solve this?
I can obviously filter the extracted waveform, but I would like to understand what’s causing this.
I’m using MNE 1.8 on Ubuntu 24.04
Best,
Laura
P.S: I am happy to share data or code, but I wasn’t sure which part of the code would be helpful, as the same code produces different results depending on subject and the full code is quite long.
Here are the two exampe epochs.info:
epochsNoise.info
Out[164]:
< Info | 21 non-empty values
acq_pars: ACQch001 111001 ACQch002 111002 ACQch003 111003 ACQch004 111004 …
bads:
ch_names: MEG 001, MEG 002, MEG 003, MEG 004, MEG 005, MEG 006, MEG 010, …
chs: 118 Gradiometers, 7 Stimulus, 64 EEG, 1 ECG
custom_ref_applied: False
description: These data were measured with Neuromag-122
dev_head_t: MEG device → head transform
dig: 150 items (3 Cardinal, 4 HPI, 64 EEG, 79 Extra)
events: 1 item (list)
experimenter: eeg
file_id: 4 items (dict)
highpass: 0.1 Hz
hpi_meas: 1 item (list)
hpi_results: 1 item (list)
lowpass: 20.0 Hz
meas_date: 2022-02-21 08:02:24 UTC
meas_id: 4 items (dict)
nchan: 190
proj_id: 1 item (ndarray)
proj_name: aep
projs: planar-Raw-0.000-1370.655-PCA-01: on, planar- …
sfreq: 1000.0 Hz
subject_info: 3 items (dict)epochsSmooth.info
Out[165]:
<Info | 21 non-empty values
acq_pars: ACQch001 111001 ACQch002 111002 ACQch003 111003 ACQch004 111004 …
bads:
ch_names: MEG 001, MEG 002, MEG 003, MEG 004, MEG 005, MEG 006, MEG 010, …
chs: 118 Gradiometers, 7 Stimulus, 64 EEG, 1 ECG
custom_ref_applied: False
description: These data were measured with Neuromag-122
dev_head_t: MEG device → head transform
dig: 150 items (3 Cardinal, 4 HPI, 64 EEG, 79 Extra)
events: 1 item (list)
experimenter: eeg
file_id: 4 items (dict)
highpass: 0.1 Hz
hpi_meas: 1 item (list)
hpi_results: 1 item (list)
lowpass: 20.0 Hz
meas_date: 2023-08-02 04:22:52 UTC
meas_id: 4 items (dict)
nchan: 190
proj_id: 1 item (ndarray)
proj_name: aep
projs: planar-Raw-0.000-1363.050-PCA-01: on, planar- …
sfreq: 1000.0 Hz
subject_info: 3 items (dict)