Ординатура / Офтальмология / Английские материалы / Optics Learning by Computing with Examples using MATLAB_Dieter Moller_2007
.pdf
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 2n input and 2n−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ν + ∫ G(ν) cos(2πνy)dν. |
(9.15) |
|
−∞ |
0 |
|
The first term over the negative part of ν is the “mirror" image around 0 of the second term over the 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 26 64 points from 0 to 63, and 27 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 transformation 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.
9.1. FOURIER TRANSFORMATION |
343 |
F1FTSTEPS
Fourier Transform of a Single-Sided Step Function of Width 0 to d
The real FT is used. Orginal function i : 0 . . . 255
xi : ( (i) − (i − d)).
Global definition of d:
d ≡ 20.
Fourier transform
c : ff t(x)
N : last(c) N 128 j : 0 . . . N.
The first zero of FT is at 1/2d.
Fourier transform (inverse) of Fourier transform y : iff t(c)
N : last(c) N 128
344 |
9. FOURIER TRANSFORMATION AND FT-SPECTROSCOPY |
j : 0 . . . N.
1
2 · d
0.025.
FileFig 9.2 |
(F2FTSTEPDS) |
|
|
|
|
Real Fourier transformation: The Original Function is a double-sided step function, 256 points. The Fourier transform is a single-sided sin z/z function shown for 128 points. The inverse transformation reproduces the original function. The imaginary part is zero for the original, appears in the transform, and is zero again for the inverse transformation.
F2FTSTEPDS
Fourier Transform of a Double-Sided Step Function of Width 0 to d
The real FT is used. Orginal function
i : 0 . . . 255
xi : [ (i) − (i − d)] + (i − 255 + d).
9.1. FOURIER TRANSFORMATION |
345 |
Fourier transform |
|
c : ff t(x) |
|
N : last(c) N 128 |
|
j : 0 . . . N.
Global definition of d: d ≡ 20. The first zero of FT is at 1/2d.
Fourier transform (inverse) of Fourier transform
y : iff t(c)
N : last(z) N2 255
k : 0 . . . N2 1
0.025.
2 · d
Complex Fourier Transformation (cff t)
We saw in FileFigs 9.1 and 9.2 that the real Fourier transformation of the step function, which is real, has a nonzero imaginary part. The imaginary part of the transformations is different for the original singleand double-sided step functions. To learn more about real and complex Fourier transformations, we apply
346 |
9. FOURIER TRANSFORMATION AND FT-SPECTROSCOPY |
the complex Fourier transform in FileFig 9.3 to the single-sided step function and in FileFig 9.4 to the double-sided step function.
The complex Fourier transformation program (cff t) works with 2n input and 2n output points. The inverse transformation (icff t) works backwards with 2n input points and 2n output points. The imaginary part of the transformation is again different for the singleand double-sided original step functions. The inverse transformation reproduces the original function.
FileFig 9.3 (F3FTSTEPC1S)
Complex Fourier transformation: the original function is a one-sided step function, 256 points. The complex transformation is a double-sided sin z/z function shown for all 256 points. The second part is a mirror image of the first part. The inverse transformation reproduces the original function. The imaginary part is zero for the original, appears in the transform, and is zero again for the inverse transform.
F3FTSTEPC1S
Fourier Transform of a Single-Sided Step Function of Width 0 to d
The complex FT is used. Orginal function
i : 0 . . . 255
xi : [ (i) − (i − d)].
Global definition of d: d ≡ 20.
Fourier transform
c : cff t(x) |
N : last(c) |
N 255 |
j : 0 . . . N. |
9.1. FOURIER TRANSFORMATION |
347 |
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fourier transform (inverse) of Fourier transform
y : ff t(c) |
N : last(z) |
N2 255 |
k : 0 . . . N2. |
FileFig 9.4 (F4FTSTEPOSS)
Complex Fourier transformation; the original function is a double-sided step function, 256 points. The complex transformation is a double-sided sin x/x function shown for all 256 points. The second part is a mirror image of the first part. The inverse transformation reproduces the original function. The imaginary part is zero for the original, appears in the transform, and is zero again for the inverse transform.
F4FTSTEPOSS
Fourier Transform of a Double-Sided Step Function of Width 0 to d
The complex FT is used. Original function
i : 0 . . . 255
xi : [ (i) − (i − d)] + (i − 255 + d).
348 |
9. FOURIER TRANSFORMATION AND FT-SPECTROSCOPY |
Global definition of d: d ≡ 20.
Fourier transform
c : cff t(x) |
|
N : last(c) |
|||
|
N 255 |
j : 0 . . . N. |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Fourier transform (inverse) of Fourier transform
z : icff t(c) |
N2 : last(z) |
N2 255 |
k : 0 . . . N2. |
