Why does MNE give me the wrong sampling frequency and the wrong total recording time? Is it possible to change this?

MNE 1.4.2
Windows 10

Hello,

When I load my EDF file using mne.io.read_raw_edf() I get this output:

Creating raw.info structure…
Reading 0 … 19786999 = 0.000 … 19786.999 secs…

And I get a sampling rate of 1000.

However, the sampling rate is supposed to be 500 and also I am expecting twice the length of time, so more like something like this:

Reading 0 … 19786999 = 0.000 … 39573.998 secs…

When I change the sampling rate, using .resample, it seems to affect the data points but doesn’t affect the total time.

What am I missing?

Hi,

If you are reading the data, and the data says is 1k as the sampling frequency then that’s what you are using. You probably have to change the sampling frequency in the interface you are using to record.

Every data recorded comes with a method that stores the sf.
So, it is ideal for you to lose some data when you using 500.

So I will advice searching for the sf of the data you are using to be sure its 500.

Thanks