Specialized Template Function phot::PhotConvert< PhotSystem::Fnu, PhotSystem::Vega >

Function Documentation

template<>
inline auto phot::PhotConvert<PhotSystem::Fnu, PhotSystem::Vega>(const double photIn, const double wl, const double fluxVega) -> double

Convert Fnu (erg/s/Hz, a specific luminosity) to a Vega magnitude.

Fnu -> Flambda (two-argument overload) -> Vega; the standard- distance conversion happens once, inside the Flambda -> Vega step above.