Closed gacek91 closed 7 years ago
There's a number of things that can be wrong here. Looks like the header is not very intact (failing to read the number of bytes and measurement date). Would it be possible to share the file.
Thanks for a fast answer. Sure thing: here
Sharing only one file (out of 50 or so) - every single one of them seems to be giving me same type of error.
These are RIFF format, that are not supported at the moment.
FYI, there is an adapter for these files available here, but since I can't find proper documentation for these files, I don't see the reader coming to mne anytime soon. Closing this.
I also ran into this issue, and because of the uninformative error message it took me a moment to arrive at this page and find out that it's probably a file format issue. Would it be an idea to re-open this issue, and simply catch the Exception
to translate into something less scary and more informative?
would you consider sending us a pull request?
hi all,
I'm new to the world of EEG data analysis. My team generated CNT files from ANT neuro and I am trying to load them using read_raw_cnt from python mne. I run into the same issue as described above:
'ascii' codec can't decode byte 0x93 in position 1: ordinal not in range(128)
What could be causing the problem? I opened the first 100 lines of the file and saw a bunch of strange characters. Thanks!
We do not support importing ANT CNT files, please see #3609.
@cbrnr got it! Thanks for the quick reply!
Hello everyone, did someone find a solution for this? I am having the same problem, with ANT CNT ...
@romybeaute see @cbrnr's comment two lines up from yours. You don't need to read the entire thread of #3609, just skip to this comment: https://github.com/mne-tools/mne-python/issues/3609#issuecomment-1272557341 and read on from there. It explains 3 possible work-arounds.
Hey there,
I'm trying to read some Neuroscan *.cnt files with standard 10-20 montage (code below):
raw = mne.io.read_raw_cnt(fls_path[-5],montage='standard_1020')
Getting this error:
Never had any such problems with MNE before so I'm clueless on how to solve this issue. Would be very glad for any suggestions.
Regards,
Mat Gaca