You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The issue is due to the current SampleECG.txt containing a signal of too short duration for a proper PSD computation. It might happen that I have replaced the SampleECG.txt over the last months and didn't update the output results in the pyHRV documentation.
The new update will come with a feature load sample NNI series which come with pyHRV in order to avoid this confusion.
I will fix the documentation along with it and apologies for the confusion that this caused!
Edit: Accidentally closed this issue and my reply too soon. I reopened this issue and completed my response.
Hello Pedro,
When I try to run the frequency domain Welch PSD example with SampleECG.txt file I got a different plot figure
Example code:
`
import biosppy
import pyhrv.frequency_domain as fd
from opensignalsreader import OpenSignalsReader
signal = OpenSignalsReader('SampleECG.txt').signal('ECG')
rpeaks = biosppy.signals.ecg.ecg(signal)[2]
result = fd.welch_psd(rpeaks=rpeaks)`
When the result should be:
The text was updated successfully, but these errors were encountered: