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

#include <ApertureFlux.h>

Inheritance diagram for lsst::meas::base::ApertureFluxResult:
lsst::meas::base::FluxResult

Public Member Functions

bool getFlag (ApertureFluxAlgorithm::FlagBits bit) const
 Return the flag value associated with the given bit. More...
 
void setFlag (ApertureFluxAlgorithm::FlagBits bit, bool value=true)
 Set the flag value associated with the given bit. More...
 
void unsetFlag (ApertureFluxAlgorithm::FlagBits bit)
 Clear (i.e. set to false) the flag associated with the given bit. More...
 
- Public Member Functions inherited from lsst::meas::base::FluxResult
 FluxResult ()
 Default constructor; initializes everything to NaN. More...
 
 FluxResult (Flux flux_, FluxErrElement fluxSigma_)
 Constructor from flux and its uncertainty. More...
 

Private Attributes

std::bitset
< ApertureFluxAlgorithm::N_FLAGS
_flags
 

Additional Inherited Members

- Public Attributes inherited from lsst::meas::base::FluxResult
Flux flux
 Measured flux in DN. More...
 
FluxErrElement fluxSigma
 1-Sigma error (sqrt of variance) on flux in DN. More...
 

Detailed Description

A Result struct for running an aperture flux algorithm with a single radius.

This simply extends FluxResult to add the appropriate error flags for aperture fluxes.

Definition at line 248 of file ApertureFlux.h.

Member Function Documentation

bool lsst::meas::base::ApertureFluxResult::getFlag ( ApertureFluxAlgorithm::FlagBits  bit) const
inline

Return the flag value associated with the given bit.

Definition at line 251 of file ApertureFlux.h.

251 { return _flags[bit]; }
std::bitset< ApertureFluxAlgorithm::N_FLAGS > _flags
Definition: ApertureFlux.h:260
void lsst::meas::base::ApertureFluxResult::setFlag ( ApertureFluxAlgorithm::FlagBits  bit,
bool  value = true 
)
inline

Set the flag value associated with the given bit.

Definition at line 254 of file ApertureFlux.h.

254 { _flags[bit] = value; }
std::bitset< ApertureFluxAlgorithm::N_FLAGS > _flags
Definition: ApertureFlux.h:260
void lsst::meas::base::ApertureFluxResult::unsetFlag ( ApertureFluxAlgorithm::FlagBits  bit)
inline

Clear (i.e. set to false) the flag associated with the given bit.

Definition at line 257 of file ApertureFlux.h.

257 { _flags[bit] = false; }
std::bitset< ApertureFluxAlgorithm::N_FLAGS > _flags
Definition: ApertureFlux.h:260

Member Data Documentation

std::bitset<ApertureFluxAlgorithm::N_FLAGS> lsst::meas::base::ApertureFluxResult::_flags
private

Definition at line 260 of file ApertureFlux.h.


The documentation for this struct was generated from the following file: