Brugada-HUCA: 12-Lead ECG Recordings for the Study of Brugada Syndrome 2.0.0

File: <base>/README.md (5,212 bytes)
# Brugada-HUCA

## 12-Lead ECG Recordings for the Study of Brugada Syndrome

Version 2.0.0

Brugada-HUCA contains one 12-lead electrocardiogram (ECG) recording from each of 363 individuals evaluated at Hospital Universitario Central de Asturias (HUCA), Spain. The metadata include verified diagnosis labels, a history of spontaneous type I pattern, and the basal pattern of the included ECG.

## Signal files

| Property | Value |
| --- | --- |
| Subjects and recordings | 363 |
| Leads | I, II, III, aVR, aVL, aVF, V1, V2, V3, V4, V5, V6 |
| Sampling frequency in the distributed files | 100 Hz |
| Samples per lead | 1200 |
| Duration | 12 seconds |
| Format | WFDB, paired .dat and .hea files |
| Physical signal units | mV, as specified in the WFDB headers |

The waveform files and headers are byte-identical to those in the Zenodo and PhysioNet 1.0.0 releases. No waveform processing or resampling was performed when preparing version 2.0.0. The distributed files specify 100 Hz. This statement does not establish the original device acquisition frequency or exclude processing before version 1.0.0.

## Files

```text
brugada-huca-2.0.0/
    README.md
    LICENSE
    CHANGELOG.md
    metadata.csv
    metadata_dictionary.csv
    RECORDS
    SHA256SUMS.txt
    files/
        188981/
            188981.dat
            188981.hea
        ...
```

RECORDS lists 363 unique record paths without filename extensions. Each record has one .dat file, one .hea file, and one metadata row. SHA256SUMS.txt contains the SHA-256 digest of every other file in this package.

## Metadata

metadata.csv contains 363 rows. It has no missing values in the released fields. Join records by patient_id.

| Variable | Meaning and codes |
| --- | --- |
| patient_id | Pseudonymous subject identifier matching the ECG filename |
| sudden_death | Sudden cardiac death indicator. 0 = no, 1 = yes |
| any_basal_pattern | History of an ECG showing a spontaneous type I Brugada pattern at any time. 0 = no, 1 = yes |
| basal_pattern | Category of the ECG included here. 0 = non-pathological basal pattern, 1 = pathological basal pattern, 2 = prominent type I basal pattern |
| brugada | Diagnosis of Brugada syndrome. 0 = no, 1 = yes |

any_basal_pattern describes the patient's history. basal_pattern describes the included ECG. These variables must not be used interchangeably. The package does not include per-record spontaneous versus drug-provoked acquisition context. Different values in the two variables are not sufficient on their own to establish an annotation error.

Code 2 of basal_pattern is a qualitative annotation of a prominent type I pattern. No quantitative prominence criterion is supplied. The codes are categories, not a numerical severity scale. A brugada value of 0 does not establish that the subject is free of other cardiac conditions.

See metadata_dictionary.csv for the complete coding information.

## Distribution of annotations

| Variable | Counts |
| --- | --- |
| brugada | 0 = 201, 1 = 162 |
| sudden_death | 0 = 352, 1 = 11 |
| any_basal_pattern | 0 = 317, 1 = 46 |
| basal_pattern | 0 = 329, 1 = 27, 2 = 7 |

These counts describe version 2.0.0. They must not be attributed to version 1.0.0. Changes to diagnosis labels affect class balance and prevent direct comparison of model scores across versions unless the annotation version and evaluation cohort are controlled.

## Load the data

The example requires Python, pandas, and wfdb. Run it from the extracted dataset directory.

```python
from pathlib import Path
import pandas as pd
import wfdb

root = Path('.')
metadata = pd.read_csv(root / 'metadata.csv', dtype={'patient_id': str})
patient_id = metadata.loc[0, 'patient_id']
record_path = root / 'files' / patient_id / patient_id
record = wfdb.rdrecord(str(record_path))

print(metadata['brugada'].value_counts().sort_index())
print(record.p_signal.shape)  # (1200, 12)
print(record.fs)              # 100
print(record.sig_name)
```

Use the header calibration when converting stored integers to physical units. Keep the metadata version with any derived analysis or model evaluation.

## Scope and limitations

This is a single-centre dataset of short ECG recordings. It supports research into ECG patterns and Brugada syndrome. The annotations include diagnosis, a history of spontaneous type I pattern, and a category for the included ECG. Diagnosis and the pattern of a single ECG are different concepts.

The package does not provide detailed event timing for sudden_death, a quantitative definition of pattern prominence, or the original acquisition and preprocessing history. The limited number of subjects and the clinical selection of the cohort must be considered when interpreting research results.

## Ethics

The original PhysioNet publication reports anonymisation of the data and approval by the Regional Clinical Research Ethics Committee of the Principality of Asturias, No. 35/2013. Version 2.0.0 uses the same subjects and waveform files as Version 1.0.0. The published ethics statement is available at https://physionet.org/content/brugada-huca/1.0.0/.

## Availability and citation

Check the PhysioNet project page: https://physionet.org/content/brugada-huca/