lsst.meas.base
16.0-12-g5ad1ebf+6
|
Temporarily replace negative fluxes with NaNs. More...
#include <FluxUtilities.h>
Public Member Functions | |
NoThrowOnNegativeFluxContext () | |
~NoThrowOnNegativeFluxContext () | |
Temporarily replace negative fluxes with NaNs.
Instantiating a NoThrowOnNegativeFluxContext object will cause afw::image::Calib objects to return NaN, rather than throwing, when asked to convert a negative flux to a magnitude for the lifetime of the NoThrowOnNegativeFluxContext.
Definition at line 211 of file FluxUtilities.h.
lsst::meas::base::NoThrowOnNegativeFluxContext::NoThrowOnNegativeFluxContext | ( | ) |
Definition at line 106 of file FluxUtilities.cc.
lsst::meas::base::NoThrowOnNegativeFluxContext::~NoThrowOnNegativeFluxContext | ( | ) |
Definition at line 111 of file FluxUtilities.cc.