record stringlengths 2 2 | pathologies listlengths 1 5 | pathology_names listlengths 1 5 | pathology_text stringlengths 1 15 | source_database stringclasses 3
values | source_record stringlengths 2 3 | source_start int64 26.6k 10.7M | source_end int64 41.9k 10.7M | source_lead_names listlengths 2 2 | sampling_rate int32 128 360 | n_samples int32 15.4k 43.2k | signal listlengths 2 2 | adc_gain listlengths 2 2 | adc_baseline listlengths 2 2 | units_header listlengths 2 2 | p_waves listlengths 1 207 | qrs listlengths 89 241 | n_p_waves int32 1 207 | n_qrs int32 89 241 | header stringlengths 111 123 | preview imagewidth (px) 700 700 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
01 | [
"BII",
"R"
] | [
"Atrioventricular block 2nd degree",
"Right bundle branch block beat"
] | BII, R | MIT-BIH Arrhythmia Database | 231 | 30,160 | 73,360 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-13328,-13136,-13136,-13039,-12943,-13039,-12847,-12751,-12847,-12943,-12847,-12943,-13232,-13136,(...TRUNCATED) | [
19246.4023,
23658.4838
] | [
-6688,
4377
] | [
"\\muV",
"\\muV"
] | [60,415,754,1101,1480,1810,2149,2480,2819,3157,3504,3810,4117,4431,4764,5060,5375,5698,5996,6319,662(...TRUNCATED) | [{"sample":120,"symbol":"R","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":477,"symbol":"R","(...TRUNCATED) | 133 | 103 | "01 2 360 43201\n01.dat 16 19246.4023(-6688)/\\muV 0 0 -13328 16121 0 \n01.dat 16 23658.4838(4377)/\(...TRUNCATED) | |
02 | [
"V",
"B"
] | [
"Ventricular premature beat",
"Ventricular bigeminy"
] | V, B | MIT-BIH Arrhythmia Database | 106 | 34,920 | 78,120 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-9844,-10029,-10121,-9751,-9751,-9289,-8735,-8180,-7718,-7810,-8180,-7903,-7625,-7348,-6886,-6147,(...TRUNCATED) | [
18486.3188,
26803.272
] | [
-5592,
1273
] | [
"\\muV",
"\\muV"
] | [333,1149,1796,2630,2967,3792,4634,4953,5761,6071,6878,7499,8315,8953,9548,10399,11011,11826,12451,1(...TRUNCATED) | [{"sample":360,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":548,"symbol":"V","(...TRUNCATED) | 81 | 136 | "02 2 360 43201\n02.dat 16 18486.3188(-5592)/\\muV 0 0 -9844 -3617 0 \n02.dat 16 26803.272(1273)/\\m(...TRUNCATED) | |
03 | [
"BIII"
] | [
"Atrioventricular block 3rd degree"
] | BIII | MIT-BIH Arrhythmia Database | 107 | 266,400 | 309,600 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-5646,-5543,-5543,-5595,-6059,-6677,-7090,-7296,-7090,-6729,-6626,-6626,-6987,-6987,-7090,-7245,-7(...TRUNCATED) | [
10312.1951,
16548.9899
] | [
-2965,
8192
] | [
"\\muV",
"\\muV"
] | [706,1923,2157,3190,3423,4391,4657,5310,6133,6399,7375,7649,8867,10109,10359,11378,11636,12861,13136(...TRUNCATED) | [{"sample":151,"symbol":"/","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":473,"symbol":"/","(...TRUNCATED) | 56 | 142 | "03 2 360 43201\n03.dat 16 10312.1951(-2965)/\\muV 0 0 -5646 30686 0 \n03.dat 16 16548.9899(8192)/\\(...TRUNCATED) | |
04 | [
"A"
] | [
"Atrial premature beat"
] | A | MIT-BIH Arrhythmia Database | 108 | 525,600 | 568,800 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-3390,-3390,-3911,-3564,-2521,-2347,-1999,-2521,-1999,-1651,-956,-1478,-782,-1304,-956,-608,-261,4(...TRUNCATED) | [
34766.0477,
15240.4651
] | [
3042,
2972
] | [
"\\muV",
"\\muV"
] | [235,577,927,1269,1645,1979,2355,2589,3098,3705,4090,4440,4808,5158,5483,5850,6226,6577,6944,7286,76(...TRUNCATED) | [{"sample":299,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":630,"symbol":"N","(...TRUNCATED) | 115 | 116 | "04 2 360 43201\n04.dat 16 34766.0477(3042)/\\muV 0 0 -3390 22679 0 \n04.dat 16 15240.4651(2972)/\\m(...TRUNCATED) | |
05 | [
"A",
"V"
] | [
"Atrial premature beat",
"Ventricular premature beat"
] | A, V | MIT-BIH Arrhythmia Database | 118 | 486,720 | 529,920 | [
"MLII",
"V1"
] | 360 | 43,201 | [[2217,2217,2217,2409,2024,1928,1928,1638,1928,1831,1928,1928,2217,2024,1735,1446,1446,1349,1060,964(...TRUNCATED) | [
19274.7059,
14826.6968
] | [
14167,
9860
] | [
"\\muV",
"\\muV"
] | [101,391,714,1004,1302,1601,1802,2190,2391,2794,3093,3399,3714,4028,4319,4649,4827,5238,5585,5899,62(...TRUNCATED) | [{"sample":169,"symbol":"R","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":465,"symbol":"R","(...TRUNCATED) | 139 | 140 | "05 2 360 43201\n05.dat 16 19274.7059(14167)/\\muV 0 0 2217 -14139 0 \n05.dat 16 14826.6968(9860)/\\(...TRUNCATED) | |
06 | [
"NOD",
"J"
] | [
"Nodal rhythm",
"Nodal beat"
] | NOD, J | MIT-BIH Arrhythmia Database | 124 | 104,400 | 147,600 | [
"MLII",
"V4"
] | 360 | 43,201 | [[-11838,-11785,-11997,-11997,-11997,-11891,-12050,-11997,-11944,-11785,-11468,-11415,-11363,-11257,(...TRUNCATED) | [
10570,
19190.0439
] | [
5338,
10219
] | [
"\\muV",
"\\muV"
] | [17555,17950,18321,18700,19071,19466,19870,20249,20652,21023,21410,21783,22171,22550,22929,23332,237(...TRUNCATED) | [{"sample":74,"symbol":"J","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":428,"symbol":"J","s(...TRUNCATED) | 65 | 113 | "06 2 360 43201\n06.dat 16 10570(5338)/\\muV 0 0 -11838 -8628 0 \n06.dat 16 19190.0439(10219)/\\muV (...TRUNCATED) | |
07 | [
"AFIB",
"NOD",
"J"
] | [
"Atrial fibrillation",
"Nodal rhythm",
"Nodal beat"
] | AFIB, NOD, J | MIT-BIH Arrhythmia Database | 201 | 124,200 | 167,400 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-11269,-11269,-11443,-11269,-11096,-11269,-11616,-11963,-12136,-11963,-11443,-12136,-12136,-12309,(...TRUNCATED) | [
34674.0741,
26858.1967
] | [
-2774,
21621
] | [
"\\muV",
"\\muV"
] | [14442,15424,15996,16487,17206,17706,18169,18633,19106,19551,20051,20478,21315,21751,22179,22590,229(...TRUNCATED) | [{"sample":58,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":304,"symbol":"N","s(...TRUNCATED) | 54 | 115 | "07 2 360 43201\n07.dat 16 34674.0741(-2774)/\\muV 0 0 -11269 25523 0 \n07.dat 16 26858.1967(21621)/(...TRUNCATED) | |
08 | [
"AFIB",
"AFL"
] | [
"Atrial fibrillation",
"Atrial flutter"
] | AFIB, AFL | MIT-BIH Arrhythmia Database | 203 | 572,400 | 615,600 | [
"MLII",
"V1"
] | 360 | 43,201 | [[3117,2754,2754,2972,3479,3769,3334,3189,3262,3479,3624,3624,3189,3262,3262,3334,3407,3479,3552,340(...TRUNCATED) | [
14498.6726,
23701.2658
] | [
6814,
-8829
] | [
"\\muV",
"\\muV"
] | [
-1
] | [{"sample":71,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":305,"symbol":"N","s(...TRUNCATED) | 1 | 194 | "08 2 360 43201\n08.dat 16 14498.6726(6814)/\\muV 0 0 3117 12275 0 \n08.dat 16 23701.2658(-8829)/\\m(...TRUNCATED) | |
09 | [
"E",
"A",
"SVTA"
] | [
"Ventricular escape beat",
"Atrial premature beat",
"Supraventricular tachyarrhythmia"
] | E, A, SVTA | MIT-BIH Arrhythmia Database | 207 | 594,000 | 637,200 | [
"MLII",
"V1"
] | 360 | 43,201 | [[3641,3294,3410,3063,3410,3525,4103,3988,3757,3525,3525,3641,3757,4103,3757,3525,3294,3525,3641,352(...TRUNCATED) | [
23116.0494,
24362.0818
] | [
7224,
2558
] | [
"\\muV",
"\\muV"
] | [1295,6127,8851,18682,19372,20001,21312,21970,22588,23969,25474,26158,28798,31299,31524,31983,32675,(...TRUNCATED) | [{"sample":137,"symbol":"E","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":555,"symbol":"E","(...TRUNCATED) | 24 | 139 | "09 2 360 43201\n09.dat 16 23116.0494(7224)/\\muV 0 0 3641 -13848 0 \n09.dat 16 24362.0818(2558)/\\m(...TRUNCATED) | |
10 | [
"V",
"T"
] | [
"Ventricular premature beat",
"Ventricular trigeminy"
] | V, T | MIT-BIH Arrhythmia Database | 208 | 414,000 | 457,200 | [
"MLII",
"V1"
] | 360 | 43,201 | [[-8688,-8795,-8581,-8688,-8849,-8956,-8849,-8634,-8742,-8634,-8527,-8795,-8688,-8581,-8634,-8634,-8(...TRUNCATED) | [
10725.6956,
16507.3048
] | [
-6382,
2311
] | [
"\\muV",
"\\muV"
] | [30,511,742,1223,1446,1910,2142,2631,2854,3318,3541,4021,4270,4751,4991,5455,5670,6133,6365,6837,708(...TRUNCATED) | [{"sample":97,"symbol":"N","subtype":0,"chan":0,"num":0,"aux_note":""},{"sample":306,"symbol":"V","s(...TRUNCATED) | 183 | 210 | "10 2 360 43201\n10.dat 16 10725.6956(-6382)/\\muV 0 0 -8688 -22741 0 \n10.dat 16 16507.3048(2311)/\(...TRUNCATED) |
BUT PDB: ECG Signals with Annotated P Waves
Unofficial mirror of the PhysioNet BUT PDB database v1.0.0: 50 two-minute two-lead ECG segments with 23 types of pathology, selected from three PhysioNet databases, with P-wave positions annotated by two experts, in a viewer-ready Parquet layout with exact samples.
Disclaimer
This repository is not an official release of BUT PDB.
The database was created by Lucie Maršánová, Andrea Nemcova, Radovan Smisek, Lukas Smital and Martin Vitek of the Department of Biomedical Engineering, Brno University of Technology, and is published by PhysioNet. The signals and QRS annotations come from the MIT-BIH Arrhythmia Database (Moody and Mark), the MIT-BIH Supraventricular Arrhythmia Database (Greenwald) and the Long Term AF Database (Petrutiu, Sahakian and Swiryn), all on PhysioNet. 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 people. 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 but-pdb-1.0.0.zip. Every file in it matched the published SHA256SUMS.txt. My format-16 reader and annotation parser return the same values as wfdb for every file. Every record was compared with its source segment in the original database (source files checked against their own checksums): all 50 signals equal the source in mV, and all 50 QRS files equal the source's beat annotations. Every row was read back from Parquet and compared with the source.
Dataset Overview
The experts chose two-minute segments with "interesting" pathologies, so pathologies are more frequent than usual. One expert annotated the P wave of every beat by hand in SignalPlant, the second checked them, and unclear parts were discussed until they agreed. The QRS positions and types come from the original databases.
| Source | Records | Rate | Samples |
|---|---|---|---|
| MIT-BIH Arrhythmia Database | 01-38 | 360 Hz | 43,201 |
| MIT-BIH Supraventricular Arrhythmia Database | 39-43 | 128 Hz | 15,360 |
| Long Term AF Database | 44-50 | 128 Hz | 15,360 |
The pathologies (abbreviations from the README): A atrial premature beat, AFIB atrial fibrillation, AFL atrial flutter, B ventricular bigeminy, BI/BII/BIII AV block of 1st/2nd/3rd degree, E ventricular escape beat, F fusion beat, IVR idioventricular rhythm, J nodal beat, L left bundle branch block beat, NA sinus arrhythmia, NOD nodal rhythm, P paced rhythm, PREX pre-excitation, R right bundle branch block beat, SVTA supraventricular tachyarrhythmia, T ventricular trigeminy, V ventricular premature beat, VFL ventricular flutter, VP ventricular pair, a aberrated atrial premature beat.
Changes from the Official Release
- Packed into Parquet so the Dataset Viewer and
datasetswork directly. Thedefaultconfig has one row per record and thebeatsconfig one row per QRS beat. - The source record, database and segment from
README.txtare added to each record, with the source's lead names, the pathologies split into a list with their names, and apreview. beatspairs each beat with the annotated P wave between the previous beat and this one.- The official zip is included unchanged in
original/. - No samples or annotations were changed.
Dataset Structure
default: one row per record (50 rows)
| Column | Content |
|---|---|
record |
01 to 50 |
pathologies, pathology_names, pathology_text |
from README.txt (the text verbatim) |
source_database, source_record, source_start, source_end, source_lead_names |
where the segment comes from (README positions; see notes) |
sampling_rate, n_samples, signal |
360 or 128 Hz; 2 x n_samples stored values (int16) |
adc_gain, adc_baseline, units_header |
physical value = (signal - baseline) / gain, in mV (see notes) |
p_waves, n_p_waves |
P-wave positions (samples) as in .pwave |
qrs, n_qrs |
all .qrs annotations (sample, symbol, aux note); n_qrs counts beats |
header, preview |
header verbatim; the first 10 s with P waves and QRS labels |
beats: one row per QRS beat (7,572 rows)
| Column | Content |
|---|---|
record, beat_index, sample, symbol |
the beat and its label from the source database |
p_wave, pr_samples, pr_ms |
the last annotated P wave after the previous beat, and the interval to this beat; null if none |
rr_prev_samples, sampling_rate, pathologies |
RR interval to the previous beat, and the record's rate and pathologies |
Read before using the data
- The headers say µV, but the values are mV. The gains are given per
\muV, but (signal − baseline) / gain equals the source databases' signals in mV (to within 7×10⁻⁵ mV). - Signals and annotations are offset by one sample. Each signal starts one sample before the
README.txtstart position in its source record, while the QRS annotations equal the source's beats counted from the README start. Relative to the waveform, every QRS mark here is one sample later than in the source (2.8 ms at 360 Hz, 7.8 ms at 128 Hz). The P waves were annotated on these signals. - Counts differ from the PhysioNet page. The page gives 5,437 P waves, 7,638 QRS complexes and 2,201 QRS complexes without a P wave. The files hold 5,431 P-wave annotations; 7,638 is the number of all
.qrsannotations, of which 7,572 are beats and 66 are other annotations (such as rhythm changes); and 2,201 equals 7,638 − 5,437. Counted per beat, 2,226 beats have no annotated P wave since the previous beat. - Two P waves sit at sample −1. Records 08 and 48 (atrial fibrillation) each have a single P-wave annotation, at −1, outside the record.
- Several P waves before one beat. In 80 beats more than one P wave falls since the previous beat (e.g. AV block, flutter);
p_waveis the last one, and all are indefault.p_waves. - The README and the page table differ for 11 records. For example, the README gives 37 as
'A, FIB', but 37 is in neither the A nor the AFIB list; 31 and 32 listVT, which is not in the table; the table puts 3 under P (paced) and 19 is not under F, while the README has 3 as'BIII'and 19 as'P, F, V'.pathologiesfollows the README. - Small dataset. Several records share a source record (e.g. 01 and 13 from MIT-BIH 231, 31 and 32 from 205), so keep source records on one side of a split.
Usage
# pip install datasets numpy
import numpy as np
from datasets import load_dataset
ds = load_dataset("dronefreak/BUT-PDB", split="train")
row = ds[0]
mv = (np.asarray(row["signal"]) - np.asarray(row["adc_baseline"])[:, None]) / np.asarray(row["adc_gain"])[:, None]
print(row["record"], row["pathologies"], row["sampling_rate"], mv.shape, len(row["p_waves"]))
beats = load_dataset("dronefreak/BUT-PDB", "beats", split="train")
with_p = beats.filter(lambda b: b["p_wave"] is not None)
Dataset Sources
Citation
Please cite BUT PDB and PhysioNet:
@article{PhysioNet-but-pdb-1.0.0,
author = {Maršánová, Lucie and Nemcova, Andrea and Smisek, Radovan and Smital, Lukas and Vitek, Martin},
title = {{Brno University of Technology ECG Signal Database with Annotations of P Wave (BUT PDB)}},
journal = {{PhysioNet}},
year = {2021},
note = {Version 1.0.0},
doi = {10.13026/hwvj-5b53}
}
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
The segments come from the MIT-BIH Arrhythmia Database (https://doi.org/10.13026/C2F305), the MIT-BIH Supraventricular Arrhythmia Database (https://doi.org/10.13026/C2V30W) and the Long Term AF Database (https://doi.org/10.13026/C2QG6Q); please cite those as well where relevant.
License
BUT PDB is made available under the Creative Commons Attribution 4.0 International Public License (CC BY 4.0): https://physionet.org/content/but-pdb/view-license/1.0.0/. This mirror repackages the data (see Changes from the Official Release) and credits the authors as above.
- Downloads last month
- 57