S13 · Lesson 14 · Wave optics lab
Reducing any train of lenses and gaps to one ray-transfer matrix with its focal length and focal points, computing a slit's far field by discrete Fourier transform, chaining Jones matrices, and finding the Airy disk's zero and encircled energy from Bessel functions
Lessons 1 to 13 gave closed forms: the two-lens focal length, sinc² for a slit's far field, Jones matrices for polarizers and plates, 1.22λ/D for the Airy disk. Each is the special case of a computation that's just as easy to write in general. In this lab you'll write those computations and check them against the formulas: the focal length and focal points of any lens train, the far field of any aperture, any chain of polarization elements, and the Airy pattern's energy, computed from its Bessel functions.
- The curve is the fraction of an Airy pattern's power inside radius r, against r in units of : , with the first dark ring at r = 1.22.
- 83.8% of the power lies inside the first dark ring and 91% inside the second.
- Ringing in the curve's slope marks the bright rings, each carrying less than the last.
Predict
A 100 mm lens and a 50 mm lens are 30 mm apart. Where does a collimated beam entering the first come to a focus?
The system matrix is , so the effective focal length is = 41.7 mm, but measured from the second lens the focus lies = 29.2 mm away: the back focal distance. The gap reduces the combination's power below the 1/100 + 1/50 of touching lenses, and the focal length and focal distance differ because the principal plane isn't at either lens.
Name it
What the lab computes
- Lens systems: the system matrix is the product of the elements' matrices, last element on the left; its effective focal length is , the back focal distance (from the last element) , the front focal distance (before the first) .
- Far field by DFT: sampling an aperture's field and taking its discrete Fourier transform gives its Fraunhofer pattern, with frequency index k corresponding to and screen position .
- Jones calculus: a cascade's matrix is the product of its elements' matrices, last element on the left; an element rotated by θ is .
- The Airy pattern: intensity with ; first zero at v = 3.8317 (r = 1.22λf/D); encircled energy . Bessel functions follow from .
Check
Write system_matrix(elements): the 2 × 2 ray-transfer matrix of a list of ("space", d) and ("lens", f) elements in the order light meets them, and focal_data(elements) returning (effective focal length, back focal distance, front focal distance).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write far_field(aperture): the normalized intensity pattern of a sampled 1D aperture by DFT (|X_k|² over |X_0|², for k from 0 to N/2), and first_zero_index(aperture): the first k where it falls below 10⁻⁶.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write jones_chain(elements, v): apply a list of elements to a Jones vector v (a pair of complex numbers), where each element is ("pol", θ), ("wave", Γ, θ) for a retarder of retardance Γ with fast axis at θ, all angles in degrees; return the output vector and its intensity.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write bessel(n, x) by the midpoint rule on Bessel's integral with 2000 points, airy_zero(): the first zero of above 3 by bisection, and encircled(v): .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Explain why
Why does the far field of an aperture equal its Fourier transform?
Each point of the aperture sends a spherical wave to the distant screen. Far enough away, the path from an aperture point to a screen point differs from the path from the aperture's center by an amount that grows linearly with the aperture coordinate and with the screen point's angle, and the quadratic terms in the path difference become negligible: that is the Fraunhofer condition, a small Fresnel number. The field at each screen point is then the sum of the aperture's field weighted by a phase linear in position, which is exactly a Fourier transform evaluated at a spatial frequency set by the screen angle. A lens does the same thing at its focal plane, bringing the far field to a finite distance.