pub struct PulsarAnchor {
pub id_hash: u64,
pub direction_unit: [f64; 3],
pub period_s: f64,
pub period_derivative: f64,
pub epoch_t0_s: f64,
pub carrier_freq_hz: f64,
pub dispersion_measure_pc_cm3: f64,
}Expand description
Millisecond pulsar timing anchor for deep-space BCRS navigation (OCS-12, §6.2.5.2).
Fields§
§id_hash: u64Deterministic identifier hash of the pulsar (e.g. PSR B1937+21).
direction_unit: [f64; 3]Unit direction vector $\hat{n}_i$ from BCRS origin toward the pulsar.
period_s: f64Spin period $P_0$ at reference epoch (s).
period_derivative: f64Spin-down derivative $\dot{P}$ (dimensionless s/s).
epoch_t0_s: f64Reference epoch $t_0$ in BCRS TDB seconds.
carrier_freq_hz: f64Observation carrier frequency $f$ in Hz (0.0 for infinite-frequency / X-ray band).
dispersion_measure_pc_cm3: f64Interstellar dispersion measure $\text{DM} = \int n_e,ds$ ($\text{pc}\cdot\text{cm}^{-3}$).
Implementations§
Source§impl PulsarAnchor
impl PulsarAnchor
Sourcepub fn x_ray(
id_hash: u64,
direction_unit: [f64; 3],
period_s: f64,
period_derivative: f64,
epoch_t0_s: f64,
) -> Self
pub fn x_ray( id_hash: u64, direction_unit: [f64; 3], period_s: f64, period_derivative: f64, epoch_t0_s: f64, ) -> Self
Construct an X-ray pulsar anchor where cold-plasma dispersion is negligible.
Sourcepub fn dispersion_delay_s(&self) -> Result<f64, &'static str>
pub fn dispersion_delay_s(&self) -> Result<f64, &'static str>
Cold-plasma dispersion delay $\Delta t_{\text{DM}}$ (s) at this anchor’s carrier frequency.
Trait Implementations§
Source§impl Clone for PulsarAnchor
impl Clone for PulsarAnchor
impl Copy for PulsarAnchor
Source§impl Debug for PulsarAnchor
impl Debug for PulsarAnchor
Source§impl PartialEq for PulsarAnchor
impl PartialEq for PulsarAnchor
impl StructuralPartialEq for PulsarAnchor
Auto Trait Implementations§
impl Freeze for PulsarAnchor
impl RefUnwindSafe for PulsarAnchor
impl Send for PulsarAnchor
impl Sync for PulsarAnchor
impl Unpin for PulsarAnchor
impl UnsafeUnpin for PulsarAnchor
impl UnwindSafe for PulsarAnchor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more