#include <ScaledApertureFlux.h>
Definition at line 89 of file ScaledApertureFlux.h.
◆ Control
◆ ScaledApertureFluxTransform()
Definition at line 72 of file ScaledApertureFlux.cc.
77 afw::table::Key<afw::table::Flag>
key =
78 mapper.getInputSchema().find<afw::table::Flag>(
name +
"_" + flagName).key;
std::size_t size() const
return the current size (number of defined elements) of the collection
static FlagDefinitionList const & getFlagDefinitions()
◆ checkCatalogSize()
Ensure that catalogs have the same size.
- Parameters
-
[in] | cat1 | Catalog for comparison |
[in] | cat2 | Catalog for comparison |
- Exceptions
-
LengthError | Catalog sizes do not match |
Definition at line 102 of file Transform.h.
103 if (cat1.size() != cat2.size()) {
104 throw LSST_EXCEPT(pex::exceptions::LengthError,
"Catalog size mismatch");
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
◆ operator()()
Implements lsst::meas::base::BaseTransform.
Definition at line 88 of file FluxUtilities.cc.
92 FluxResultKey instFluxKey(inputCatalog.getSchema()[
_name]);
93 afw::table::SourceCatalog::const_iterator inSrc = inputCatalog.begin();
96 for (; inSrc != inputCatalog.end() && outSrc != outputCatalog.end(); ++inSrc, ++outSrc) {
97 FluxResult instFluxResult = instFluxKey.get(*inSrc);
99 photoCalib.instFluxToMagnitude(instFluxResult.instFlux, instFluxResult.instFluxErr));
virtual void set(afw::table::BaseRecord &record, MagResult const &magResult) const
Set a MagResult in the given record.
CatalogIterator< typename Internal::iterator > iterator
◆ _name
The documentation for this class was generated from the following files: