'Is there any equivalent function of "fourier" in R in any python module/Library? [closed]

fourier(series,k) returns a matrix containing terms from a Fourier series( cos and sin), up to order K(parameter). Is there any equivalent function of "fourier" in R in any python module/Library? If not, then how to code it in python?



Solution 1:[1]

I can think of 2 options for fast fourier transforms in python:

scipy FFT

numpy FFT

you can also refer to this post

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 chacoff