Function apsis::comet_apparent_magnitude [−][src]
pub fn comet_apparent_magnitude(
absolute_magnitude: f64,
coefficient: f64,
dist_to_sun: f64,
dist_to_earth: f64
) -> f64
This computes the apparent magnitude of a comet
The distances to the sun and to earth are in astronomical units.
absolute_magnitude
and coefficient
need to be deduced from
observations.