paulvangentcom / heartrate_analysis_python

Python Heart Rate Analysis Package, for both PPG and ECG signals
MIT License
930 stars 321 forks source link

TypeError: 'numpy.float64' object cannot be interpreted as an integer #94

Open MichaelMakelko opened 2 years ago

MichaelMakelko commented 2 years ago

...\heartrate_analysis_python-1.1\heartpy\heartpy.py", line 518, in calc_fd_measures rr_x_new = np.linspace(rr_x[0], rr_x[-1], rr_x[-1]) File "<__array_function__ internals>", line 180, in linspace File "C:\Python310\lib\site-packages\numpy\core\function_base.py", line 120, in linspace num = operator.index(num) TypeError: 'numpy.float64' object cannot be interpreted as an integer