S5 · Lesson 16 · Wave lab
Fresnel reflection, Brewster's angle by search, group index and Gaussian pulse spreading, in Python
Lessons 7 to 10 gave closed forms for reflection at a boundary, for the group index of a dispersive glass and for how far a pulse spreads in a fiber. This lab computes each from its definition: the Fresnel coefficients with complex angles so total internal reflection comes out by itself, Brewster's angle by searching for the zero of rather than by formula, the group index by numerically differentiating n(λ), and the broadening of a Gaussian pulse from the fiber's group-velocity dispersion. Each result is then compared with the formula it should reproduce.
- The curve is the width of a Gaussian pulse after traveling L in a fiber, , with the dispersion length and .
- Short pulses have short dispersion lengths: a 10 ps pulse in standard fiber at 1550 nm doubles its width after about 8 km.
- Far beyond the width grows linearly with distance, as predicts.
Predict
A 10 ps Gaussian pulse at 1550 nm travels 100 km of fiber with D = 17 ps/(nm·km). Roughly how wide is it at the end?
s²/m, so km, and 100 km is 21.7 dispersion lengths: ps. A 10 Gb/s bit is 100 ps long, so without compensation this link scrambles its bits.
Name it
The computations
- Fresnel with complex angles: taken as a complex square root; beyond the critical angle it's imaginary and both reflectances come out exactly 1.
- Brewster by search: changes sign at Brewster's angle; bisection on its sign finds it without the formula, and must agree with .
- Group index: , with the derivative by a central difference.
- Gaussian pulse broadening: for a transform-limited Gaussian pulse of width , with and (D in s/m², 1 ps/(nm·km) = 10⁻⁶ s/m²).
Check
Write fresnel(n1, n2, theta): return (Rs, Rp) using a complex square root for , and brewster(n1, n2): Brewster's angle in degrees, found by bisecting on the sign of .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write group_index(n, lam, h=1e-3): the group index of a function n(λ) at λ by a central difference, and check it against Cauchy's .
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
Write pulse_width(t0_ps, D, lam_nm, L_km): the width in ps of a Gaussian pulse of initial width t0 after L km of fiber with dispersion D ps/(nm·km), and dispersion_length(t0_ps, D, lam_nm) in km.
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 a shorter optical pulse spread more quickly in a dispersive fiber?
A pulse's duration and its spectrum are a Fourier pair: making the pulse shorter spreads its energy over a wider range of frequencies. In a dispersive fiber different frequencies travel at different group velocities, so the spread in arrival times grows with the width of the spectrum and with the distance traveled. A short pulse starts narrow in time but contains many frequencies, so it soon spreads out; a long pulse has a narrow spectrum and travels much farther before broadening noticeably. The dispersion length, proportional to the square of the initial width, captures exactly this trade.