Audio-Signal-Processing icon indicating copy to clipboard operation
Audio-Signal-Processing copied to clipboard

TypeError

Open inamdarmusab opened this issue 4 years ago • 6 comments

FourierTransformation = sp.fft(array) TypeError: 'module' object is not callable

inamdarmusab avatar Apr 17 '21 17:04 inamdarmusab

Maybe like so? -


from scipy import fft
transformedData = fft(array)

rudrathegreat avatar Apr 20 '21 02:04 rudrathegreat

not working @rudrathegreat

inamdarmusab avatar Apr 21 '21 08:04 inamdarmusab

hmmm.... is it the same error as before? The TypeError?

rudrathegreat avatar Apr 21 '21 08:04 rudrathegreat

Ok I see. What you are calling is a module, not a method. You have to do something like -


from scipy.fft import fft
transformedData = fft(array)

rudrathegreat avatar Apr 21 '21 09:04 rudrathegreat

FourierTransformation = sp.fft(array) TypeError: 'module' object is not callable

Same error please help

Saurabh641444 avatar Apr 23 '21 08:04 Saurabh641444

did u try what I showed? I think that is the solution

rudrathegreat avatar Apr 26 '21 05:04 rudrathegreat