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: 4 months 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T06:13:40.000Z (4 months ago)
- Last Synced: 2025-03-11T07:24:40.023Z (4 months ago)
- Topics: educational-project, fourier-transform, maths, matplotlib, python
- Language: Python
- Homepage:
- Size: 2.51 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)
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