r/Python • • Oct 14 '19

When Python Meets Fourier Transform

2.3k Upvotes

122 comments sorted by

View all comments

Show parent comments

9

u/Helicon_Amateur Oct 14 '19

Can you elaborate?

89

u/[deleted] Oct 14 '19

"Hey, what's a fourier transform?"

Option 1: Present a bunch of equations

Option 2: The Fourier transform (FT) decomposes a function of time (a signal) into its constituent frequencies. This is similar to the way a musical chord can be expressed in terms of the volumes and frequencies of its constituent notes. The term Fourier transform refers to both the frequency domain representation and the mathematical operation that associates the frequency domain representation to a function of time. The Fourier transform of a function of time is itself a complex-valued function of frequency, whose magnitude (modulus) represents the amount of that frequency present in the original function, and whose argument is the phase offset of the basic sinusoid in that frequency. The Fourier transform is not limited to functions of time, but the domain of the original function is commonly referred to as the time domain. There is also an inverse Fourier transform that mathematically synthesizes the original function from its frequency domain representation.

Option 3: Here's a spirograph drawing a dog

0

u/[deleted] Oct 14 '19

[deleted]

24

u/ForgottenWatchtower Oct 14 '19

Nothing is stopping you. Plenty of info freely available on the web. 3b1b is a great YT channel to refresh/learn many mathematical fundamentals, including Fourier transforms.