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

Justin Murphy justin.murphy at vuw.ac.nz
Wed Oct 23 20:23:48 EDT 2019
Search archives:

        External Email - Use Caution        

Beautiful - don't how I missed it.  Thank you.
Getting the hang of this thing.



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

________________________________
From: Phillip Alday <phillip.alday at mpi.nl>
Sent: Wednesday, October 23, 2019 8:31:27 PM
To: Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu>; Justin Murphy <justin.murphy at vuw.ac.nz>
Subject: Re: [Mne_analysis] help with defining new events based on other event timing


https://mne.tools/stable/generated/mne.event.define_target_events.html#mne.event.define_target_events<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmne.tools%2Fstable%2Fgenerated%2Fmne.event.define_target_events.html%23mne.event.define_target_events&data=02%7C01%7Cjustin.murphy%40vuw.ac.nz%7Cc4d21da467174241aea308d7578b0a12%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C1%7C637074127079137040&sdata=d0LKR2GYWr1PKD7e6vrVw7gCPkWilVGRvMc0%2FtoozBM%3D&reserved=0>




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://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgo.microsoft.com%2Ffwlink%2F%3FLinkId%3D550986&data=02%7C01%7Cjustin.murphy%40vuw.ac.nz%7Cc4d21da467174241aea308d7578b0a12%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C0%7C637074127079147036&sdata=CEAr0Y6Ip1L1FqUmwMCCg6bml76okcKptnbxHzcKoys%3D&reserved=0> for Windows 10





_______________________________________________

Mne_analysis mailing list

Mne_analysis at nmr.mgh.harvard.edu<mailto:Mne_analysis at nmr.mgh.harvard.edu>

https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis<https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis&data=02%7C01%7Cjustin.murphy%40vuw.ac.nz%7Cc4d21da467174241aea308d7578b0a12%7Ccfe63e236951427e8683bb84dcf1d20c%7C0%7C1%7C637074127079147036&sdata=FsNHeE6r4gObzM%2BeqvyZsmlKyKrhRJxkOD1%2FOd%2FWzj8%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20191024/2c2ab062/attachment.html 


More information about the Mne_analysis mailing list