Error: Line 52: in_fopen_edf

Hello:

While importing the EEG file .edf, this error shows up. I have attached the snapshot.

Any tips ?

Thank you,
Nirav

The number of signals read from your EDF file is incorrect, which most likely mean that this is not an EDF file, or that it was incorrectly saved. The Brainstorm reader can't make up for this error.

Can you read this file in any other program?

Continuing the discussion from Error: Line 52: in_fopen_edf:

Hi Francois,

I have the same problem and could read the header - there is a 31622 where there should be a Am5. I do not know a possible reason.

0 703849 M 12-AUG-1987 X,DANIEL 30.10.2415.36.5938400 EDF+C -1 0.125 149 Am1 Am2 Am3 Am4 31622 Am6 Am7 Am8 Am9 Am10 HcA1 HcA2 HcA3 HcA4 HcA5 HcA6 HcA7 HcA8 HcA9 HcA10 HcA11 HcA12 HcP1 HcP2 HcP3 HcP4 HcP5 HcP6 HcP7 HcP8 HcP9 HcP10 HcP11 HcP12 PHA1 PHA2 PHA3 PHA4 PHA5 PHA6 PHA7 PHA8 PHA9 PHA10 PHP1 PHP2 PHP3 PHP4 PHP5 PHP6 PHP7 PHP8 PHP9 PHP10 PHP11 PHP12 T1_1 T1_2 T1_3 T1_4 T1_5 T1_6 T1_7 T1_8 T2_1 T2_2 T2_3 T2_4 T2_5 T2_6 T2_7 T2_8 SP_1 SP_2 SP_3 SP_4 SP_5 SP_6 SP_7 SP_8 IN_1 IN_2 IN_3 IN_4 IN_5 IN_6 IN_7 IN_8 IN_9 IN_10 IN_11 IN_12 IN_13 IN_14 IN_15 IN_16 IN_17 IN_18 OF_1 OF_2 OF_3 OF_4 OF_5 OF_6 OF_7 OF_8 OF_9 OF_10 OF_11 OF_12 OF_13 OF_14 OF_15 OF_16 OF_17 OF_18 Loc Roc Sp1 Fz Cz Pz C3 C4 C125 C126 ECG1 ECG2 DC1 DC2 DC3 DC4 DC5 DC6 DC7 DC8 DC9 DC10 DC11 DC12 DC13 DC14 DC15 DC16 TRIG SpO2 PR Pleth EDF Annotations

I tried rewriting the header and replacing but same error. And I cannot read it from anywhere. The file was saved in a server, then retrieved and exported to an EDF format. Perhaps that can be the reason of a possible file damage.
Thank you very much in advance.

Have you tried to open the file with EDF browser?

Do you have access to the original file? If so, you could try to import that one directly in Brainstorm

Hi Raymundo. Thank you very much for your response. It is an EDF+C exported from Natus Neuroworks software. I cannot open from EDFbrowser - Separator character of startdate is not a dot (when opening) or - Invalid number of signals (less than 1) (when opening from header editor). I tried with MNE python and it also complains about the date. I can try to open the folder that Natus generates I need still to see how it looks like.