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
Public Member Functions | Private Attributes | List of all members
lsst::meas::base::NoThrowOnNegativeFluxContext Class Reference

#include <FluxUtilities.h>

Public Member Functions

 NoThrowOnNegativeFluxContext ()
 
 ~NoThrowOnNegativeFluxContext ()
 

Private Attributes

bool _throwOnNegative
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Data Documentation

bool lsst::meas::base::NoThrowOnNegativeFluxContext::_throwOnNegative
private

Definition at line 224 of file FluxUtilities.h.


The documentation for this class was generated from the following files: