Error when I tried to import Neuroscan cnt file

Hi,

My Neuroscan cnt file was recorded with 10kHz sampling frequency, and when I tried to import this dataset into brainstorm, I got this error:


saying that index exceeds matrix dimensions.

Would you please help me figure this out?

For your information, I can easily import data using 1kHz sampling frequency.

Thank you!

-Kai

Hi Kai,

Could send me this file so I can have a look at it?
Upload it somewhere (eg. dropbox) and send me the link in a separate email (click on my username on this forum).

Thanks
Francois

Hi Francois,

The link has been sent to you:)

Best,
-Kai

Hi Kai,

Thank you for sharing this file with me.
The function I was using for reading the .cnt file header was not ready for handling files > 2Gb. I fixed it based on the recent modifications to the EEGLAB function loadcnt.m.

Please update Brainstorm and try again (menu Help > Update Brainstorm).
You might observe other weird things while working with large files. If it happens, let me know and I’ll try to fix it.

Cheers,
Francois

Hi Francois,

Thank you for helping fix this. I will update the software and give another try:)

Best,
-Kai

[QUOTE=Francois;10904]Hi Kai,

Thank you for sharing this file with me.
The function I was using for reading the .cnt file header was not ready for handling files > 2Gb. I fixed it based on the recent modifications to the EEGLAB function loadcnt.m.

Please update Brainstorm and try again (menu Help > Update Brainstorm).
You might observe other weird things while working with large files. If it happens, let me know and I’ll try to fix it.

Cheers,
Francois[/QUOTE]

Hi Francois,

I just noticed another possible bug when I try to use the newest version BrainStorm to import a 30-min NeuronScan EEG CNT file (sampling frequency: 20 kHz). Once it is imported, the time window is only 475 sec, so it seems to me that the data are not complete. Would you please advise how I can see the whole dataset?

Thank you!

Best,
-Kai

[QUOTE=Kai Yu;10905]Hi Francois,

Thank you for helping fix this. I will update the software and give another try:)

Best,
-Kai[/QUOTE]

Hi Kai,

Can you share this file with me so I can have a look at it?

Thanks,
Francois

Sure. Please let me know if you can download it.

https://www.dropbox.com/s/asrjt96z1vik8xc/Aug10_MEG_EEG_5V_3ms.cnt?dl=0

Thanks,
-Kai