pwtools
Simple FFT function for interactive use.
y (1d array to fft)
dt (float) – time step
faxis, fft(y)
Examples
>>> t = linspace(0,1,200) >>> x = sin(2*pi*10*t) + sin(2*pi*20*t) >>> f,d = signal.ezfft(x, dt=t[1]-t[0]) >>> plot(f,abs(d))