[Mne_analysis] Getting Error: events should be a NumPy array of integers
balandongiv at gmail.com
balandongiv at gmail.com
Thu Oct 29 11:37:07 EDT 2020
External Email - Use Caution
Dear All,
We are conducting an ERP experiment. In most cases, the precision of the
annotation time is up to two decimal points (e.g., 358.71, 1053.88).
When creating an epoch using the module mne.Epochs(), the compiler returns
an error:
TypeError: events should be a NumPy array of integers, got <class
'numpy.ndarray'>
Is there a way to bypass this type of error?
One strategy is by round the time (e.g., 358.71, 1053.88 to 359, 1054).
However, this may reduce the overall accuracy and precision of the
experimentation.
Appreciate for any advice.
Regards
Rpb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201029/d78341bf/attachment.html
More information about the Mne_analysis
mailing list