Skip to content

[Question] How do you analyzed PPG-BP dataset with small duration signal? #29

@almirb

Description

@almirb

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:

image

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions