问题已解决!!!!
========================分割线===============================
Traceback (most recent call last):
File "F:\python\lib\site-packages\numpy\core\function_base.py", line 117, in linspace
num = operator.index(num)
TypeError: 'float' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\PyCharm\hundun\venv\signal_v1.py", line 10, in <module>
fre=np.linspace(0,fs/2,fft_size/2+1)
File "<__array_function__ internals>", line 6, in linspace
File "F:\python\lib\site-packages\numpy\core\function_bas