Does light charge the quons? › Files cited on the page › check_trial24_fable/

r33_slowing.py

In the investigation at sim/matter_light/check_trial24_fable/r33_slowing.py · last changed in commit fe462ab, 23 November 2026 · 6,743 bytes · the folder as a zip


#!/usr/bin/env python3
"""Thirty-third reviewer, trial 24, blind parts (b) and (c): how much a light signal slows in air per pascal
(633 nm, 20 C), at space densities with free electrons treated as group delay; and the 1935 pipe value,
Froome 1958 and Evenson 1972.

Own code. Constants [S]. The Edlen 1966 dispersion formula for standard dry air is from memory [S, memory]:
  (n-1)_s x 1e8 = 8342.54 + 2406147/(130 - s^2) + 15998/(38.9 - s^2), s = 1/lambda(um), at 15 C, 101325 Pa.
Its density scaling to 20 C: factor (288.15/293.15) (ideal gas; the 1e-4 virial change is ignored).
"""
import math

c = 299792458.0
kB = 1.380649e-23
e = 1.602176634e-19
me = 9.1093837015e-31
eps0 = 8.8541878128e-12
a0 = 5.29177210903e-11

lam_um = 0.6328
s = 1.0 / lam_um
s2 = s * s
nm1_15 = (8342.54 + 2406147.0 / (130.0 - s2) + 15998.0 / (38.9 - s2)) * 1e-8
# group index: n_g - 1 = (n - 1) + s d(n-1)/ds
dnds = 2 * s * (2406147.0 / (130.0 - s2) ** 2 + 15998.0 / (38.9 - s2) ** 2) * 1e-8
ngm1_15 = nm1_15 + s * dnds
f20 = 288.15 / 293.15
nm1_20 = nm1_15 * f20
ngm1_20 = ngm1_15 * f20
p0 = 101325.0
print("# r33 slowing of light in air (Edlen 1966 form, from memory [S]), 633 nm")
print(f"n-1 (phase) at 15 C, 101325 Pa: {nm1_15:.5e}; at 20 C: {nm1_20:.5e}")
print(f"n_g-1 (group) at 15 C: {ngm1_15:.5e}; at 20 C: {ngm1_20:.5e}; ratio group/phase = {ngm1_20/nm1_20:.4f}")
print(f"Phase slowing c(n-1) at 101325 Pa, 20 C: {c*nm1_20:.1f} m/s = {c*nm1_20/1e3:.2f} km/s; per pascal {c*nm1_20/p0:.4f} m/s/Pa")
print(f"Signal (group) slowing c(1 - 1/n_g) at 101325 Pa, 20 C: {c*(1-1/(1+ngm1_20)):.1f} m/s = {c*ngm1_20/1e3:.2f} km/s; per pascal {c*ngm1_20/p0:.4f} m/s/Pa")
print("Nitrogen for comparison: NIST A303 = 4.446175 cm3/mol with A_theta = 1.18e-6/K ->")
R = 8.314462618
AR = 4.446175e-6 * (1 + 1.18e-6 * (293.15 - 303))
nm1_N2 = 1.5 * AR * p0 / (R * 293.15)
print(f"  n-1 (N2, 633 nm, 20 C, 101325 Pa, linear term) = {nm1_N2:.5e} -> c(n-1) = {c*nm1_N2/1e3:.2f} km/s; air/N2 = {nm1_20/nm1_N2:.4f}")
print("\n## Slowing of a signal in air at 20 C (group), by pressure")
for p in (1e5, 1e3, 1.0, 1e-3, 1e-7, 1e-10, 1e-12):
    print(f"  p = {p:8.0e} Pa: c(n_g-1) = {c*ngm1_20*p/p0:.3e} m/s;  n_g-1 = {ngm1_20*p/p0:.3e}")

print("\n## Space densities: pressure-equivalent at 20 C (p = n k T) and the slowing")
print("Neutral hydrogen atoms: static polarizability alpha = 4.5 a0^3 (Gaussian) [S]; n-1 = 2 pi N alpha (optical, far below Lyman-alpha)")
alpha_H = 4.5 * a0 ** 3  # m^3 (Gaussian-unit volume)
for name, N_cm3 in (("interplanetary (1 AU, solar wind protons+electrons, ~5 /cm3)", 5.0), ("interstellar (~1 /cm3)", 1.0),
                    ("intergalactic (mean baryons, ~2.5e-7 /cm3)", 2.5e-7)):
    N = N_cm3 * 1e6
    p_eq = N * kB * 293.15
    nm1_H = 2 * math.pi * N * alpha_H
    # free electrons, optical 633 nm: group index n_g - 1 = wp^2/(2 w^2)
    w = 2 * math.pi * c / 632.8e-9
    wp2 = N * e ** 2 / (eps0 * me)
    ngm1_e = wp2 / (2 * w ** 2)
    nm1_e_phase = -wp2 / (2 * w ** 2)
    # radio 1 GHz
    w_r = 2 * math.pi * 1e9
    ngm1_r = wp2 / (2 * w_r ** 2)
    print(f"  {name}: p_eq = {p_eq:.1e} Pa; neutral-H n-1 = {nm1_H:.1e} -> c(n-1) = {c*nm1_H:.1e} m/s; "
          f"free electrons at 633 nm: phase n-1 = {nm1_e_phase:.1e} (phase FASTER), group n_g-1 = {ngm1_e:.1e} -> signal slowing {c*ngm1_e:.1e} m/s; "
          f"at 1 GHz: group slowing {c*ngm1_r:.1e} m/s")
