LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Base for centroid measurement transformations. More...
#include <CentroidUtilities.h>
Public Member Functions | |
CentroidTransform (std::string const &name, afw::table::SchemaMapper &mapper) | |
virtual void | operator() (afw::table::SourceCatalog const &inputCatalog, afw::table::BaseCatalog &outputCatalog, afw::geom::SkyWcs const &wcs, afw::image::PhotoCalib const &photoCalib) const |
Protected Member Functions | |
void | checkCatalogSize (afw::table::BaseCatalog const &cat1, afw::table::BaseCatalog const &cat2) const |
Ensure that catalogs have the same size. More... | |
Protected Attributes | |
std::string | _name |
Base for centroid measurement transformations.
Provides a basic transform from centroid plus associated uncertainty to celestial position with uncertainty. The basic "flag" attribute for the measurement algorithm is propagated to the output.
Subclasses should define a constructor which take a Control argument corresponding to the measurement algorithm being transformed and ensure that any other necessary flags are propagated.
Definition at line 168 of file CentroidUtilities.h.
lsst::meas::base::CentroidTransform::CentroidTransform | ( | std::string const & | name, |
afw::table::SchemaMapper & | mapper | ||
) |
Definition at line 121 of file CentroidUtilities.cc.
|
inlineprotectedinherited |
Ensure that catalogs have the same size.
[in] | cat1 | Catalog for comparison |
[in] | cat2 | Catalog for comparison |
LengthError | Catalog sizes do not match |
Definition at line 102 of file Transform.h.
|
virtual |
|
protectedinherited |
Definition at line 107 of file Transform.h.