LSSTApplications
10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
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.