[Mne_analysis] help with defining new events based on other event timing

Phillip Alday phillip.alday at mpi.nl
Wed Oct 23 03:31:27 EDT 2019
Search archives:

        External Email - Use Caution        

https://mne.tools/stable/generated/mne.event.define_target_events.html#mne.event.define_target_events



On 23/10/2019 17:57, Justin Murphy wrote:
>
>         External Email - Use Caution        
>
>  
>
> Hi MNErs.
>
> I’m rather new to MNE, and am used to working with brainvision instead.
>
> I can not figure out to create a new event based on whether other
> specific events are in a specifed
>
> Proximity (is there a function to do this?). I see there is merge
> events but this does not seem to
>
> provide what I need.
>
>  
>
> To explain, I have loads of stimulus locked triggers which are sent by
> a light stimulus so are perfect fortiming – this Is what I want to
> timelock my ERPs to. However, the light stimulus is always called the
> same event, e.g., ‘lightsensor’.
>
> In Brainvision, I would create my segments based on the subsequent
> triggers/events, as they tell me what stimulus the light sensor
> relates to.
>
>  
>
> e.g., on every trial, I have  ‘Lightsensor’ followed within 100ms by
> either ‘Negative’ or “neutral’.
>
>  
>
> How do I create an event so that the lightsensor is can be coded as
> ‘Negative’ and ‘Neutral’ when appropriate?
>
>  
>
> Thank you!
>
>  
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>  
>
>
> _______________________________________________
> 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/20191023/c2709239/attachment-0001.html 


More information about the Mne_analysis mailing list