Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/etcetra7n/fourier-transform

Demonstration of fourier transform and inverse made in python for educational purpose
https://github.com/etcetra7n/fourier-transform

educational-project fourier-transform maths matplotlib python

Last synced: about 1 month ago
JSON representation

Demonstration of fourier transform and inverse made in python for educational purpose

Awesome Lists containing this project

README

        

# Fourier Transform

This is a demonstration of fourier transform and fourier inverse made in
python using the `scipy.fft` module (for educational purpose)

![Fourier transform demonstration](fft_demonstration.png "Fourier transform demonstration")

This demonstraion uses combination of 3 sine waves of frequency 2Hz, 4Hz and 8Hz.

You may play with the `driver.py` file to try this with other frequencies

```py
def f(x):
x = 2*np.pi*x
return (np.sin(2*x)+np.sin(4*x)+np.sin(8*x))
```
Just change the coefficient of x inside the sin functions to change the frequency.
You may also add more number of sin function by just adding more `np.sin` functions