/// Empirical star radius from mass (for main sequence only)

Empirical star radius from mass (for main sequence only)
Empirical star radius from mass ( for main sequence only )
pub fn stellar_radius_au(mass: f64) -> f64 {
    if mass <= 1.66 {
        return 1.06 * mass.powf(0.945) * SOLAR_RADIUS;
    }
    1.33 * mass.powf(0.555) * SOLAR_RADIUS
}
pub fn stellar_radius_au ( mass : f64 ) -> f64 { if mass <= 1.66 { return 1.06 * mass . powf ( 0.945 ) * SOLAR_RADIUS ; } 1.33 * mass . powf ( 0.555 ) * SOLAR_RADIUS }
Empirical star radius from mass (for main sequence only)
Empirical star radius from mass ( for main sequence only )
mass
f64