Function astro::precess::precess_eq_coords
[−]
[src]
pub fn precess_eq_coords(old_asc: f64, old_dec: f64, JD1: f64, JD2: f64) -> (f64, f64)
Computes equatorial coordinates reduced to a different epoch
Returns
(new_asc, new_dec)
new_asc: Right ascension in the new epoch | in radiansnew_dec: Declination in the new epoch | in radians
Arguments
old_asc: Right ascension in the old epoch | in radians, referred to the FK5 systemold_dec: Declination in the old epoch | in radians, referred to the FK5 systemJD1: Julian (Ephemeris) day corresponding to the old epochJD2: Julian (Ephemeris) day corresponding to the new epoch