342 9. FOURIER TRANSFORMATION AND FT-SPECTROSCOPY
Real Fourier Transformation (ff t)
This program (ff t) is used for real input data and works with 2
n
input and 2
n−1
output points. For a real Fourier transformation we have, from Eq. (9.4),
S(y) 2
∞
∫
0
G(ν) cos(2πνy)dν. (9.14)
This integral may be written as
0
∫
−∞
G(ν) cos(2πνy)dν +
∞
∫
0
G(ν) cos(2πνy)dν. (9.15)
The first term over the negative part of ν is the “mirror" image around 0 of the
second term overthe positive part. Negative frequencies are a formality in Fourier
transformations. They may be eliminated in order to correlate to observable
results.
The input data of the Fast Fourier transformation is arranged in such a way
that the negative part of the Fourier transformation follows the positive part. Let
us assume we have a total of 128 points. The positive part is from point 1 to 64,
and the negative part follows as a “mirror image" from 65 to 128. The frequency
content of the negative part is the same as that of the positive part. The fast
Fourier transformation therefore considers only one part, analyzes it, and plots
the determined frequencies for only 1/2 of the total points (in our example for
64 points). The inverse transformation (iff t ) works backward. It has 64 input
points, but takes care of the imaginary part and again ends up with 128 output
points. The Fourier transform program of Mathcad numbers 2
6
64 points from
0 to 63, and 2
7
128 points from 0 to 127.
We demonstrate in FileFig 9.1 the real Fourier transformation of a single-sided
step function with 256 points. For comparison in FileFig 9.2, we demonstrate the
real Fourier transformation of a double-sided step function with 256 points. Both
show the same transformation with 128 points, and the inverse transformation
for both is the original function.
FileFig 9.1 (F1FTSTEPS)
Real:The original function is a one-sided step function, 256 points.The transform
is a single-sided sin z/z function shown for 128 points. The inverse transforma-
tion reproduces the original function with 128 points. The imaginary part is
zero for the original, appears in the transform, and is zero again for the inverse
transformation.