rhenanbartels / hrv

A Python package for heart rate variability analysis
BSD 3-Clause "New" or "Revised" License
194 stars 57 forks source link

Polar files #24

Closed sambilbow closed 3 years ago

sambilbow commented 3 years ago

Hi, I saw on the docs that this takes .hrm polar files.

I have an H10 but haven't come across any way of getting the .hrm files from it yet, do you know how I can access them so I can provide your hrv tool the RRI?

Thanks

rhenanbartels commented 3 years ago

Hi @sambilbow, how are you doing? Sorry for the late reply, I am returning from vacation.

I've googled some specs about the H10 chest strap and found this answer from Polar support:

https://support.polar.com/en/support/how_long_a_training_session_can_i_record_with_h10 "H10 records HR data once per second and ..."

As far as I know, for an accurate Heart Rate Variability analysis, it is recommended to have the Heart-Rate recorded Beat-by-Beat, otherwise, Time and Frequency Domain methods won't be able to extract information about Heart-Rate fluctuations. For instance, Polar RS800cx has a sampling frequency of 1000Hz, so Interbeat intervals are recorded with millisecond precision.

Despite that, probably there is a way to export the recorded data to a .txt and/or .csv file, which the hrvmodule supports.

Let me know if I can help to analyse .txt or .csv files.

Cheers