Hi!
I was trying to get signal analysis based on records of PPG-BP dataset, but when I run s = PPG(signal), I always get the message AssertionError: Signal must be at least fifteen seconds .
Looking on results available for download in this page, I noticed some files like this one:

Here we can see manual annotations (I think) and pyPPG detected fiducials, on an 2.1 seconds file.
I also tried to disable the ppg_len checking (s = PPG(signal, check_ppg_len=False)), and the code works. But when running fiducials = fpex.get_fiducials(s) , I got the error: AttributeError: 'list' object has no attribute 'astype'.
How can I get those fiducial points working as you did on PPG-BP dataset?
P.S.: On this issue, the user tiled the signal as much was needed to make the analysis.... and I don't know if it is a good practice... (honestly, I think isn't, but I don't have a better idea).
Thanks!
Hi!
I was trying to get signal analysis based on records of PPG-BP dataset, but when I run
s = PPG(signal), I always get the messageAssertionError: Signal must be at least fifteen seconds.Looking on results available for download in this page, I noticed some files like this one:
Here we can see manual annotations (I think) and pyPPG detected fiducials, on an 2.1 seconds file.
I also tried to disable the ppg_len checking (
s = PPG(signal, check_ppg_len=False)), and the code works. But when runningfiducials = fpex.get_fiducials(s), I got the error:AttributeError: 'list' object has no attribute 'astype'.How can I get those fiducial points working as you did on PPG-BP dataset?
P.S.: On this issue, the user tiled the signal as much was needed to make the analysis.... and I don't know if it is a good practice... (honestly, I think isn't, but I don't have a better idea).
Thanks!