[Mne_analysis] Redefine Epochs based on different events

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Mar 25 09:28:38 EDT 2020
Search archives:

        External Email - Use Caution        

hi,

this is no straightforward equivalent to ft_redefinetrial in mne-python as
this stage.

if you keep the stim channel in the epochs you have the information to do
this.

someone with a clearer idea of the use case can maybe share some code.

I never had to do this myself

Alex


On Wed, Mar 25, 2020 at 11:57 AM Edoardo Pinzuti <edoardo.pinzuti at gmail.com>
wrote:

>         External Email - Use Caution
>
>   Dear MNE experts,
>
> My experiment  contains two cues in each trial with a variable delay in
> between,  I defined each condition base on cue and target cue  with
> mne.define_target_events.  Now my '0' in time is related to the first cue.
> How I can redefine my epochs based on the target cue (using the time lag
> between the two) so that the time '0' correspond to the appearance of the
> target cue on each trial? Is there a function similar  to ft_redefinetrial ?
>
>
> Thanks
> Edoardo
> _______________________________________________
> 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/20200325/ed8b7216/attachment.html 


More information about the Mne_analysis mailing list