Function astro::precess::precess_ecl_coords
[−]
[src]
pub fn precess_ecl_coords(old_long: f64, old_lat: f64, JD_old: f64, JD_new: f64) -> (f64, f64)
Computes ecliptic coordinates reduced to a different epoch
Returns
(new_long, new_lat)
new_long
: Ecliptic longitude in the new epoch | in radiansnew_lat
: Ecliptic latitude in the new epoch | in radians
Arguments
old_long
: Ecliptic longitude in the old epoch | in radiansold_lat
: Ecliptic latitude in the old epoch | in radiansJD_old
: Julian (Ephemeris) day corresponding to the old epochJD_new
: Julian (Ephemeris) day corresponding to the new epoch