PIA-Group / BioSPPy

Biosignal Processing in Python
Other
569 stars 273 forks source link

Minimum required r-peaks not mentioned in documentation #78

Closed sgolestanian closed 3 years ago

sgolestanian commented 3 years ago

I was working with biosppy.signals.ecg.ecg and faced this error that says there is a minimum for number of beats to calculate heart rate. Please mention the minimum required heart beat in your documentation.

BTW I'm not using heart rate and just want the rpeaks, which method is the equivalent to this method's rpeaks?

hugoslv commented 3 years ago

Hi,

Many thanks for your message. The individual detectors are available in the ecg.py module: https://github.com/PIA-Group/BioSPPy/blob/master/biosppy/signals/ecg.py#L515 https://github.com/PIA-Group/BioSPPy/blob/master/biosppy/signals/ecg.py#L681 https://github.com/PIA-Group/BioSPPy/blob/master/biosppy/signals/ecg.py#L896 https://github.com/PIA-Group/BioSPPy/blob/master/biosppy/signals/ecg.py#L1206

For what you are seeking maybe it is the best option. If you have further questions, let us know.

Best regards, Hugo Silva

On 05 Apr 2021, at 12:32, sgolestanian @.***> wrote:

I was working with biosppy.signals.ecg.ecg and faced this error that says there is a minimum for number of beats to calculate heart rate. Please mention the minimum required heart beat in your documentation.

BTW I'm not using heart rate and just want the rpeaks, which method is the equivalent to this method's rpeaks?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

afonsocraposo commented 3 years ago

Closing this due to no further responses. Feel free to comment if something is unclear.