[Mne_analysis] Setting the Marker channel

Senaka Amarakeerthi senakahks at gmail.com
Thu Jul 6 23:38:19 EDT 2017
Search archives:

Dear list,

I have data from emotive EEG and trying to read using MNE.

There I removed all unnecessary channels using drop_channels.


Now these are the channel labels

print(data.info['ch_names'])

[u'AF3', u'F7', u'F3', u'FC5', u'T7', u'P7', u'O1', u'O2', u'P8', u'T8',
u'FC6', u'F4', u'F8', u'AF4', u'MARKER']

I have markers in MARKER Channel and the value '1' is there in some places
of the array.

Eg:  00000000000001000000000000010000000000

Now to read events I used the commands:

events = mne.find_events(data, stim_channel='MARKER')
print('Found %s events, first five:' % len(events))
print(events[:5])

Unfortunately, I am getting this result:

Found 0 events, first five:
[]

Where am I wrong?   Appreciate your support



  <https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=senakahks@gmail.com&idSignature=22>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170707/0605654a/attachment.html 


More information about the Mne_analysis mailing list