#include <LocalBackground.h>
Definition at line 90 of file LocalBackground.h.
◆ Control
◆ LocalBackgroundTransform()
Definition at line 109 of file LocalBackground.cc.
115 if (
mapper.getInputSchema().getNames().count(
mapper.getInputSchema().join(
name, flag.name)) == 0)
117 afw::table::Key<afw::table::Flag>
key =
118 mapper.getInputSchema().find<afw::table::Flag>(
name +
"_" + flag.name).
key;
◆ 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:
- /j/snowflake/release/lsstsw/stack/1a1d771/Linux64/meas_base/20.0.0/include/lsst/meas/base/LocalBackground.h
- /j/snowflake/release/lsstsw/stack/1a1d771/Linux64/meas_base/20.0.0/src/LocalBackground.cc