PIA-Group / BioSPPy

Biosignal Processing in Python
Other
577 stars 273 forks source link

ValueError: too many values to unpack (expected 1) #83

Closed FilippoL closed 3 years ago

FilippoL commented 3 years ago

In signals/bvp.py at line 76, you are missing another variable containing the unpacked result of the find_onsets_elgendi2013 function.

To replicate the ValueError just call the bvp.bvp() function on some pulse data.

In my example:

biosppy.bvp.bvp(pulse, 256)

afonsocraposo commented 3 years ago

Thank you for bringing this up. I'll fix it as soon as possible!