Skip to content

Commit

Permalink
Relax light time validation
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherRabotin committed Jan 9, 2024
1 parent 8451b12 commit 72b0d47
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions anise/src/astro/aberration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ use crate::errors::PhysicsError;
/// For deep space missions, preliminary analysis would likely require both light time correction and stellar aberration. Mission planning and operations will definitely need converged light-time calculations.
///
/// For more details, <https://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/req/abcorr.html>.
///
/// # SPICE Validation
///
/// The validation test `validate_jplde_de440s_aberration_lt` checks 101,000 pairs of ephemeris computations and shows that the unconverged Light Time computation matches the SPICE computations almost all the time.
/// More specifically, the 99th percentile of error is less than 5 meters, the 75th percentile is less than one meter, and the median error is less than 2 millimeters.
#[derive(Copy, Clone, Default, PartialEq, Eq)]
#[cfg_attr(feature = "python", pyclass)]
#[cfg_attr(feature = "python", pyo3(module = "anise"))]
Expand Down
3 changes: 3 additions & 0 deletions anise/tests/ephemerides/validation/type02_chebyshev_jpl_de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ fn validate_jplde_de440s_aberration_lt() {

let validator = Validation {
file_name: output_file_name,
max_q75_err: 1e-3,
max_q99_err: 5e-3,
max_abs_err: 0.09,
..Default::default()
};

Expand Down

0 comments on commit 72b0d47

Please sign in to comment.