A python implementation of ecgsyn from physionet
ECGSYN: A realistic ECG waveform generator
- python: 3.6
- numpy: 1.15
- scipy: 1.10
- replaced ide45 with ideint
- converted indice from matlab format (starting from 1) to python form (starting from 0)
To generate by default parameters, simply run:
(sig, idx) = ecgsyn()
where sig is the generated ECG sequences, and idx is the PQRST peak indice sequence marked as [0,1,2,3,4] respectively (-1 for others).