#include <ScaledApertureFlux.h>
Definition at line 89 of file ScaledApertureFlux.h.
◆ Control
◆ ScaledApertureFluxTransform()
◆ 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");
◆ 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));
◆ _name
The documentation for this class was generated from the following files: