Function astro::star::abs_mag_frm_dist
[−]
[src]
pub fn abs_mag_frm_dist(d: f64, am: f64) -> f64
Computes the absolute magnitude of a star from its distance from earth
Arguments
d
: The star's to earth (parsecs)am
: Apparent magnitude of the star