LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #if !defined(LSST_MEAS_ALGORITHMS_COADDPSF_H)
25 #define LSST_MEAS_ALGORITHMS_COADDPSF_H
40 namespace algorithms {
45 "Name of warping kernel; choices: lanczos3,lanczos4,lanczos5,bilinear,nearest");
boost::shared_ptr< afw::detection::Psf > resized(int width, int height) const override
Return a clone with specified kernel dimensions.
Parameters to control convolution.
#define CONST_PTR(...)
A shared pointer to a const object.
afw::geom::SkyWcs getWcs(int index)
Get the Wcs of the component image at index.
int cacheSize
"Warping kernel cache size" ;
afw::table::Key< int > cacheSize
boost::shared_ptr< afw::detection::Psf > clone() const override
Polymorphic deep copy. Usually unnecessary, as Psfs are immutable.
Custom catalog class for ExposureRecord/Table.
CoaddPsf(afw::table::ExposureCatalog const &catalog, afw::geom::SkyWcs const &coaddWcs, std::string const &weightFieldName="weight", std::string const &warpingKernelName="lanczos3", int cacheSize=10000)
Main constructors for CoaddPsf.
afw::geom::SkyWcs getCoaddWcs()
Return the Wcs of the coadd (defines the coordinate system of the Psf).
afw::table::PointKey< double > averagePosition
A 2-dimensional celestial WCS that transform pixels to ICRS RA/Dec, using the LSST standard for pixel...
CoaddPsf(afw::table::ExposureCatalog const &catalog, afw::geom::SkyWcs const &coaddWcs, CoaddPsfControl const &ctrl, std::string const &weightFieldName="weight")
Constructor for CoaddPsf.
void write(OutputArchiveHandle &handle) const override
Write the object to one or more catalogs.
afw::table::Key< std::string > warpingKernelName
CoaddPsfControl(std::string _warpingKernelName="lanczos3", int _cacheSize=10000)
std::string getPythonModule() const override
Return the fully-qualified Python module that should be imported to guarantee that its factory is reg...
afw::table::Key< int > coaddWcs
std::string getPersistenceName() const override
Return the unique name used to persist this object and look up its factory.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
geom::Box2I getBBox(int index)
Get the bounding box (in component image Pixel coordinates) of the component image at index.
std::string warpingKernelName
"Name of warping kernel; choices: lanczos3,lanczos4,lanczos5,bilinear,nearest" ;
boost::shared_ptr< afw::detection::Psf::Image > doComputeKernelImage(geom::Point2D const &ccdXY, afw::image::Color const &color) const override
bool isPersistable() const noexcept override
Return true if the CoaddPsf persistable (always true).
A base class for image defects.
afw::table::RecordId getId(int index)
Get the exposure ID 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.
boost::shared_ptr< afw::detection::Psf const > getPsf(int index)
Get the Psf of the component image at index.
CoaddPsf is the Psf derived to be used for non-PSF-matched Coadd images.
A CRTP facade class for subclasses of Persistable.
geom::Point2D getAveragePosition() const override
Return the average of the positions of the stars that went into this Psf.
An integer coordinate rectangle.
geom::Box2I doComputeBBox(geom::Point2D const &position, afw::image::Color const &color) const override
A polymorphic base class for representing an image's Point Spread Function.
int getComponentCount() const
Return the number of component Psfs in this CoaddPsf.
io::OutputArchiveHandle OutputArchiveHandle
Describe the colour of a source.
An intermediate base class for Psfs that use an image representation.
double getWeight(int index)
Get the weight of the component image at index.