Specialized Template Function phot::PhotConvert< PhotSystem::Vega, PhotSystem::Flambda >
Defined in File PhotCommons.hpp
Function Documentation
-
template<>
inline auto phot::PhotConvert<PhotSystem::Vega, PhotSystem::Flambda>(const double photIn, double, const double fluxVega) -> double Convert a Vega magnitude to Flambda (erg/s/Angstrom, a specific luminosity)
The algebraic inverse of the Flambda -> Vega conversion above, identical in form to PhotConvert<ST, Flambda> with flux0ST replaced by fluxVega: recovers the flux the Vega-magnitude formula defines, then multiplies by fourPiTenPcSq to undo the standard-distance assumption and recover a specific luminosity.