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

Function Documentation

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

Convert an AB magnitude to a Vega magnitude.

AB -> Flambda (two-argument overload) -> Vega; the intermediate standard-distance conversions cancel exactly as they do for PhotConvert<ST, Vega> above.