print("Air at the same pressure-equivalent would give c(n_g-1) = 0.8275 m/s/Pa x p_eq, i.e.", end=" ")
for N_cm3 in (5.0, 1.0, 2.5e-7):
    p_eq = N_cm3 * 1e6 * kB * 293.15
    print(f"{c*ngm1_20*p_eq/p0:.1e} m/s", end="; ")
print()
# Dispersion-measure check: delay = 4.149 ms x DM(pc cm^-3) / f(GHz)^2 [S, memory]
DM_pc = 1.0
L = 3.0857e16  # 1 pc in m
N = 1e6  # 1 /cm3
wp2 = N * e ** 2 / (eps0 * me)
w_r = 2 * math.pi * 1e9
dt = L / c * wp2 / (2 * w_r ** 2)
print(f"Check: DM = 1 pc/cm3 at 1 GHz gives group delay {dt*1e3:.3f} ms (textbook 4.149 ms) [S]")

print("\n## Part (c): the 1935 pipe value, Froome, Evenson")
c_vac = 299792.458
mich, mich_dev, n_det = 299774.0, 11.0, 2885.5
print(f"Michelson, Pease, Pearson 1935: {mich:.0f} km/s, 'average deviation of 11 km/sec from the mean' over {n_det} determinations [S, read at source].")
print(f"  That 11 is the mean absolute deviation of ONE determination, not the error of the mean. For a normal spread, sigma_single = 1.2533 x 11 = {1.2533*mich_dev:.1f} km/s; "
      f"the formal error of the mean of {n_det:.0f} independent determinations would be {1.2533*mich_dev/math.sqrt(n_det):.2f} km/s.")
print(f"  Difference from the vacuum value: {c_vac - mich:.1f} km/s = {(c_vac-mich)/mich_dev:.2f} x 11 km/s; = {(c_vac-mich)/(1.2533*mich_dev/math.sqrt(n_det)):.0f} formal standard errors of the mean.")
print(f"  The paper's own series means ranged 299,746 to 299,800 (1931-33), i.e. swings of +-25 km/s not explained by the authors ('attempts to explain these variations ... have not thus far been successful').")
# residual air correction by their formula: n - 1 = 0.0002931 * (P' x 1333.2 / 1.0136e6) / (1 + 0.00367 t), P' in mm Hg
for Pmm in (0.5, 3.0, 5.5):
    for tC in (15.0,):
        nm1 = 0.0002931 * (Pmm * 1333.2 / 1.0136e6) / (1 + 0.00367 * tC)
        print(f"  Residual air at {Pmm} mm Hg, {tC:.0f} C by their Smithsonian formula: n-1 = {nm1:.3e}; correction c(n-1) = {c_vac*nm1:.3f} km/s")
print(f"  The largest residual-air correction (5.5 mm) is {c_vac*0.0002931*(5.5*1333.2/1.0136e6)/(1+0.00367*15):.2f} km/s, against an 18.5 km/s shortfall: the shortfall is not residual air.")
froome, sfroome = 299792.50, 0.10
even, seven = 299792.4562, 0.0011
print(f"Froome 1958 (air, 72 GHz, corrected to vacuum): {froome} +- {sfroome}; Evenson 1972 (vacuum): {even} +- {seven} [I; Wikipedia table, secondary]")
d = froome - even
print(f"  Difference {d:+.4f} km/s = {d/math.sqrt(sfroome**2+seven**2):+.2f} sigma; relative {d/c_vac:.1e}. The air-to-vacuum correction for Froome's microwave path (~3e-4) checks out to this level.")
print(f"  Michelson 1935 vs Evenson: {mich-even:+.1f} km/s = {(mich-even)/c_vac:.1e} relative = {(mich-even)/11:+.1f} x the quoted 11.")
print("  Q-c from memory [memory]: Anderson 1937 Kerr cell 299,771 +- 10; Huttel 1940 299,768 +- 10; Anderson 1941 299,776 +- 6; Birge 1941 review 299,776 +- 4 -- same years, other instruments, same low value;")
print("  then Essen 1950 cavity 299,792.5 +- 3; Aslakson 1949 radar 299,792.4 +- 2.4; Bergstrand 1951 geodimeter 299,793.1 +- 0.3; Froome 1952 299,792.6 +- 0.7 -- all methods jump together to the modern value around 1947-1950.")
print("  Henrion & Fischhoff 1986 [S, read]: Birge ratio of c measurements 1875-1941 = 1.47 (N = 13), 1947-1958 = 1.32 (N = 14): quoted errors were too small by about 40 % in both eras.")