Skip to content
heartKIT
User guide
HELIA

Synthetic Datasets

By leveraging physioKIT, we are able to generate synthetic data for a variety of physiological signals, including ECG, PPG, and respiration. In addition to the signals, the tool also provides corresponding landmark fiducials and segmentation annotations. While not a replacement for real-world data, synthetic data can be useful in conjunction with real-world data for training and testing the models.

An ECG synthetic dataset generated using physioKIT. The dataset enables the generation of 12-lead ECG signals with a variety of heart conditions and noise levels along with segmentations and fiducial points.

A PPG synthetic dataset generated using physioKIT. The dataset enables the generation of a 1-lead PPG signal with segmentations and fiducials.

Python

Python example
import heartkit as hk
ds = hk.DatasetFactory.get('ecg-synthetic')(
num_pts=100,
params=dict(
sample_rate=1000, # Hz
duration=10, # seconds
heart_rate=(40, 120),
)
)
with ds.patient_data(patient_id=ds.patient_ids[0]) as pt:
ecg = pt["data"][:]
segs = pt["segmentations"][:]
fids = pt["fiducials"][:]

NA

The tool is available under BSD-3-Clause License.