Whittaker's History (1910), reviewed › The review's files › sim/whittaker/partF/
dispersion_zeeman_fresnel.py
#!/usr/bin/env python3
"""Whittaker review, Part F (Chapter XII), entries W12.6 (dispersion), W12.7 (Fresnel's formula),
W12.8 (Blondlot, H. A. Wilson), W12.4 (Lodge's disks) and W12.16 (Zeeman, e/m).
Run: cd /home/doug/aetherscience.org && OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 \
aspden-investigation/sim/whittaker/partF/dispersion_zeeman_fresnel.py
"""
import subprocess
import numpy as np
from scipy.optimize import least_squares
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], cwd="/home/doug/aetherscience.org",
capture_output=True, text=True).stdout.strip())
c = 299792458.0
e = 1.602176634e-19 # C, exact
me = 9.1093837139e-31 # kg, CODATA 2022 (NIST page read at source)
eps0 = 8.8541878128e-12 # F/m [S, from memory; CODATA 2018 value]
e_over_m_codata = 1.75882000838e11 # C/kg, CODATA 2022 (NIST page read at source)
# ---------------------------------------------------------------- W12.6 dispersion
print("\n1. Lorentz's dispersion formula (p. 429): mu^2 = 1 + 4 pi e^2 c^2 N / (k^2 - m n^2) in Whittaker's units.")
print(" In SI, with omega_0^2 = k^2/m: n^2 - 1 = (N e^2 / eps0 m) / (omega_0^2 - omega^2) [S]")
print(" Test: one Lorentz oscillator fitted to a modern glass, Schott N-BK7, generated from its three-term")
print(" Sellmeier equation (coefficients from memory, Schott data sheet: B1 1.03961212, B2 0.231792344, B3 1.01046945,")
print(" C1 0.00600069867, C2 0.0200179144, C3 103.560653 um^2).")
B = np.array([1.03961212, 0.231792344, 1.01046945]); C = np.array([0.00600069867, 0.0200179144, 103.560653])
def n_bk7(lam_um):
l2 = lam_um**2
return np.sqrt(1 + np.sum(B[:, None] * l2[None, :] / (l2[None, :] - C[:, None]), axis=0))
lam = np.linspace(0.40, 0.70, 61) # um, the visible
n_ref = n_bk7(lam)
omega = 2 * np.pi * c / (lam * 1e-6)
def model(p, lam_um):
# one Lorentz oscillator written in wavelength form: n^2 = 1 + A' lam^2 / (lam^2 - lam0^2), lam in um;
# it is the same as n^2 - 1 = (N e^2/eps0 m)/(omega0^2 - omega^2) with A' = N e^2/(eps0 m omega0^2)
Ap, lam0sq = p
return np.sqrt(1 + Ap * lam_um**2 / (lam_um**2 - lam0sq))
res = least_squares(lambda p: model(p, lam) - n_ref, x0=[1.2, 0.01], x_scale=[1.0, 0.01])
Ap, lam0sq = res.x
om0 = 2 * np.pi * c / (np.sqrt(lam0sq) * 1e-6)
A = Ap * om0**2
resid = model(res.x, lam) - n_ref
print(f" fit over 400-700 nm: resonance at lambda_0 = {np.sqrt(lam0sq)*1e3:.1f} nm (ultraviolet), max |dn| = {np.max(np.abs(resid)):.1e}, rms = {np.sqrt(np.mean(resid**2)):.1e}")
print(f" check at 587.6 nm: model {model(res.x, np.array([0.5876]))[0]:.5f} against the Sellmeier value {n_bk7(np.array([0.5876]))[0]:.5f}")
N_eff = A * eps0 * me / e**2
print(f" fitted N e^2/(eps0 m) = {A:.3e} s^-2 -> N_eff = {N_eff:.2e} electrons/m^3 (one oscillator per electron)")
rho, Mmol, Z_per = 2.51e3, 60.08e-3, 30 # BK7 density ~2.51 g/cm^3 [from memory]; SiO2 as proxy, 30 electrons per formula unit
N_total = rho / Mmol * 6.02214076e23 * Z_per
print(f" total electron density of the glass (SiO2 proxy) ~ {N_total:.2e} /m^3 -> the fit needs {N_eff/N_total:.2f} of them in one UV resonance: a sensible order")
print(" Verdict input: Lorentz's form reproduces the visible dispersion of a modern glass to 1e-4 with one resonance; the full")
print(" Sellmeier equation is the same form with three resonances. The oscillator strengths are quantum (f-sum rule), the form is his.")
print(" Static limit (p. 429-430): eps = 1 + 4 pi N e^2 c^2 / k^2 -> in SI eps_r - 1 = N e^2 / (eps0 m omega_0^2) [S]")
print(f" from the fit: eps_r(0) - 1 = {A/om0**2:.3f} -> n(0) = {np.sqrt(1 + A/om0**2):.3f} (the electronic part only; BK7's visible n is 1.52)")
# ---------------------------------------------------------------- W12.7 Fresnel's formula
print("\n2. Fresnel's formula from the electrons (p. 431): V = c/mu + w (mu^2 - 1)/mu^2 [D from Lorentz's equations]")
n_w = 1.3330 # water at 589 nm, 20 C [S, from memory]
f = 1 - 1 / n_w**2
print(f" water n = {n_w}: Fresnel coefficient 1 - 1/n^2 = {f:.4f}")
for wv in [7.0, 10.0]:
V_rel = (c / n_w + wv) / (1 + wv / (n_w * c))
V_fres = c / n_w + wv * f
print(f" water moving at {wv} m/s: relativistic addition - Fresnel = {V_rel - V_fres:.2e} m/s (the difference is of order w^2/c)")
print(" Fizeau 1851 found agreement with Fresnel's coefficient; Michelson and Morley 1886 measured 0.434 +/- 0.02 [from memory].")
dn_dl = -3.5e4 # per metre, water near 589 nm [from memory: n_F - n_C = 0.0060 over 170 nm]
lam0 = 589.3e-9
f_lorentz = f + (lam0 / n_w) * (-dn_dl)
print(f" Lorentz's dispersion term (Versuch 1895; Whittaker p. 431 says the colour problem is 'removed'): f + (lambda/n)(-dn/dlambda) = {f_lorentz:.4f}")
print(" Zeeman 1914-16 confirmed the dispersion term in water and quartz [from memory].")
# ---------------------------------------------------------------- W12.4 Lodge; W12.8 Blondlot and Wilson
print("\n3. Lodge's rotating disks (p. 418): 'not affected ... to the extent of (1/200)th part of the velocity of the matter'")
n_air = 1.000293 # [S, from memory]
f_air = 1 - 1 / n_air**2
print(f" Fresnel-Lorentz drag by air: 1 - 1/n^2 = {f_air:.2e}; Lodge's bound 1/200 = {1/200:.1e} (Lorentz 1895 quotes Lodge as 1/800 = {1/800:.2e})")
print(" Both bounds lie above the predicted drag by air, so Lodge's null is consistent with Fresnel-Lorentz; it excludes full convection (Hertz, f = 1).")
print("\n4. Blondlot 1901 and H. A. Wilson 1904/05 (pp. 431-432): Lorentz gives (eps - 1)/eps of Hertz's charge")
for name, epsr in [("air", 1.000590), ("ebonite (Wilson's dielectric)", 2.8)]:
print(f" {name}: eps_r = {epsr}: (eps-1)/eps = {(epsr-1)/epsr:.3e} of the Hertz value")
print(" Wilson 1905 (read at source): the effect 'is very nearly of the amount predicted by the theory' with factor 1 - K^-1;")
print(" 'a crucial experiment deciding in favour of Lorentz and Larmor's theory and against Hertz's theory'.")
# ---------------------------------------------------------------- W12.16 Zeeman
print("\n5. Zeeman's effect (pp. 449-452): the outer components differ in frequency by eK/m (Whittaker's units)")
print(" In SI the Larmor shift is Delta omega = e B / 2m per component; the two outer lines differ by e B / m [S]")
Bfield = 1.0
dnu = e_over_m_codata * Bfield / (4 * np.pi) # Hz, one component
lamD = 589.3e-9
dlam = lamD**2 * dnu / c
sepD = 0.5974e-9 # m, D1-D2 separation 589.592 - 588.995 nm [S, from memory]
print(f" B = 1 T: Delta nu = eB/4 pi m = {dnu/1e9:.2f} GHz per component; at 589.3 nm that is {dlam*1e12:.1f} pm per side, {2*dlam*1e12:.1f} pm between the outer lines")
print(f" the D-line separation is {sepD*1e12:.0f} pm, so one side is {dlam/sepD:.3f} of it")
print(" Zeeman 1897, Phil. Mag. 43, 226, section 14 (read at source): widening 'to both sides amounted to about 1/40 of the distance")
print(" between the said lines, the intensity of the magnetic field being about 10^4 C.G.S. units'; section 23: e/m 'of the order of magnitude 10^7")
print(" electromagnetic C.G.S. units' (1e7 emu/g = 1e11 C/kg).")
dlam_z = sepD / 40
dnu_z = c * dlam_z / lamD**2
em_z = 4 * np.pi * dnu_z / 1.0
print(f" inverting his 1/40 at 1 T as a one-sided Larmor shift: e/m = 4 pi Delta nu / B = {em_z:.2e} C/kg, {100*(em_z/e_over_m_codata - 1):+.1f}% from CODATA 2022 ({e_over_m_codata:.5e} C/kg)")
print(" Whittaker p. 452: 'The values of e/m thus determined agree well with the estimations of e/m for the corpuscles of cathode rays': Confirmed.")
print(" Note (read at source): Zeeman's Phil. Mag. paper, section 24, first concluded that 'the positive ions revolve'; the negative sign")
print(" came with the triplet and the polarization work of 1897 (Cornu, Koenig; Whittaker pp. 451-452).")