24 #ifndef LSST_MEAS_BASE_FluxUtilities_h_INCLUDED 25 #define LSST_MEAS_BASE_FluxUtilities_h_INCLUDED 50 : instFlux(instFlux_), instFluxErr(instFluxErr_) {}
82 : _instFlux(instFlux), _instFluxErr(instFluxErr) {}
94 : _instFlux(s[
"instFlux"]), _instFluxErr(s[
"instFluxErr"]) {}
105 return _instFlux == other._instFlux && _instFluxErr == other._instFluxErr;
111 bool isValid()
const {
return _instFlux.isValid() && _instFluxErr.isValid(); }
212 #endif // !LSST_MEAS_BASE_FluxUtilities_h_INCLUDED Defines the fields and offsets for a table.
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
MagResultKey(afw::table::SubSchema const &s)
Construct from a subschema, assuming mag and magErr subfields.
A proxy type for name lookups in a Schema.
FluxResultKey()
Default constructor; instance will not be usuable unless subsequently assigned to.
The photometric calibration of an exposure.
A mapping between the keys of two Schemas, used to copy data between them.
A FunctorKey for MagResult.
A reusable result struct for magnitudes.
meas::base::FluxErrElement instFluxErr
Standard deviation of instFlux in DN.
FluxResult()
Default constructor; initializes everything to NaN.
table::Key< table::Array< std::uint8_t > > wcs
afw::table::Key< FluxErrElement > getInstFluxErr() const
Return the underlying instFluxErr Key.
FluxResultKey(afw::table::SubSchema const &s)
Construct from a subschema, assuming instFlux and instFluxErr subfields.
A base class for image defects.
bool operator!=(FluxResultKey const &other) const
Compare the FunctorKey for equality with another, using the underlying instFlux and instFluxErr Keys...
MagResultKey()
Default constructor; instance will not be usuable unless subsequently assigned to.
A FunctorKey for FluxResult.
bool isValid() const
Return True if both the instFlux and instFluxErr Keys are valid.
FluxResult(meas::base::Flux instFlux_, meas::base::FluxErrElement instFluxErr_)
Constructor from instFlux and its uncertainty.
Base class for all records.
FluxResultKey(afw::table::Key< meas::base::Flux > const &instFlux, afw::table::Key< meas::base::FluxErrElement > const &instFluxErr)
Construct from a pair of Keys.
ItemVariant const * other
meas::base::Flux instFlux
Measured instFlux in DN.
Convenience base class that combines the OutputFunctorKey and InputFunctorKey.
Implementation of the Photometric Calibration class.
A reusable result struct for instFlux measurements.
afw::table::Key< meas::base::Flux > getInstFlux() const
Return the underlying instFlux Key.