Harmonic distortion of a input signal

Chris Angelico rosuav at gmail.com
Sun May 19 11:34:53 EDT 2013


On Sun, May 19, 2013 at 8:52 PM, Anti Log <antilogeffects at gmail.com> wrote:
> total distortion of a harmonics

I selected this part of your post, right-clicked, and Chrome offered
to do a Google search for those words. And, surprise surprise, the
first hit is a page that appears to have the mathematics behind it.
Now, I don't know how much you trust Google and Wikipedia, but I'm
sure you can confirm the maths in some other way.

My guess is that there's no function in numpy to do what you're
asking... but it shouldn't be too hard to render the formula/e given
into Python code. Python's pretty expressive when it comes to algebra.
:)

ChrisA



More information about the Python-list mailing list