29 #ifndef LSST_AFW_IMAGE_CALIB_H 30 #define LSST_AFW_IMAGE_CALIB_H 35 #include "ndarray_fwd.h" 46 static double const JanskysPerABFlux = 3631.0;
66 ndarray::Array<T, 1>
abMagFromFlux(ndarray::Array<T const, 1>
const& flux);
71 ndarray::Array<T const, 1>
const& flux);
75 ndarray::Array<T, 1>
fluxFromABMag(ndarray::Array<T const, 1>
const& mag);
80 ndarray::Array<T const, 1>
const& mag);
86 #endif // LSST_AFW_IMAGE_CALIB_H double fluxErrFromABMagErr(double magErr, double mag) noexcept
Compute flux error in Janskys from AB magnitude error and AB magnitude.
Angle abs(Angle const &a)
double abMagErrFromFluxErr(double fluxErr, double flux)
Compute AB magnitude error from flux and flux error in Janskys.
double abMagFromFlux(double flux)
Compute AB magnitude from flux in Janskys.
A base class for image defects.
double fluxFromABMag(double mag) noexcept
Compute flux in Janskys from AB magnitude.
Interface for DateTime class.
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects...