Harmonic distortion of a input signal

Gregory Ewing greg.ewing at canterbury.ac.nz
Sun May 19 21:09:36 EDT 2013


killybeard91 at gmail.com wrote:
> One more question. Function np.argmax returns max of non-complex numbers ? 
> Because FFT array of my signal is complex.

You'll want the magnitudes of the complex numbers.
Actually the squares of the magnitudes (assuming the
data from the oscilloscope represents voltages),
because you're after a ratio of powers.

-- 
Greg




More information about the Python-list mailing list