A base class for image defects.
Utilities for converting between flux and magnitude in C++.
double nanojanskyToABMagnitude(double flux)
Convert a flux in nanojansky to AB magnitude.
const double referenceFlux
The Oke & Gunn (1983) AB magnitude reference flux, in nJy (often approximated as 3631.0).
double ABMagnitudeToNanojansky(double magnitude)
Convert an AB magnitude to a flux in nanojansky.