pub fn infer_dispersion_measure_dual_band(
toa_1_s: f64,
freq_1_hz: f64,
toa_2_s: f64,
freq_2_hz: f64,
) -> Result<(f64, f64), &'static str>Expand description
Infer both the interstellar Dispersion Measure ($\text{pc}\cdot\text{cm}^{-3}$) and the infinite-frequency vacuum time of arrival $t_{\infty}$ (s) from dual-band TOAs $(t_1, f_1)$ and $(t_2, f_2)$.