ECGWaveForm#
- class torch_ecg.utils.ECGWaveForm(name: str, onset: float | int, offset: float | int, peak: float | int, duration: float | int)[source]#
Bases:
objectDataclass for ECG waveform information.
- duration#
Suration of the wave, with units in milliseconds,
nanfor unknown/unannotated duration.
TODO
Add fs field to indicate the sampling rate of the waveform, and make duration a property computed from fs, onset, and offset.