lsst.meas.base
16.0-13-gd9b1b71+7
|
Temporarily replace negative instFluxes with NaNs. More...
#include <FluxUtilities.h>
Public Member Functions | |
NoThrowOnNegativeFluxContext () | |
~NoThrowOnNegativeFluxContext () | |
Temporarily replace negative instFluxes with NaNs.
Instantiating a NoThrowOnNegativeFluxContext object will cause afw::image::Calib objects to return NaN, rather than throwing, when asked to convert a negative instFlux to a magnitude for the lifetime of the NoThrowOnNegativeFluxContext.
Definition at line 215 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.