LSSTApplications
10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
|
#include <FluxUtilities.h>
Public Member Functions | |
NoThrowOnNegativeFluxContext () | |
~NoThrowOnNegativeFluxContext () | |
Private Attributes | |
bool | _throwOnNegative |
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 219 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.
|
private |
Definition at line 224 of file FluxUtilities.h.