Skip to content

Tasks

Introduction

HeartKit provides several built-in heart-monitoring related tasks. Each task is designed to address a unique aspect such as ECG denoising, segmentation, and rhythm/beat classification. The tasks are designed to be modular and can be used independently or in combination to address specific use cases. In addition to the built-in tasks, custom tasks can be created by extending the HKTask base class and registering it with the task factory.

Available Tasks

Denoise

ECG denoising is the process of removing noise from an ECG signal. This task is useful for improving the quality of the ECG signal and for further downstream tasks such as segmentation.

Segmentation

ECG segmentation is the process of delineating an ECG signal into individual waves (e.g. P-wave, QRS, T-wave). This task is useful for extracting features (e.g. HRV) from the ECG signal and for further analysis such as rhythm classification.

Rhythm

Rhythm classification is the process of identifying abnormal heart rhythms, also known as arrhythmias, such as atrial fibrillation (AFIB) and atrial flutter (AFL). Cardiovascular diseases such as AFIB are a leading cause of morbidity and mortality worldwide. Being able to remotely identify heart arrhtyhmias is important for early detection and intervention.

Beat

Beat classification is the process of identifying and classifying individual heart beats such as normal, premature, and escape beats. By identifying abnormal heart beats, it is possible to detect and monitor various heart conditions.

Bring-Your-Own-Task (BYOT)

Bring-Your-Own-Task (BYOT) is a feature that allows users to create custom tasks by extending the HKTask base class and registering it with the task factory. This feature is useful for addressing specific use cases that are not covered by the built-in tasks.


Recap

ECG Denoising

Remove noise from ECG signal.
Refer to Denoise Task for more details.

ECG Segmentation

Delineate ECG signal into individual waves (e.g. P-wave, QRS, T-wave).
Refer to Segmentation Task for more details.

Rhythm Classification

Identify rhythm-level arrhythmias such as AFIB and AFL.
Refer to Rhythm Task for more details.

Beat Classification

Identify premature and escape beats.
Refer to Beat Task for more details.

Diagnostic Classification

Assign diagnostic labels to an ECG signal.
Refer to Diagnostic Task for more details.