I have a EEG data of length "x" with a corresponding time events of interest. I have attached the annotation of the events. Basically it should read the start date-time, event and end date-time. The final binary annotation should be of length "x" with the locations of event marked as "1". This means that when there is an event, the array should contain '1' and the remaining locations as '0'. Can someone help me with this?
Start time: 2015-01-28 02:10:23
End time: 2015-01-29 13:54:10
Date start Time End time
Event 2015-01-28 03:40:18 03:50:28
Event 2015-01-28 05:04:43 07:40:10
Event 2015-01-28 08:47:10 09:25:00
Event 2015-01-28 12:27:11 13:36:28
Event 2015-01-28 21:26:47 23:10:38
Event 2015-01-29 00:17:12 03:10:58
Event 2015-01-29 05:20:04 07:40:48
Event 2015-01-29 09:23:08 10:30:40