lsst.meas.base
19.0.0-9-g463f923+7
|
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
virtual MagResult get(afw::table::BaseRecord const &record) const
Get a MagResult from the given record.
Base::const_iterator const_iterator
A FunctorKey for MagResult.
A FunctorKey for FluxResult.
meas::base::FluxErrElement instFluxErr
Standard deviation of instFlux in DN.
std::unique_ptr< SchemaItem< U > > result
virtual void set(afw::table::BaseRecord &record, FluxResult const &other) const
Set a FluxResult in the given record.
CatalogIterator< typename Internal::iterator > iterator
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.
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)
A reusable result struct for magnitudes.