Kepler's equation: M = E − e sin E, with M = 2πt/Pb. The eccentric anomaly E is solved iteratively at each fixed 1/720-orbit playback step SCALED STEP.
Pulse propagation: ΔS = −2r ln Λ, where Λ = 1 − e cos E − sin i [sin ω(cos E − e) + √(1 − e²) cos ω sin E].
General-relativistic parameters: r = G Mc/c³ = T☉Mc; s = sin i; T☉ = 4.925490947 μs TEXTBOOK.
The orbit is Newtonian and Keplerian; only the leading-order, static-companion Shapiro propagation term is shown. The pulsar mass is fixed at 1.4 M☉ as an illustrative assumption. Rømer, Einstein, aberration, spin, orbital decay, periastron advance, companion motion during photon passage and plasma dispersion are omitted.
Real values vs scaled: G, c and the solar-mass time constant are textbook values; binary parameters are illustrative. Delay, separation and speed are calculated in physical units. Orbit dimensions, stellar sizes and ray curvature are scaled for visibility. A phase-independent timing offset is conventional, so the Shapiro term can be negative.
For a circular orbit at superior conjunction, the independent check is ΔS = −2r ln(1 − sin i). The companion is treated as a point mass; the inclination limit avoids the singular edge-on alignment.
Illustrative educational model, not affiliated with any real institution or manufacturer.