paulvangentcom / heartrate_analysis_python

Python Heart Rate Analysis Package, for both PPG and ECG signals
MIT License
962 stars 322 forks source link

Speed up heartpy #76

Closed alexxony closed 3 years ago

alexxony commented 3 years ago

my ecg dataset is 48hour. so It will take so long time. can you give an advice of speed up?

paulvangentcom commented 3 years ago

Hi Alexxony,

Processing shouldn't take more than a few minutes, what is the sample rate and what flags do you use?

Paul

alexxony commented 3 years ago

I used my data; it is 48 hours ecg which includes extreme motion artifacts. i runned it on colab. it tooks over 10 hours.

+ enhance_ecg_peaks make omit of data?I applied it on data(len is 50000), applied data was 49991.

2021년 6월 28일 (월) 오후 10:30, Paul van Gent @.***>님이 작성:

Hi Alexxony,

Processing shouldn't take more than a few minutes, what is the sample rate and what flags do you use?

Paul

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paulvangentcom/heartrate_analysis_python/issues/76#issuecomment-869687168, or unsubscribe https://github.com/notifications/unsubscribe-auth/APHHE6R2EPHLSAJH75CYSADTVB2QDANCNFSM47NJLDYA .

paulvangentcom commented 3 years ago

That is definitely atypical, it should be a lot faster. Can you share the data with me so I can do some testing here?

Enhance peaks does not discard any data, it's a simple multiplication and scaling operation.

Paul

paulvangentcom commented 3 years ago

Closing due to inactivity, feel free to reopen if you still need assistance