[Mne_analysis] Is it possible to execute find_eog_events on an epochs in MNE
Eric Larson
larson.eric.d at gmail.com
Fri Aug 21 10:05:33 EDT 2020
External Email - Use Caution
In theory you should be able to get EOG events detected from raw, then
figure out which epochs they belong to by combining the output of
`eog_events = find_eog_events(...)` with `epochs.events`. Basically you
could loop over `epochs.events` and find all events in the `eog_events`
array that are within the epoch sample / time range (or write the
vectorized equivalent code).
This could make for a nice small update to some existing example in MNE
(EOG preprocessing?) if you're up for implementing and contributing it!
Eric
On Fri, Aug 21, 2020 at 9:46 AM Alexandre Gramfort <
alexandre.gramfort at inria.fr> wrote:
> External Email - Use Caution
>
> this is not possible to do epochs from epochs.
>
> Alex
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20200821/04a6052a/attachment.html
More information about the Mne_analysis
mailing list