lsst.meas.base
14.0-21-gb9e430a+1
|
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 221 of file FluxUtilities.h.
lsst::meas::base::NoThrowOnNegativeFluxContext::NoThrowOnNegativeFluxContext | ( | ) |
Definition at line 118 of file FluxUtilities.cc.
lsst::meas::base::NoThrowOnNegativeFluxContext::~NoThrowOnNegativeFluxContext | ( | ) |
Definition at line 123 of file FluxUtilities.cc.