Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/etcetra7n/fourier-transform
- Owner: etcetra7n
- Created: 2024-06-21T05:11:57.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-11-04T14:22:43.000Z (2 months ago)
- Last Synced: 2024-11-04T15:28:22.959Z (2 months ago)
- Topics: educational-project, fourier-transform, maths, matplotlib, python
- Language: Python
- Homepage:
- Size: 2.38 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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