Computational Physics (Part 3)

[TOC]

7. Fourier Transform

7.1 Fourier Transform

Definition:

Convolution Theorem:

Parseval Theorem:

7.2 Discrete Fourier transform (DFT)

Basic idea: We use discrete points in the time domain to compute discrete points in the frequency domain

Time domain:

Freq domain:

Then the generic form of DFT is

define

Finally we have

Inverse Fourier transform

Parseval’s theorem in discrete form

and the corresponding convolution

7.3 Fast Fourier Transform (FFT)

7.3.1 Generic From

The principle of the fast Fourier transform comes from Danielson and Lanczos’ discovery of the equivalent transformation, that is, the Fourier transform of a discrete sequence of length 𝑁 can be written as the sum of the Fourier transforms of two discrete sequences of length 𝑁/2, where the two half-length sequences correspond to odd lattice points and even lattice points of the original sequence.

where

In the other hand, we can show easily

In the specific iteration process, we can use a list with size to realize the iteration. the only thing we need to do is pay attention to the rank of the list.

image-20241212130210137

We can also use series decomposition method to increase the efficiency of the iteration

Suppose

and are both the power of 2. Then we have

which means we can calculate transformation of first and then for the . It can be accelerated with the parallel computing.

Since generically the function in time domain is real but the Fourier transformation is in the complex domain, we can accelerate the calculation by combine two set of data. Namely,

and

Also we can choose

7.3.2 Sine & Cosine Transform

First Method:

construct a odd function

and do the FFT

Another Method:

And do the real Fourier transform

Finally obtain

7.4 Fourier Integral

Basic idea: using the interpolation method and FFT to calculate the integral.

Integral:

Interpolation:

FFT:

where and

7.5 Nonequal Interval Spectrum Analysis

Basic idea: use the interpolation method to construct a unit interval time domain dataset.

7.5.1 Lomb Method

Lomb gives a estimation of Periodogram

where