Database Open Access

Term-Preterm EHG DataSet with Tocogram

Franc Jager

Published: Aug. 29, 2018. Version: 1.0.0

When using this resource, please cite the original publication:

Jager F, Libenšek S, Geršak K (2018) Characterization and automatic classification of preterm and term uterine records. PLoS ONE 13(8): e0202125.

Please include the standard citation for PhysioNet: (show more options)
Goldberger, A., Amaral, L., Glass, L., Hausdorff, J., Ivanov, P. C., Mark, R., ... & Stanley, H. E. (2000). PhysioBank, PhysioToolkit, and PhysioNet: Components of a new research resource for complex physiologic signals. Circulation [Online]. 101 (23), pp. e215–e220.


The Term-Preterm ElectroHysteroGram DataSet with Tocogram (TPEHGT DS) contains 26 four-signal 30-min uterine EHG records, i.e., three EHG signals accompanied by a simultaneously recorded external tocogram measuring mechanical uterine activity (TOCO signal) of pregnant women, and another five 30-min uterine records (EHG signals and TOCO signal) of non-pregnant women.

Data Description

The records of the pregnant women belong to pregnancies that resulted in spontaneous preterm delivery (13 preterm records from eight pregnancies), and to pregnancies that resulted in spontaneous term delivery (13 term records from ten pregnancies). The main objective of the dataset is to provide a set of annotated contraction intervals (annotated intervals related to uterine contractions), and another set of annotated non-contraction intervals (dummy intervals, i.e., intervals out of uterine contractions). The annotated contraction and dummy intervals of the records allow:

  • characterization of uterine records, contraction intervals, and dummy intervals during pregnancy;
  • development of algorithms to classify between preterm and term uterine records, and/or, between labor and nonlabor uterine records.

