Tutorials

What is EDF+D

For recordings that were paused, or where only some stretches were kept.

4 min readUpdated December 2026

EDF+C and EDF+D

An EDF+ file stores its signals in data records of equal length, for example 1 second. Each record’s annotation signal starts with a time-keeping annotation that gives the record’s onset, the time from the start of the recording to its first sample. The header says which kind of file it is: EDF+C, continuous, where each record starts where the one before ends, or EDF+D, discontinuous, where a record may start later and leave a gap.

Records may not overlap. BDF+C and BDF+D work the same way for 24-bit files, while plain EDF has no time-keeping annotation, so its records always follow each other.

Open a file with gaps

  1. Open the file in the Online EEG Reviewer, or the sample below. Recording, in the inspector, shows EDF+D and how many gaps there are, with their total time.

    Online EEG Reviewer: the Recording page of the EDF+D sample
  2. Page with ← and →. Each record sits at the time its annotation gives, so a gap keeps its real length: shaded empty time labelled, for example, “No data, 10 s”. Paging moves through it like any other stretch.

    Online EEG Reviewer: the 10 s gap of the EDF+D sample
  3. To jump past a long gap, click a later point on the timeline under the traces, where each gap is a dashed stretch.

    Online EEG Reviewer: the timeline with the sample’s two gaps

Nothing is drawn or filtered across a gap: a trace never bridges it, each side is filtered on its own, and the spectrum needs a page inside one segment.

The Free preview with gaps

In the Online EEG Reviewer, Free shows the first 10 minutes of recorded data, and gaps do not count. Take a recording with 6 minutes of data, a 20-minute gap and 14 more minutes of data: the preview ends at 30:00 on the time axis, 4 minutes after the gap, and there the Reviewer says “This recording is 40:00; Free shows the first 10 minutes of recorded data, to 30:00.” The app counts the preview the same way, and Pro and Max show the whole file.

Records that overlap

When a record of an EDF+D or BDF+D file starts before the previous one ends, the Online EEG Reviewer leaves it out and never moves it; every other record keeps its time from the file. A dashed line marks the place, labelled, for example, “1 overlapping record not shown”, and Recording counts such records under Left out.

Export a stretch

With Pro or Max, Export a segment, on the Recording page of the Online EEG Reviewer, saves a time range of the channels you choose as a de-identified file. It uses whole data records, so the copy can start a little before the time you set and end a little after.

  • A range inside one segment is saved as EDF+C (BDF+C from a BDF file).
  • A range that spans a gap is saved as EDF+D (BDF+D), where every record keeps its time from the new start, so each gap keeps its length.
  • A range wholly inside a gap holds no data, and the Reviewer says so instead of saving.

The Annotated EDF+ copy on the Annotations page, also Pro and Max, stays EDF+D or BDF+D, with every record’s onset as in the file and the left-out records kept.

Try it with the sample

eeg-tracelab-sample-gaps.edfEDF+D | 5 minutes | 10-20 EEG with ECG | synthetic, no real person’s data
Open in the Online EEG ReviewerDownload

Two gaps are written in: 10 s after the first 100 s of data, and 30 s after 200 s. On the time axis they run from 1:40 to 1:50 and from 3:30 to 4:00, so the file is 5:40 long and holds 5:00 of data. Each annotation moved with its record.

Common problems

The file is declined

An EDF+D or BDF+D file needs its annotation signal, which holds the record times, and an EDF+C or BDF+C file is declined when a record does not start where the one before ends. The Online EEG Reviewer then says the time-keeping is missing or inconsistent.

The spectrum says the range crosses a gap

A spectrum stays inside one continuous segment. Move the page to one side of the gap, or measure between the caliper cursors on one side of it.

Can I close a gap?

No. The Reviewer never joins segments or fills a gap with made-up data. To work on data without gaps, export a stretch inside one segment.

Another program shows different times

Check whether it reads EDF+D. Some programs decline it, and one that ignores the record onsets puts the records back to back, so every time after the first gap moves.