LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
33 : instFlux(
std::numeric_limits<meas::
base::
Flux>::quiet_NaN()),
41 schema.join(
name,
"instFluxErr"),
"1-sigma instFlux uncertainty",
"count");
70 record.
set(_magKey, magResult.
mag);
75 record.
set(_magKey, magResult.
value);
76 record.
set(_magErrKey, magResult.
error);
82 mapper.addMapping(
mapper.getInputSchema().find<afw::table::Flag>(
name +
"_flag").key);
96 for (; inSrc != inputCatalog.end() && outSrc != outputCatalog.
end(); ++inSrc, ++outSrc) {
meas::base::Flux instFlux
Measured instFlux in DN.
virtual void set(afw::table::BaseRecord &record, MagResult const &magResult) const
Set a MagResult in the given record.
A reusable result struct for instFlux measurements.
virtual FluxResult get(afw::table::BaseRecord const &record) const
Get a FluxResult from the given record.
Field< T >::Value get(Key< T > const &key) const
Return the value of a field for the given key.
virtual MagResult get(afw::table::BaseRecord const &record) const
Get a MagResult from the given record.
table::Key< table::Array< std::uint8_t > > wcs
Defines the fields and offsets for a table.
A FunctorKey for MagResult.
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
A FunctorKey for FluxResult.
meas::base::FluxErrElement instFluxErr
Standard deviation of instFlux in DN.
virtual void set(afw::table::BaseRecord &record, FluxResult const &other) const
Set a FluxResult in the given record.
Base class for all records.
A mapping between the keys of two Schemas, used to copy data between them.
static MagResultKey addFields(afw::table::Schema &schema, std::string const &name)
Add a pair of _mag, _magErr fields to a Schema, and return a MagResultKey that points to them.
Iterator class for CatalogT.
The photometric calibration of an exposure.
A base class for image defects.
FluxResult()
Default constructor; initializes everything to NaN.
static FluxResultKey addFields(afw::table::Schema &schema, std::string const &name, std::string const &doc)
Add a pair of _instFlux, _instFluxErr fields to a Schema, and return a FluxResultKey that points to t...
void set(Key< T > const &key, U const &value)
Set value of a field for the given key.
iterator begin()
Iterator access.
A reusable result struct for magnitudes.