Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Fourier

The function fourier_approx in fourier.py allows to calculate the Fourier transform of a function y = f(x) that has been sampled in a grid of points x. That is, it will return values (k, F(k)) such that

$$F(k) = \frac{1}{\sqrt{2 \pi}} \int dx \ e^{i k x} f(x)$$

where k is a vector of equally spaced and ordered values in reciprocal space.

About

Approximating the (continuous) Fourier transform using FFTs

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages