Applying baseline extracted from other epochs

External Email - Use Caution

Hi,

I am working with EEG data obtained via a jittered experimental design.
At this moment, I have epoched my data locked on the responses made by the subjects.
Previously, I epoched the data by locking on the stimulus onset.
I would like to use the prestimulus interval, which is contained in the stimulus-locked epochs, to baseline my response-locked data.
Is this possible in MNE?

Thank you,

Pieter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200304/cae0657e/attachment-0001.html

1 Like

External Email - Use Caution

hi Pieter,

I think you need to do this a bit manually I fear.

If you just need to do analysis of evoked it's easier. It's like
computing 2 evokeds
and subtracting the time average of one to the other one.

Alex

External Email - Use Caution

Hi Pieter,

I did something similar for a project a couple years ago, and as Alex says, I had to do it manually. You can see my approach here:

https://github.com/drammock/eeg-phone-coding/blob/master/020-make-epochs.py#L105-L156

-- dan
Daniel McCloy
https://dan.mccloy.info
Research Scientist
Institute for Learning and Brain Sciences
University of Washington

??? Original Message ???

1 Like