Skip to content

Question about local HRV Value #42

@Drzhivago264

Description

@Drzhivago264

Hello, thank you for the repo, I am modifying your work for a school project.
However, I do not have prior knowledge about heart rate. Since the value produce by my H9 in OpenHRV is significantly lower than in a mobile app (SparkVue) so I guess that I have done something wrong.

Currently, I am emitting HR like this:

    def update_hrv_buffer(self, local_hrv):
        if not self._hrv_buffer[0]:
            return  # wait until buffer is full
        threshold = max(map(abs, self._hrv_buffer)) * 4
        if local_hrv > threshold:  
            print(f"Correcting outlier HRV {local_hrv} to {threshold}")
            local_hrv = threshold
        self._hrv_buffer.append(local_hrv)
        self.hr_update.emit(f"Heart Rate: {str(local_hrv)}")
        self.update_mean_hrv_buffer()

Here is the result:
Screenshot from 2024-06-28 19-52-11

How should I interpret the local_hrv and how can I convert it to normal heart rate (I am not quite sure what is normal but probably somewhere around 80?)
Thank you for your time and help

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions