LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Namespaces | Functions
Calib.h File Reference
#include <cmath>
#include <utility>
#include <memory>
#include "ndarray_fwd.h"
#include "lsst/base.h"
#include "lsst/daf/base/DateTime.h"
#include "lsst/pex/exceptions.h"
#include "lsst/geom/Point.h"
#include "lsst/afw/table/io/Persistable.h"

Go to the source code of this file.

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::image
 Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
 

Functions

double lsst::afw::image::abMagFromFlux (double flux)
 Compute AB magnitude from flux in Janskys. More...
 
double lsst::afw::image::abMagErrFromFluxErr (double fluxErr, double flux)
 Compute AB magnitude error from flux and flux error in Janskys. More...
 
double lsst::afw::image::fluxFromABMag (double mag) noexcept
 Compute flux in Janskys from AB magnitude. More...
 
double lsst::afw::image::fluxErrFromABMagErr (double magErr, double mag) noexcept
 Compute flux error in Janskys from AB magnitude error and AB magnitude. More...
 
template<typename T >
ndarray::Array< T, 1 > lsst::afw::image::abMagFromFlux (ndarray::Array< T const, 1 > const &flux)
 Compute AB magnitude from flux in Janskys. More...
 
template<typename T >
ndarray::Array< T, 1 > lsst::afw::image::abMagErrFromFluxErr (ndarray::Array< T const, 1 > const &fluxErr, ndarray::Array< T const, 1 > const &flux)
 Compute AB magnitude error from flux and flux error in Janskys. More...
 
template<typename T >
ndarray::Array< T, 1 > lsst::afw::image::fluxFromABMag (ndarray::Array< T const, 1 > const &mag)
 Compute flux in Janskys from AB magnitude. More...
 
template<typename T >
ndarray::Array< T, 1 > lsst::afw::image::fluxErrFromABMagErr (ndarray::Array< T const, 1 > const &magErr, ndarray::Array< T const, 1 > const &mag)
 Compute flux error in Janskys from AB magnitude error and AB magnitude. More...