Search Support Database

Understanding SpO₂ Sampling Frequency in Noxturnal EDF Exports

Summary

An SpO₂ channel exported from Noxturnal to EDF may show an effective sampling frequency very close to, but not exactly, 1 Hz (for example 0.9972 Hz or 0.99997 Hz). This is expected and by design.

Noxturnal keeps the true recording duration and the time alignment of all channels intact, rather than resampling or interpolating raw data to force an exact 1 Hz rate. This article explains how that works and what it means for EDF readers and analysis pipelines.

It is written for clinicians, researchers and integration partners who work with EDF files exported from Noxturnal.

How EDF stores signals

The European Data Format (EDF/EDF+) divides a recording into consecutive data records of equal length. Every signal in the file shares the same data record duration, and each signal must hold a whole (integer) number of samples per record.

EDF readers do not store a sampling frequency directly. They calculate it from two header values:

Sampling frequency (Hz) =Samples per data record
Data record duration (s)

For example, a file with a data record duration of 36.1 s and 36 SpO₂ samples per record gives 36 / 36.1 = 0.99723 Hz. If the record duration were exactly 36 s, the same signal would read as 1.000 Hz.

Why the exported rate may not be exactly 1 Hz

Noxturnal prioritizes raw data integrity and true time synchronization across all channels over synthetic rate adjustments.

When exporting, Noxturnal chooses the data record duration and sample distribution that reflect the true elapsed time of the recording. It does not resample or interpolate the raw SpO₂ data to fit a rounded rate.

The result is that the calculated sampling frequency can be a decimal value very close to the nominal rate, such as 0.9972 Hz or 0.99997 Hz, instead of exactly 1.000 Hz. The underlying samples are unchanged, and every channel stays aligned to the same recording timeline.

How gaps and clock drift affect the rate

Gaps or missing SpO₂ samples can change the effective sampling frequency of an export. This is why two recordings can show slightly different values.

Oximetry data comes from external or wireless sensors, each running on its own independent clock. Over a full session, real-world conditions can change the total number of samples received:

  • Temporary wireless disconnections between the oximeter and the recorder
  • Sensor repositioning or removal during the night
  • Small clock drift between independent hardware units

When these samples are mapped into continuous EDF data records, Noxturnal keeps them synchronized with the main recording timeline. The ratio of samples per record to record duration therefore reflects what actually happened during the recording. A recording with a gap may sit further from 1 Hz than a clean one.

Is this expected?

Yes. A slightly different effective sampling frequency is expected and standard behavior.

SpO₂ has a nominal rate of 1 Hz, but an exact 1.000 Hz is not enforced by design. Forcing it would require artificial resampling, which could distort the original measurements.

Non-integer sampling frequencies are fully compliant with the EDF standard. Standard EDF readers and viewers, such as PolyMan and EDFbrowser, support them.

Recommendations for analysis pipelines

If your downstream analysis or automated scoring tools assume a fixed integer rate (for example, strictly 1.000 Hz), we recommend:

  • Reading the sampling rate as a floating-point value, calculated from the EDF header (samples per record ÷ data record duration).
  • Using sample timestamps derived from the record duration, rather than assuming one sample per second.
  • Applying any resampling needed for your workflow on the reader side, where you control the method.

This keeps your results aligned with the original recording timeline and with the other exported channels.

Frequently asked questions

Does the EDF export preserve the exact recording duration, even if SpO₂ is then not exactly 1 Hz?

Yes. True duration and channel alignment take priority over a rounded sampling rate.

Can gaps or missing SpO₂ samples affect the calculated sampling frequency?

Yes. Disconnections, sensor repositioning and clock drift change the sample count, which is reflected in the effective rate.

Should SpO₂ always export as exactly 1 Hz?

No. A value very close to 1 Hz is expected, EDF-compliant and supported by standard readers.

 

*Please note that not all features or all products are available in all markets. Our products are medical devices and subject to registration/approval in each market area. For more information on product availability please contact support@noxmedical.com

Print Friendly and PDF
Was this article helpful?
0 out of 0 found this helpful

Have more questions? Submit a request

Comments