I have the feeling this might have to do with the separator in the ascii (.eeg) file being a dot. Is there anyway to solve this, or should I ask for another export with other parameters? If yes, please advise.
I can open the .eeg file with pandas.read_csv without a problem…
It indeed looks as if . is used for both decimal and field separation here I’d say it’s an issue with the file itself, but it’s difficult to tell without looking at the data.
Do you pass any special parameters there?
Best,
Richard
PS: It’s easier for readers on the forum if you provide output as actual text instead of screenshots (I had to zoom and pan around to see the contents). Simply paste the output, select it, and click on the “Preformatted text” button to get nice formatting
actually, I think the issue is that this is not raw BrainVision data, but data that has been processed and exported from BrainVision Analyzer I don’t think we explicitly cover for such cases (yet?) in our reader.
@hanneke the PR has been merged, so when you use MNE-Python main, reading your data should work.
Thank you, @Stefan, that’s true, it is segmented data from BVA, should I handle that differently?
Personally, I would try to ditch BVA and use MNE-Python from the beginning (directly from the raw BrainVision files), but I don’t know what you need from BVA, so it might be important that you use it The only “difficult” thing for us (and the reason why you ran into an error) is, that BVA BrainVision files can be different from RAW BrainVision files (as they e.g., come out of BrainVision Recorder), and we don’t have a comprehensive public specification on how these files work (and thus we have few tests and features to handle them in MNE-Python)