lsst.meas.base  16.0-17-g7e0e4ff+1
Public Member Functions | List of all members
lsst::meas::base::NoThrowOnNegativeFluxContext Class Reference

Temporarily replace negative instFluxes with NaNs. More...

#include <FluxUtilities.h>

Public Member Functions

 NoThrowOnNegativeFluxContext ()
 
 ~NoThrowOnNegativeFluxContext ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ NoThrowOnNegativeFluxContext()

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

Definition at line 106 of file FluxUtilities.cc.

◆ ~NoThrowOnNegativeFluxContext()

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

Definition at line 111 of file FluxUtilities.cc.


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