pub fn solar_elongation(
    ra_hour: f64,
    ra_min: f64,
    ra_sec: f64,
    dec_deg: f64,
    dec_min: f64,
    dec_sec: f64,
    gwdate_day: f64,
    gwdate_month: u32,
    gwdate_year: u32
) -> f64
Expand description

Calculate solar elongation for a celestial body.

Solar elongation is the angle between the lines of sight from the Earth to the Sun and from the Earth to the celestial body.

§Arguments

  • ra_hour – Right Ascension, hour part
  • ra_min – Right Ascension, minutes part
  • ra_sec – Right Ascension, seconds part
  • dec_deg – Declination, degrees part
  • dec_min – Declination, minutes part
  • dec_sec – Declination, seconds part
  • gwdate_day – Greenwich Date, day part
  • gwdate_month – Greenwich Date, month part
  • gwdate_year – Greenwich Date, year part

§Returns

  • solar_elongation_deg – Solar elongation, in degrees