ValueError: file does not start with a file id tag

  • MNE version: 1.0.2
  • operating system: Windows 10

raw = mne.io.read_raw_fif('C:/Users/PSG.edf')

I wonder if the fif read function works in a normal file.

It’s an EDF file, so you cannot use the FIFF reader.

I suggest you simply use mne.io.read_raw() all the time, as it automatically selects the correct reader based in the file name.

1 Like

thx @richard

I think I understand Mne somewhat now. Edf is edf!

The reason why I ask this question is that there are too many examples of fif.

1 Like

List of file and corresponding function to read them link

1 Like