Aura-healthcare / hrv-analysis

Package for Heart Rate Variability analysis in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

UserWarning from spectral.py when using get_time_domain_features

melissamullen opened this issue · comments

I am getting the following warning when passing a list of heart rate PPG values to get_time_domain_features.

/Users/mqm0624/miniconda3/envs/mist/lib/python3.8/site-packages/scipy/signal/spectral.py:1961: UserWarning: nperseg = 256 is greater than input length  = 10, using nperseg = 10
  warnings.warn('nperseg = {0:d} is greater than input length '

Hi Melissa,

Thanks for your question. Could you show me a code snippet, please ? :)

Have a good day,
Robin