rhenanbartels / hrv

A Python package for heart rate variability analysis
BSD 3-Clause "New" or "Revised" License
198 stars 58 forks source link

frequency_domain() method #12

Closed hsiaocy closed 6 years ago

hsiaocy commented 6 years ago

Hi @rhenanbartels, thanks for this convenient repository. I successfully install and import the hrv package, but I have a problem while using the frequency_domain() method. The issue is, I consider the parameter 'fs' stands for the sampling frequency due to the lack of docstring in the method. So I put in the value of sample frequency and obtain 'nan' value back without error. Could you please help to explain the parameter? Thanks a lot!

hsiaocy commented 6 years ago

Okay, I saw the parameter 'fs' in the 'welch' method of the scipy package. I do misunderstand it, sorry.