synchronized data, different frequencies?

Hello,

I am preparing an MNE dataset from scratch. My data contains EEG
channels sampled at 512 Hz, and EOG channels sampled at 1 Hz. I'm not
sure how to synchronize this data within one Raw object. Is there a way
to do this? Or should I store the EEG in one Raw object, and the EOG
data in another Raw object?

Thanks,
Arlene Ducao

Hi,

yes create 2 Raw object than resample the EOG one to 512Hz
with raw.resample : https://martinos.org/mne/stable/generated/mne.io.Raw.
html#mne.io.Raw.resample
and then you can use raw.add_channels https://martinos.org/mne/dev/
generated/mne.io.Raw.html#mne.io.Raw.add_channels

let us know if it does not work

HTH
Alex

Hi Alex and MNE list,

It turns out there are some small irregularities in the frequency of our
EOG data, so when we try to add the EOG channel to the EEG, we're
getting the error
"All dimensions in channels must match."
Is there a workaround for this?

Thanks,
Arlene Ducao

you will have to resample / crop so it matches.

HTH
Alex