Dear Francois and Martin,
can you make it possible to Import epoched dataset from Curry. If needed I can share with you example .dat and .rs3 files.
Thanks for your help!
Marcel!
Import_Curry_epochs_error|624x309
Dear Francois and Martin,
can you make it possible to Import epoched dataset from Curry. If needed I can share with you example .dat and .rs3 files.
Thanks for your help!
Marcel!
Import_Curry_epochs_error|624x309
Hi Marcel,
I don't know if we have the necessary information to read this type of files into Brainstorm.
Please post an example file, and I'll see what I can do.
Francois
Hi Marcel,
Thank you for the example file.
I finally fixed the code to read the epoched Curry .dat files:
https://github.com/brainstorm-tools/brainstorm3/commit/4e0c8ba08844d5667aa5aca9bf08d6bc5ef09140
There might be some indexing issues when reading the binary data from the .dat file.
Please update Brainstorm and try to import your file again, but take some time to double-check the epochs really look like what they are supposed to, and that the average is the same as what you see in the Curry.
Cheers
Francois
Hi Francois,
I tested the import of the epochs. The order of sample seems to be not correct.The number of channels and the time duration of 700 ms is correct. But the left occipital epileptic spike with the amplitude peak that is current at 220 ms should be at time '0'. The screen capture shows epoch three of the dataset that I will share with you.
Best regards
Marcel
Indeed, there was a problem with the way the negative times were read, which was causing the wrong segments to be read from the binary file.
I fixed it in : https://github.com/brainstorm-tools/brainstorm3/commit/b2885216d2a96cba2bffc39c00bbfa5263562a6c#diff-af30742490e22052cb438a9486064ded
Please update Brainstorm and try again
Hi Francois,
sorry for the late response. The order of the samples is correct now. But I recognized that the units for the amplitudes are missing. I believe that the units should be µV.
Marcel
Hi Marcel,
I've added a line to read correctly your example datasets as microVolts:
https://github.com/brainstorm-tools/brainstorm3/commit/4ee9c89999789a391482cf8167bc36b3f89e4479#diff-af30742490e22052cb438a9486064dedR97
Update Brainstorm to get this fix.
If you every see Curry .dat files that are not in microV, let me know, I may have to fix the reader a bit better.
Francois