Dataset Viewer
Auto-converted to Parquet Duplicate
record
stringlengths
5
8
source_database
stringclasses
7 values
original_record
stringlengths
2
5
excerpt_start
stringlengths
1
12
sampling_rate
int32
250
250
n_samples
int32
225k
225k
lead_names
listlengths
2
2
adc_gain
listlengths
2
2
adc_baseline
listlengths
2
2
adc_resolution
listlengths
2
2
header
stringlengths
151
449
header_original
stringlengths
183
427
⌀
annotated_beats
int32
30
85
signal
listlengths
2
2
atr
listlengths
568
2.01k
⌀
man
listlengths
30
85
q1c
listlengths
93
600
q2c
listlengths
13
348
⌀
qt1
listlengths
93
600
qt2
listlengths
97
349
⌀
pu
listlengths
9.42k
32.3k
pu0
listlengths
4.71k
16.3k
pu1
listlengths
4.71k
16k
waves
listlengths
31
352
preview
imagewidth (px)
800
800
sel100
MIT-BIH Arrhythmia Database
100
7:00.000
250
225,000
[ "MLII", "V5" ]
[ 200, 200 ]
[ 0, 0 ]
[ 11, 11 ]
"sel100 2 250/360 225000\nsel100.dat 212 200(0) 11 1024 945 -13873 0 MLII\nsel100.dat 212 200(0) 11 (...TRUNCATED)
null
30
[[945,947,945,943,944,941,940,938,942,942,939,938,942,939,941,940,942,942,940,941,944,947,948,946,95(...TRUNCATED)
[{"sample":143,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":347,"symbol":"N","(...TRUNCATED)
[{"sample":150330,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150529,"symbol"(...TRUNCATED)
[{"sample":150272,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150290,"symbol"(...TRUNCATED)
[{"sample":150316,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150330,"symbol"(...TRUNCATED)
[{"sample":150272,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150290,"symbol"(...TRUNCATED)
[{"sample":150316,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150330,"symbol"(...TRUNCATED)
[{"sample":83,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":92,"symbol":"(","su(...TRUNCATED)
[{"sample":83,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":104,"symbol":"p","s(...TRUNCATED)
[{"sample":92,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":106,"symbol":"p","s(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150272,"peak":150290,"offset":150297},{"annotato(...TRUNCATED)
sel102
MIT-BIH Arrhythmia Database
102
6:00.000
250
225,000
[ "V5", "V2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 11, 11 ]
"sel102 2 250/360 225000\nsel102.dat 212 200(0) 11 1024 962 22865 0 V5\nsel102.dat 212 200(0) 11 102(...TRUNCATED)
null
85
[[962,961,959,958,960,961,958,955,958,958,958,959,963,965,965,965,966,969,971,967,971,976,978,977,98(...TRUNCATED)
[{"sample":148,"symbol":"/","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":351,"symbol":"/","(...TRUNCATED)
[{"sample":150253,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150453,"symbol"(...TRUNCATED)
[{"sample":150229,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150253,"symbol"(...TRUNCATED)
[{"sample":150235,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150247,"symbol"(...TRUNCATED)
[{"sample":150229,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150253,"symbol"(...TRUNCATED)
[{"sample":150235,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150247,"symbol"(...TRUNCATED)
[{"sample":78,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":97,"symbol":"p","su(...TRUNCATED)
[{"sample":78,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":97,"symbol":"p","su(...TRUNCATED)
[{"sample":136,"symbol":"(","subtype":0,"chan":1,"num":1,"aux_note":""},{"sample":168,"symbol":"N","(...TRUNCATED)
[{"annotator":"q1c","wave":"QRS","symbol":"N","onset":150229,"peak":150253,"offset":150280},{"annota(...TRUNCATED)
sel103
MIT-BIH Arrhythmia Database
103
0
250
225,000
[ "MLII", "V2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 11, 11 ]
"sel103 2 250/360 225000\nsel103.dat 212 200(0) 11 1024 949 -4674 0 MLII\nsel103.dat 212 200(0) 11 1(...TRUNCATED)
null
30
[[949,949,949,949,949,947,947,948,952,951,951,951,953,955,955,956,959,962,963,962,967,974,974,977,98(...TRUNCATED)
[{"sample":14,"symbol":"+","subtype":0,"chan":0,"num":0,"aux_note":"(N"},{"sample":184,"symbol":"N",(...TRUNCATED)
[{"sample":150282,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150489,"symbol"(...TRUNCATED)
[{"sample":150216,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150234,"symbol"(...TRUNCATED)
[{"sample":150269,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150282,"symbol"(...TRUNCATED)
[{"sample":150216,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150234,"symbol"(...TRUNCATED)
[{"sample":150269,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150282,"symbol"(...TRUNCATED)
[{"sample":126,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":139,"symbol":"p","(...TRUNCATED)
[{"sample":126,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":139,"symbol":"p","(...TRUNCATED)
[{"sample":174,"symbol":"(","subtype":0,"chan":1,"num":1,"aux_note":""},{"sample":183,"symbol":"N","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150216,"peak":150234,"offset":150249},{"annotato(...TRUNCATED)
sel104
MIT-BIH Arrhythmia Database
104
15:00.000
250
225,000
[ "V5", "V2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 11, 11 ]
"sel104 2 250/360 225000\nsel104.dat 212 200(0) 11 1024 979 -28860 0 V5\nsel104.dat 212 200(0) 11 10(...TRUNCATED)
null
77
[[979,982,983,989,1003,1046,1162,1174,1069,1033,1040,1036,1029,1028,1026,1022,1021,1016,1008,998,989(...TRUNCATED)
[{"sample":8,"symbol":"/","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":213,"symbol":"/","su(...TRUNCATED)
[{"sample":150386,"symbol":"N","subtype":0,"chan":0,"num":3,"aux_note":""},{"sample":150592,"symbol"(...TRUNCATED)
[{"sample":150367,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150386,"symbol"(...TRUNCATED)
null
[{"sample":150367,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150386,"symbol"(...TRUNCATED)
null
[{"sample":197,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":204,"symbol":"(","(...TRUNCATED)
[{"sample":197,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":235,"symbol":"N","(...TRUNCATED)
[{"sample":204,"symbol":"(","subtype":0,"chan":1,"num":1,"aux_note":""},{"sample":246,"symbol":"N","(...TRUNCATED)
[{"annotator":"q1c","wave":"QRS","symbol":"N","onset":150367,"peak":150386,"offset":150398},{"annota(...TRUNCATED)
sel114
MIT-BIH Arrhythmia Database
114
0
250
225,000
[ "V5", "MLII" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel114 2 250/360 225000\nsel114.dat 212 200 12 0 -9 19598 0 V5\nsel114.dat 212 200 12 0 3 -578 0 ML(...TRUNCATED)
null
50
[[-9,-9,-9,-9,-9,-9,-5,0,-4,-3,1,4,2,-1,-1,0,-2,-8,-10,-10,-14,-20,-24,-21,-27,-29,-35,-33,-35,-39,-(...TRUNCATED)
[{"sample":14,"symbol":"+","subtype":0,"chan":0,"num":0,"aux_note":"(N"},{"sample":215,"symbol":"N",(...TRUNCATED)
[{"sample":150246,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150485,"symbol"(...TRUNCATED)
[{"sample":150181,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150201,"symbol"(...TRUNCATED)
[{"sample":150231,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150246,"symbol"(...TRUNCATED)
[{"sample":150181,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150201,"symbol"(...TRUNCATED)
[{"sample":150231,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150246,"symbol"(...TRUNCATED)
[{"sample":152,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":162,"symbol":"p","(...TRUNCATED)
[{"sample":152,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":162,"symbol":"p","(...TRUNCATED)
[{"sample":200,"symbol":"(","subtype":0,"chan":1,"num":1,"aux_note":""},{"sample":214,"symbol":"N","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150181,"peak":150201,"offset":150209},{"annotato(...TRUNCATED)
sel116
MIT-BIH Arrhythmia Database
116
0
250
225,000
[ "MLII", "V1" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel116 2 250/360 225000\nsel116.dat 212 200 12 0 -64 -13677 0 MLII\nsel116.dat 212 200 12 0 -248 12(...TRUNCATED)
null
50
[[-64,-64,-64,-64,-64,6,93,191,299,399,454,442,319,134,-50,-234,-326,-251,-187,-174,-195,-221,-238,-(...TRUNCATED)
[{"sample":120,"symbol":"+","subtype":0,"chan":0,"num":0,"aux_note":"(N"},{"sample":195,"symbol":"N"(...TRUNCATED)
[{"sample":150283,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150467,"symbol"(...TRUNCATED)
[{"sample":150232,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150249,"symbol"(...TRUNCATED)
[{"sample":150272,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150283,"symbol"(...TRUNCATED)
[{"sample":150232,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150249,"symbol"(...TRUNCATED)
[{"sample":150272,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150283,"symbol"(...TRUNCATED)
[{"sample":144,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":151,"symbol":"p","(...TRUNCATED)
[{"sample":153,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":161,"symbol":"p","(...TRUNCATED)
[{"sample":144,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":151,"symbol":"p","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150232,"peak":150249,"offset":150262},{"annotato(...TRUNCATED)
sel117
MIT-BIH Arrhythmia Database
117
15:00.000
250
225,000
[ "MLII", "V2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel117 2 250/360 225000\nsel117.dat 212 200 12 0 -154 20515 0 MLII\nsel117.dat 212 200 12 0 -79 -32(...TRUNCATED)
null
30
[[-154,-157,-158,-159,-155,-153,-152,-156,-157,-159,-158,-157,-154,-152,-150,-153,-156,-155,-156,-15(...TRUNCATED)
[{"sample":179,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":471,"symbol":"N","(...TRUNCATED)
[{"sample":150503,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150799,"symbol"(...TRUNCATED)
[{"sample":150439,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150464,"symbol"(...TRUNCATED)
[{"sample":150494,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150503,"symbol"(...TRUNCATED)
[{"sample":150439,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150464,"symbol"(...TRUNCATED)
[{"sample":150494,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150503,"symbol"(...TRUNCATED)
[{"sample":128,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":134,"symbol":"(","(...TRUNCATED)
[{"sample":128,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":140,"symbol":"p","(...TRUNCATED)
[{"sample":134,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":144,"symbol":"p","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150439,"peak":150464,"offset":150484},{"annotato(...TRUNCATED)
sel123
MIT-BIH Arrhythmia Database
123
3:00.000
250
225,000
[ "MLII", "V5" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel123 2 250/360 225000\nsel123.dat 212 200 12 0 -186 -14170 0 MLII\nsel123.dat 212 200 12 0 -114 -(...TRUNCATED)
null
30
[[-186,-184,-182,-180,-177,-179,-183,-188,-188,-186,-190,-187,-183,-181,-183,-184,-186,-184,-185,-18(...TRUNCATED)
[{"sample":96,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":427,"symbol":"N","s(...TRUNCATED)
[{"sample":150419,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150758,"symbol"(...TRUNCATED)
[{"sample":150350,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150365,"symbol"(...TRUNCATED)
[{"sample":150405,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150418,"symbol"(...TRUNCATED)
[{"sample":150350,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150365,"symbol"(...TRUNCATED)
[{"sample":150405,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150418,"symbol"(...TRUNCATED)
[{"sample":365,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":371,"symbol":"(","(...TRUNCATED)
[{"sample":365,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":376,"symbol":"p","(...TRUNCATED)
[{"sample":371,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":384,"symbol":"p","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150350,"peak":150365,"offset":150380},{"annotato(...TRUNCATED)
sel14046
MIT-BIH Long-Term ECG Database
14046
9:14:13.000
250
224,999
[ "ECG1", "ECG2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel14046 2 250/128 224999\nsel14046.dat 212 0 12 0 -16 12292 0 ECG1\nsel14046.dat 212 0 12 0 -64 12(...TRUNCATED)
"sel14046 2 250/128 224999\nsel14046.dat 212 0 12 0 -16 12292 0 record 14046, signal 0\nsel14046.dat(...TRUNCATED)
31
[[-16,-19,-18,-21,-24,-21,-18,-19,-20,-19,-18,-21,-24,-22,-20,-21,-22,-21,-20,-22,-24,-25,-26,-25,-2(...TRUNCATED)
[{"sample":72,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":232,"symbol":"N","s(...TRUNCATED)
[{"sample":150191,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150372,"symbol"(...TRUNCATED)
[{"sample":150142,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150155,"symbol"(...TRUNCATED)
null
[{"sample":150142,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150155,"symbol"(...TRUNCATED)
null
[{"sample":191,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":192,"symbol":"(","(...TRUNCATED)
[{"sample":191,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":199,"symbol":"p","(...TRUNCATED)
[{"sample":192,"symbol":"(","subtype":0,"chan":1,"num":0,"aux_note":""},{"sample":202,"symbol":"p","(...TRUNCATED)
[{"annotator":"q1c","wave":"P","symbol":"p","onset":150142,"peak":150155,"offset":150166},{"annotato(...TRUNCATED)
sel14157
MIT-BIH Long-Term ECG Database
14157
7:58:12.000
250
224,999
[ "ECG1", "ECG2" ]
[ 200, 200 ]
[ 0, 0 ]
[ 12, 12 ]
"sel14157 2 250/128 224999\nsel14157.dat 212 0 12 0 34 10657 0 ECG1\nsel14157.dat 212 0 12 0 18 -303(...TRUNCATED)
"sel14157 2 250/128 224999\nsel14157.dat 212 0 12 0 34 10657 0 record 14157, signal 0\nsel14157.dat (...TRUNCATED)
30
[[34,21,20,22,24,23,23,31,38,41,44,47,50,49,48,47,46,44,43,46,47,42,39,36,34,35,35,33,33,35,35,33,35(...TRUNCATED)
[{"sample":70,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":281,"symbol":"N","s(...TRUNCATED)
[{"sample":150690,"symbol":"N","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150898,"symbol"(...TRUNCATED)
[{"sample":150670,"symbol":"(","subtype":0,"chan":0,"num":1,"aux_note":""},{"sample":150690,"symbol"(...TRUNCATED)
null
[{"sample":150670,"symbol":"|","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":150690,"symbol"(...TRUNCATED)
null
[{"sample":212,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":226,"symbol":"p","(...TRUNCATED)
[{"sample":212,"symbol":"(","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":226,"symbol":"p","(...TRUNCATED)
[{"sample":268,"symbol":"(","subtype":0,"chan":1,"num":1,"aux_note":""},{"sample":282,"symbol":"N","(...TRUNCATED)
[{"annotator":"q1c","wave":"QRS","symbol":"N","onset":150670,"peak":150690,"offset":150707},{"annota(...TRUNCATED)
End of preview. Expand in Data Studio

QT Database (QTDB)

Task Dataset Format Records Beats License

Unofficial mirror of the PhysioNet QT Database v1.0.0: 105 fifteen-minute two-lead Holter ECGs with cardiologist-marked P, QRS, T and U boundaries, in a viewer-ready Parquet layout with exact signals and every annotation file parsed.

Disclaimer

This repository is not an official release of the QT Database.

The QT Database was created by Pablo Laguna, Roger G. Mark, Ary L. Goldberger and George B. Moody, and is published by PhysioNet. Most records are excerpts of six older PhysioNet databases: the MIT-BIH Arrhythmia, ST Change, Supraventricular Arrhythmia, Normal Sinus Rhythm and Long-Term ECG databases, and the European ST-T Database. The rest come from Holter recordings of BIH sudden-death patients. This repository does not claim ownership of the data. If you are an author or rights holder and want this repository changed or removed, please open a discussion and it will be addressed promptly.

These are recordings from real patients. Do not attempt to identify anyone in them. This dataset is for research and is not a medical device or a basis for clinical decisions.

Source and verification: built from the official PhysioNet package qtdb-1.0.0.zip. Every file was checked against the official SHA256SUMS.txt. Signals were decoded twice, once by a separate format-212 decoder and once by wfdb. The two agree exactly and match each header's checksum and initial values. Every annotation file was also read twice, by a separate WFDB annotation parser and by wfdb.rdann, with the same result. Every row was read back from Parquet and compared with the source.


Dataset Overview

QTDB is a reference set for ECG waveform delineation and QT interval measurement. Each of the 105 records is a 15-minute two-lead excerpt sampled at 250 Hz. The excerpts were chosen to avoid significant baseline wander and other artifacts. In each record, cardiologists annotated 30 to 100 representative beats in the final 5 minutes, 3,623 beats in all. They marked the onset, peak and end of the P wave, the onset and end of the QRS complex, the peak and end of the T wave (sometimes its onset too), and the peak and end of the U wave where one is present. A second cardiologist annotated 11 records independently. Every beat in every record also carries automatic boundaries from ecgpuwave.

Source Records
MIT-BIH Arrhythmia Database 15
MIT-BIH ST Change Database 6
MIT-BIH Supraventricular Arrhythmia Database 13
MIT-BIH Normal Sinus Rhythm Database 10
MIT-BIH Long-Term ECG Database 4
European ST-T Database 33
BIH sudden death patients 24

Changes from the Official Release

  • Packed into Parquet, one row per record, so the Dataset Viewer and datasets work directly.
  • Decoded the format-212 signal files into int16 arrays without changing any value.
  • Parsed all nine annotation types into lists. The only change to the text is that trailing NUL padding is stripped from aux_note.
  • Added waves, a structured table derived from the two cardiologist second-pass files, and preview, a rendered plot of the first annotated beats.
  • Added source_database, original_record and excerpt_start, taken from the documentation and the header comments.
  • The official package is included unchanged at original/qtdb-1.0.0.zip.
  • No signals or annotations were changed, added or removed.

Dataset Structure

default: one row per record (105 rows)

Column Content
record official record name, e.g. sel100, sele0104
source_database the database the excerpt comes from (table above)
original_record, excerpt_start source record and start time, from the header's xform comment
sampling_rate 250
n_samples 225,000, 224,999 or 224,993 (see notes)
lead_names as in the header, e.g. MLII, V5. Unnamed leads appear as ECG1, ECG2
signal raw 12-bit ADC values as int16, shape (2, n_samples) as (lead, sample)
adc_gain, adc_baseline, adc_resolution per lead, from the header (gain 0 in the header is stored as the WFDB default 200, see notes)
header the .hea file verbatim, including clinical comments where the source has them
header_original the older .hea- header shipped for 57 records, verbatim, otherwise null
annotated_beats number of cardiologist-annotated beats (entries in man)
atr, man, q1c, q2c, qt1, qt2, pu, pu0, pu1 each annotation file as a list of sample, symbol, subtype, chan, num, aux_note, or null if the record has no such file
waves one entry per marked wave in q1c and q2c (12,017 in all): annotator, wave (P, QRS, T, U), symbol, onset, peak, offset
preview PNG of both leads around the first annotated beats with the q1c marks shaded

Physical values in mV are (signal - adc_baseline) / adc_gain. All positions are 0-based sample indices at 250 Hz.

The annotation files, as described in the QTDB documentation:

File Content Records
atr reference beat labels from the source database 82 (none for the 23 records from the BIH sudden-death Holter tapes)
man the beats selected for manual annotation 105
q1c / q2c cardiologist 1 / 2 waveform boundaries, second pass 105 / 11
qt1 / qt2 cardiologist 1 / 2 waveform boundaries, first pass 105 / 11
pu / pu0 / pu1 automatic ecgpuwave boundaries for all beats, from both leads / lead 0 only / lead 1 only 105

In the boundary files, ( and ) mark a wave's onset and end, and their num field gives the wave type: 0 = P, 1 = QRS, 2 = T, 3 = U. In pu* files, the num of a T peak gives the T-wave shape: 0 normal, 1 inverted, 2 upwards only, 3 downwards only, 4 biphasic negative-positive, 5 biphasic positive-negative. In pu, chan tells which lead each mark belongs to.

waves: the derived waves of all records as one flat table

record, source_database, annotator, wave, symbol, onset, peak, offset. This table makes it easy to filter by wave type or compute intervals across the whole database.

How waves is derived

Each non-boundary mark in q1c or q2c becomes one wave. p becomes P, t becomes T, u becomes U, and beat labels such as N, A, B, Q or V become QRS. onset is set only if the mark directly before is ( with the matching num, and offset only if the mark directly after is ) with the matching num. Otherwise the boundary is null. Nothing is inferred.

Read before using the labels

  • T and U onsets are often missing. The protocol asks for the peak and end of T and U, and an onset only sometimes. In q1c, 1,412 of 3,542 T waves and 107 of 821 U waves have an onset. All P and QRS waves have both boundaries. The QT interval is QRS onset to T offset, and every T wave has an offset.
  • Only some beats are annotated. The cardiologist marks cover 30 to 100 beats in the last 5 minutes of each record. The rest of the signal is not background, so don't treat unmarked beats as negatives. The pu* files cover every beat, but they are an algorithm's output, not a reference.
  • The second annotator is partial. q2c exists for 11 records. In some of them, such as sel102, it marks only part of the beats that annotator 1 marked.
  • QRS marks vs man. The QRS marks in q1c and qt1 fall on the same beats as man, and q1c and qt1 agree with each other exactly. For 31 of the 3,623 beats, the mark sits a few samples from the man position, at most 23 samples (92 ms) away. The documentation gives 3,622 beats, while the files hold 3,623.
  • Record lengths differ. 53 records have 225,000 samples and 29 have 224,999. The 23 BIH sudden-death records have 224,993, because their header notes that lead 0 was delayed by 7 samples to align the leads.
  • Ten records are uncalibrated. The headers of the 4 Long-Term ECG records and sel820, sel821, sel847, sel853, sel883 and sel891 give gain 0, which in WFDB means uncalibrated. adc_gain holds 200, the WFDB default that wfdb also uses, so treat their mV values as nominal. header keeps the original 0.
  • Lead names and placements vary. The leads depend on the source database (for example MLII/V5, V4/D3, CM5/CC5), and 57 records have the unnamed leads ECG1/ECG2.

Usage

# pip install datasets pillow numpy
import numpy as np
from datasets import load_dataset

ds = load_dataset("dronefreak/QTDB", split="train")
row = ds[0]

signal = np.asarray(row["signal"], dtype=np.int16)            # (2, n_samples)
mv = (signal - np.asarray(row["adc_baseline"])[:, None]) / np.asarray(row["adc_gain"])[:, None]

# QT intervals (ms) from cardiologist 1: QRS onset -> following T end
waves = [w for w in row["waves"] if w["annotator"] == "q1c"]
qt = []
for i, w in enumerate(waves):
    if w["wave"] == "QRS" and w["onset"] is not None:
        t = next((x for x in waves[i + 1:] if x["wave"] in ("T", "QRS")), None)
        if t and t["wave"] == "T" and t["offset"] is not None:
            qt.append((t["offset"] - w["onset"]) * 1000 / 250)

# flat table of every annotated wave
flat = load_dataset("dronefreak/QTDB", "waves", split="train")

Dataset Sources

Citation

Please cite the original paper, the dataset and PhysioNet:

@inproceedings{laguna1997qtdb,
  author    = {Laguna, Pablo and Mark, Roger G. and Goldberger, Ary L. and Moody, George B.},
  title     = {A Database for Evaluation of Algorithms for Measurement of {QT} and Other Waveform Intervals in the {ECG}},
  booktitle = {Computers in Cardiology},
  volume    = {24},
  pages     = {673--676},
  year      = {1997}
}

@misc{PhysioNet-qtdb-1.0.0,
  author = {Laguna, Pablo and Mark, Roger G. and Goldberger, Ary L. and Moody, George B.},
  title  = {{QT Database}},
  year   = {1999},
  note   = {Version 1.0.0},
  doi    = {10.13026/C24K53},
  url    = {https://doi.org/10.13026/C24K53},
  publisher = {PhysioNet}
}

Pollard, T., Moody, B. E., Lehman, L., Gow, B., Fernandes, C., Xie, C., Johnson, A., Mark, R. G., & Heldt, T. (2026). PhysioNet as a global platform for biomedical research. Nature Health. https://doi.org/10.1038/s44360-026-00096-z


License

The QT Database is made available under the Open Data Commons Attribution License v1.0 (ODC-By): https://physionet.org/content/qtdb/view-license/1.0.0/. This repository contains information from the QT Database, published on PhysioNet. If you publicly use or redistribute this data or a work produced from it, keep this attribution and the license notice.

Downloads last month
-