You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Python 3.12.0 on a Windows 10 laptop with fcwt 0.1.18. I get the following error message:
File "C:\Temp\python_fun\GPR_USA\test_fcwt.py", line 39, in
scales_red_channel= fcwt.Scales(wav, fcwt.FCWT_LINFREQS, fs, f0, f1, fn)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Temp\python_3.12.0\Lib\site-packages\fcwt\fcwt.py", line 119, in init
_fcwt.Scales_swiginit(self, _fcwt.new_Scales(pwav, st, fs, f0, f1, fn))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: in method 'new_Scales', argument 3 of type 'int'
Activity
gabrieltxg commentedon Jul 10, 2025
Dear @ivan-marroquin and developers of this package,
Did you manage to fix this problem? I run the examples quite well but i run into this problem when I get to analyze my own data
Edit: Just realized that it's literally that: sampling rate "fn" should bean integer.