24 #if !defined(LSST_MEAS_ALGORITHMS_COADDPSF_H)
25 #define LSST_MEAS_ALGORITHMS_COADDPSF_H
37 namespace lsst {
namespace meas {
namespace algorithms {
66 std::string
const & weightFieldName =
"weight",
131 afw::geom::Box2I
getBBox(
int index);
159 afw::geom::
Point2D const & ccdXY,
160 afw::
image::Color const & color
164 afw::geom::
Point2D const & position,
165 afw::
image::Color const & color
virtual bool isPersistable() const
Return true if the CoaddPsf persistable (always true).
This file contains macros and MPL vectors that list the types that can be used for fields...
afw::geom::Box2I getBBox(int index)
Get the bounding box (in component image Pixel coordinates) of the component image at index...
double getWeight(int index)
Get the weight of the component image at index.
afw::geom::Point2D _averagePosition
io::OutputArchiveHandle OutputArchiveHandle
boost::shared_ptr< afw::image::Wcs const > getWcs(int index)
Get the Wcs of the component image at index.
std::string _warpingKernelName
boost::shared_ptr< afw::image::Wcs const > _coaddWcs
afw::table::Key< double > _weightKey
CoaddPsf(afw::table::ExposureCatalog const &catalog, afw::image::Wcs const &coaddWcs, std::string const &weightFieldName="weight", std::string const &warpingKernelName="lanczos3", int cacheSize=10000)
Main constructors for CoaddPsf.
Implementation of the WCS standard for a any projection.
boost::shared_ptr< afw::detection::Psf::Image > doComputeKernelImage(afw::geom::Point2D const &ccdXY, afw::image::Color const &color) const
These virtual member functions are private, not protected, because we only want derived classes to im...
tbl::Key< int > cacheSize
boost::shared_ptr< afw::image::Wcs const > getCoaddWcs()
Return the Wcs of the coadd (defines the coordinate system of the Psf).
table::Key< table::Array< Kernel::Pixel > > image
virtual std::string getPersistenceName() const
Return the unique name used to persist this object and look up its factory.
std::int64_t RecordId
Type used for unique IDs for records.
afw::table::ExposureCatalog _catalog
std::map< Citizen const *, CitizenInfo > table
CoaddPsf is the Psf derived to be used for non-PSF-matched Coadd images.
int getComponentCount() const
Return the number of component Psfs in this CoaddPsf.
boost::shared_ptr< afw::math::WarpingControl const > _warpingControl
tbl::Key< std::string > warpingKernelName
Support for warping an image to a new WCS.
Custom catalog class for ExposureRecord/Table.
Point< double, 2 > Point2D
virtual afw::geom::Box2I doComputeBBox(afw::geom::Point2D const &position, afw::image::Color const &color) const
These virtual member functions are private, not protected, because we only want derived classes to im...
An intermediate base class for Psfs that use an image representation.
virtual void write(OutputArchiveHandle &handle) const
Write the object to one or more catalogs.
tbl::PointKey< double > averagePosition
ExposureCatalogT< ExposureRecord > ExposureCatalog
#define CONST_PTR(...)
A shared pointer to a const object.
virtual std::string getPythonModule() const
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
A polymorphic base class for representing an image's Point Spread Function.
A CRTP facade class for subclasses of Persistable.
virtual afw::geom::Point2D getAveragePosition() const
Return the average of the positions of the stars that went into this Psf.
boost::shared_ptr< afw::detection::Psf const > getPsf(int index)
Get the Psf of the component image at index.
boost::shared_ptr< afw::geom::polygon::Polygon const > getValidPolygon(int index)
Get the validPolygon (in component image Pixel coordinates) of the component image at index...
memId getId() const
Return the Citizen's ID.
virtual boost::shared_ptr< afw::detection::Psf > clone() const
Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.