24 #if !defined(LSST_MEAS_ALGORITHMS_COADDPSF_H)
25 #define LSST_MEAS_ALGORITHMS_COADDPSF_H
27 #include <boost/make_shared.hpp>
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
virtual bool isPersistable() const
Return true if the CoaddPsf persistable (always true).
afw::geom::Box2I getBBox(int index)
double getWeight(int index)
memId getId() const
Return the Citizen's ID.
afw::geom::Point2D _averagePosition
Point< double, 2 > Point2D
boost::shared_ptr< afw::image::Wcs const > getWcs(int 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
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).
std::map< Citizen const *, CitizenInfo > table
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.
afw::table::ExposureCatalog _catalog
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.
io::OutputArchiveHandle OutputArchiveHandle
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
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.
boost::int64_t RecordId
Type used for unique IDs for records.
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)
boost::shared_ptr< afw::geom::polygon::Polygon const > getValidPolygon(int index)
virtual boost::shared_ptr< afw::detection::Psf > clone() const
Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.