Hi there,
I am using MNE 1.9.0 on macOS 14.
I have an Excel file with the raw EEG data and ECG data, with independent timestamps and sampling frequencies. For example, the sampling frequency of EEG is 1000 Hz, whereas the sampling frequency of ECG signal is 512 Hz.
I can read the EEG raw data as an MNE raw object by reading it as an array using mne.io.RawArray, but I cannot figure out how to read the ECG signal into MNE since ECG signal cannot be a part of the same input array (since the sampling frequencies of EEG and ECG are different). I couldn’t find any other function to import the ECG signal separately after creating the raw object for the EEG.
What options do I have? The only thing I can think of is interpolating ECG signal to match the timestamps and sampling frequency of the EEG.
Thanks,
Parth