nyx_space::mc::helpers

Function dv_pointing_error

Source
pub fn dv_pointing_error<R: Rng>(
    cur_pointing: &Vector3<f64>,
    dv: Vector3<f64>,
    error_prct3s: f64,
    rng: &mut R,
) -> Result<Vector3<f64>, NyxError>
Expand description

Apply a Normal pointing error to the provided delta-v vector (must be in km/s). Requires a 3-sigma error percentage (e.g. 0.05 is a 5% pointing error) and a pseudo random number generator Returns the delta-v vector with the applying pointing error