lsst.meas.base  14.0-11-gfe379c9
Public Member Functions | List of all members
lsst::meas::base::NoThrowOnNegativeFluxContext Class Reference

Temporarily replace negative fluxes with NaNs. More...

#include <FluxUtilities.h>

Public Member Functions

 NoThrowOnNegativeFluxContext ()
 
 ~NoThrowOnNegativeFluxContext ()
 

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

◆ NoThrowOnNegativeFluxContext()

lsst::meas::base::NoThrowOnNegativeFluxContext::NoThrowOnNegativeFluxContext ( )

Definition at line 118 of file FluxUtilities.cc.

◆ ~NoThrowOnNegativeFluxContext()

lsst::meas::base::NoThrowOnNegativeFluxContext::~NoThrowOnNegativeFluxContext ( )

Definition at line 123 of file FluxUtilities.cc.


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