Function astro::binary_star::mn_anom_of_compan [] [src]

pub fn mn_anom_of_compan(n: f64, t: f64, T: f64) -> f64

Computes mean anomaly of companion star

Arguments

  • n: Mean annual motion of companion star
  • t: Current time, given as year with decimals (eg: 1945.62)
  • T: Time of periastron passage, given as a year with decimals (eg: 1945.62)