r/Python • • Oct 14 '19

When Python Meets Fourier Transform

2.3k Upvotes

122 comments sorted by

View all comments

4

u/[deleted] Oct 14 '19

is it possible to inverse the circle order? Big one spinning around?

10

u/glacierre2 Oct 14 '19

Yes it is, but instead of a pleasant "clock-like"video you would get a shaky bunch of circles.

0

u/[deleted] Oct 14 '19 edited Oct 14 '19

Thats not how the fourier series works, so no (afaik) edit:im wrong

10

u/wewbull Oct 14 '19

Fourier series are a sum of frequencies. Addition is transitive, so yes /u/32BitLongSucks, the order could be anything. It's just that having the highest frequency at the centre would make the whole thing spin very fast.

1

u/[deleted] Oct 14 '19

so the order isn't amplitude it's frequency, makes sense! Mixing the elements could create some fun effects, but putting the highest frequency first seems like guaranteed chaos - could be fun, probably isn't.

-6

u/vaiv101 Oct 14 '19

Nope, this is not possible, for a better explanation of this, you can read about Fourier transformation

6

u/[deleted] Oct 14 '19

i figured the fourier series is just a sum so the order of the elements shouldn't be important

-5

u/vaiv101 Oct 14 '19

I believe you have some doubts, have a look at this video https://youtu.be/r6sGWTCMz2k

4

u/Meowkit Oct 14 '19

I believe you don’t understand what you are linking to.

Summation is commutative, adding the circles can be done in any order, thus the circles could be displayed/linked in any order.