The dataset was developed at the Faculty of Computer and Information Science (Laboratory for Biomedical Computer Systems and Imaging), University of Ljubljana, Ljubljana, while the records were collected at the University Medical Centre Ljubljana, Department of Obstetrics and Gynecology. (Obtaining of the uterine records and the research were approved by the National Medical Ethics Committee of the Republic Slovenia: No. 32/01/97 and No. 108/09/09. The recording protocol (including position of the electrodes) was those which was also used during collecting the records of the Term-Preterm EHG Database (TPEHG DB).

The women participating in the study represented a sample of the general population. The TPEHGT DS contains 31 uterine records of which:

  • 13 preterm records are with spontaneous delivery (eight pregnancies), the mean delivery time was 33.7 (± 1.97) weeks, and contain 47 annotated contraction intervals and 47 annotated dummy intervals;
  • 13 term records are with spontaneous delivery (ten pregnancies), the mean delivery time was 38.1 (± 1.04) weeks, and contain 53 annotated contraction intervals and 53 annotated dummy intervals;
  • five records are from non-pregnant women, and contain 53 annotated dummy intervals.

The records of pregnant women were obtained during regular check-ups in pregnancy around 31st week of pregnancy. The mean recording time and standard deviation of the records of pregnant women was 30.2 (± 2.76) weeks of pregnancy. For the manual annotating procedure, we used a graphic user interface and annotation editor. Besides visualizing original signals and annotation editing, the graphic user interface also allows calculating, and visualizing, spectra and spectrograms of the signals. Consensus about the annotated intervals was reached by two annotators.

The EHG signals of the records were collected from the abdominal surface. The electrodes (AgCl2) to measure EHG signals of the records were placed in two horizontal rows, symmetrically above and under the navel, spaced 7 cm apart:

  • the first electrode (E1) was placed 3.5 cm to the left and 3.5 cm above the navel;
  • the second electrode (E2) was placed 3.5 cm to the right and 3.5 cm above the navel;
  • the third electrode (E3) was placed 3.5 cm to the right and 3.5 cm below the navel;
  • the fourth electrode (E4) was placed 3.5 cm to the left and 3.5 cm below the navel;
  • the reference electrode was attached to the woman’s thigh.

The differences in the electrical potentials of the electrodes were recorded, producing three signals:

  • S1 = E2 - E1 (first EHG signal);
  • S2 = E2 - E3 (second EHG signal);
  • S3 = E4 - E3 (third EHG signal).

Prior to sampling, the EHG signals were filtered using an analog three-pole Butterworth filter with the bandwidth from 0.0 Hz to 5.0 Hz. The fourth simultaneous signal was the analog signal corresponding to an external tocogram (TOCO signal) measuring mechanical uterine pressure acquired using a cardiotocograph (model HP8030) attached at the top of the fundus. The analog TOCO signal was lead to one of the amplifiers of the A/D converter (the value of 150 μV corresponds to a pressure of 1 k Pa). The sampling frequency for the EHG and TOCO signals was 20 samples per second per signal, with 16-bit resolution.

The original EHG and TOCO signals of the records were further filtered using the four-pole band-pass digital Butterworth filter with cut-off frequencies at 0.08 Hz and 5.0 Hz applied bi-directionally. The records of the TPEHGT DS contain both, the original and filtered signals.


Record names of the TPEHGT DS are of the following format: tpehgt_TXXX, where capital T refers to the type of record: p - Preterm, t - Term, and n - Non-pregnant, and XXX is the record number of that type.

The records of the dataset are in the WFDB format. Each records consists of three files, a header file (.hea) containing information regarding the record, the data file (.dat) containing original and filtered signal data, and the annotation file (.atr) containing annotations for the record.

The comment section in the header files (.hea) includes clinical information, such as:

  • record ID [record name];
  • record type [Preterm/Term/Non-pregnant];
  • pregnancy duration (gestation) [weeks];
  • gestation duration at the time of recording [weeks];
  • maternal age [years];
  • number of previous deliveries (parity) [number];
  • number of previous abortions [number];
  • weight at the time of recording [kg];
  • placental position [front/end];
  • smoker [yes/no];

If data was not available, the value is marked as None, if data was not applicable, the value is marked as N/A.

The signal data in the data files (.dat) are in the following order:

  • first EHG signal S1, unfiltered;
  • first EHG signal S1, filtered using a 4-pole band-pass Butterworth filter from 0.08 Hz to 5.0 Hz, bi-directionally;
  • second EHG signal S2, unfiltered;
  • second EHG signal S2, filtered using a 4-pole band-pass Butterworth filter from 0.08 Hz to 5.0 Hz, bi-directionally;
  • third EHG signal S3, unfiltered;
  • third EHG signal S3, filtered using a 4-pole band-pass Butterworth filter from 0.08 Hz to 5.0 Hz, bi-directionally;
  • TOCO signal, unfiltered;
  • TOCO signal, filtered using a 4-pole band-pass Butterworth filter from 0.08 Hz to 5.0 Hz, bi-directionally;

The annotations files (.atr) cantain manual annotations of contraction and dummy intervals:

  • BC - the beginning of contraction interval;
  • EC - the end of contraction interval;
  • BD - the beginning of dummy interval;
  • ED - the end of dummy interval;


For further information, please contact:

Franc Jager
Laboratory of Biomedical Computer Systems and Imaging
Faculty of Computer and Information Science
University of Ljubljana
Večna pot 113
1000 Ljubljana, Slovenia



  1. Jager F, Libenšek S, Geršak K (2018). Characterization and automatic classification of preterm and term uterine records. PLoS ONE 13(8): e0202125.


Access Policy:
Anyone can access the files, as long as they conform to the terms of the specified license.

License (for files):
Open Data Commons Attribution License v1.0

Corresponding Author
You must be logged in to view the contact information.


Total uncompressed size: 39.8 MB.

Access the files

Visualize waveforms

Folder Navigation: <base>
Name Size Modified
#HEADER.shtml# (download) 9.4 KB 2018-12-10
ANNOTATORS (download) 58 B 2018-08-13
RECORDS (download) 372 B 2018-08-13
SHA256SUMS.txt (download) 7.7 KB 2019-02-20
journal.pone.0202125.pdf (download) 22.8 MB 2018-08-29
tpehgt_n001.atr (download) 260 B 2018-08-13
tpehgt_n001.dat (download) 551.6 KB 2018-08-13
tpehgt_n001.hea (download) 684 B 2018-08-13
tpehgt_n002.atr (download) 248 B 2018-08-13
tpehgt_n002.dat (download) 551.2 KB 2018-08-13
tpehgt_n002.hea (download) 682 B 2018-08-13
tpehgt_n003.atr (download) 284 B 2018-08-13
tpehgt_n003.dat (download) 551.6 KB 2018-08-13
tpehgt_n003.hea (download) 682 B 2018-08-13
tpehgt_n004.atr (download) 230 B 2018-08-13
tpehgt_n004.dat (download) 554.1 KB 2018-08-13
tpehgt_n004.hea (download) 696 B 2018-08-13
tpehgt_n005.atr (download) 260 B 2018-08-13
tpehgt_n005.dat (download) 550 KB 2018-08-13
tpehgt_n005.hea (download) 692 B 2018-08-13
tpehgt_p001.atr (download) 52 B 2018-08-13
tpehgt_p001.dat (download) 562.5 KB 2018-08-13
tpehgt_p001.hea (download) 639 B 2018-08-13
tpehgt_p002.atr (download) 232 B 2018-08-13
tpehgt_p002.dat (download) 562.5 KB 2018-08-13
tpehgt_p002.hea (download) 627 B 2018-08-13
tpehgt_p003.atr (download) 52 B 2018-08-13
tpehgt_p003.dat (download) 562.5 KB 2018-08-13
tpehgt_p003.hea (download) 628 B 2018-08-13
tpehgt_p004.atr (download) 52 B 2018-08-13
tpehgt_p004.dat (download) 562.5 KB 2018-08-13
tpehgt_p004.hea (download) 638 B 2018-08-13
tpehgt_p005.atr (download) 160 B 2018-08-13
tpehgt_p005.dat (download) 562.5 KB 2018-08-13
tpehgt_p005.hea (download) 639 B 2018-08-13
tpehgt_p006.atr (download) 280 B 2018-08-13
tpehgt_p006.dat (download) 562.5 KB 2018-08-13
tpehgt_p006.hea (download) 631 B 2018-08-13
tpehgt_p007.atr (download) 184 B 2018-08-13
tpehgt_p007.dat (download) 562.5 KB 2018-08-13
tpehgt_p007.hea (download) 638 B 2018-08-13
tpehgt_p008.atr (download) 142 B 2018-08-13
tpehgt_p008.dat (download) 562.5 KB 2018-08-13
tpehgt_p008.hea (download) 641 B 2018-08-13
tpehgt_p009.atr (download) 328 B 2018-08-13
tpehgt_p009.dat (download) 562.5 KB 2018-08-13
tpehgt_p009.hea (download) 632 B 2018-08-13
tpehgt_p010.atr (download) 190 B 2018-08-13
tpehgt_p010.dat (download) 562.5 KB 2018-08-13
tpehgt_p010.hea (download) 639 B 2018-08-13
tpehgt_p011.atr (download) 52 B 2018-08-13
tpehgt_p011.dat (download) 562.5 KB 2018-08-13
tpehgt_p011.hea (download) 640 B 2018-08-13
tpehgt_p012.atr (download) 52 B 2018-08-13
tpehgt_p012.dat (download) 562.5 KB 2018-08-13
tpehgt_p012.hea (download) 639 B 2018-08-13
tpehgt_p013.atr (download) 52 B 2018-08-13
tpehgt_p013.dat (download) 562.5 KB 2018-08-13
tpehgt_p013.hea (download) 632 B 2018-08-13
tpehgt_t001.atr (download) 100 B 2018-08-13
tpehgt_t001.dat (download) 562.5 KB 2018-08-13
tpehgt_t001.hea (download) 630 B 2018-08-13
tpehgt_t002.atr (download) 226 B 2018-08-13
tpehgt_t002.dat (download) 562.5 KB 2018-08-13
tpehgt_t002.hea (download) 632 B 2018-08-13
tpehgt_t003.atr (download) 208 B 2018-08-13
tpehgt_t003.dat (download) 562.5 KB 2018-08-13
tpehgt_t003.hea (download) 635 B 2018-08-13
tpehgt_t004.atr (download) 52 B 2018-08-13
tpehgt_t004.dat (download) 562.5 KB 2018-08-13
tpehgt_t004.hea (download) 634 B 2018-08-13
tpehgt_t005.atr (download) 52 B 2018-08-13
tpehgt_t005.dat (download) 562.5 KB 2018-08-13
tpehgt_t005.hea (download) 628 B 2018-08-13
tpehgt_t006.atr (download) 142 B 2018-08-13
tpehgt_t006.dat (download) 562.5 KB 2018-08-13
tpehgt_t006.hea (download) 636 B 2018-08-13
tpehgt_t007.atr (download) 100 B 2018-08-13
tpehgt_t007.dat (download) 562.5 KB 2018-08-13
tpehgt_t007.hea (download) 632 B 2018-08-13
tpehgt_t008.atr (download) 232 B 2018-08-13
tpehgt_t008.dat (download) 562.5 KB 2018-08-13
tpehgt_t008.hea (download) 633 B 2018-08-13
tpehgt_t009.atr (download) 214 B 2018-08-13
tpehgt_t009.dat (download) 562.5 KB 2018-08-13
tpehgt_t009.hea (download) 632 B 2018-08-13
tpehgt_t010.atr (download) 52 B 2018-08-13
tpehgt_t010.dat (download) 562.5 KB 2018-08-13
tpehgt_t010.hea (download) 630 B 2018-08-13
tpehgt_t011.atr (download) 430 B 2018-08-13
tpehgt_t011.dat (download) 562.5 KB 2018-08-13
tpehgt_t011.hea (download) 627 B 2018-08-13
tpehgt_t012.atr (download) 172 B 2018-08-13
tpehgt_t012.dat (download) 562.5 KB 2018-08-13
tpehgt_t012.hea (download) 638 B 2018-08-13
tpehgt_t013.atr (download) 142 B 2018-08-13
tpehgt_t013.dat (download) 562.5 KB 2018-08-13
tpehgt_t013.hea (download) 629 B 2018-08-13