|
| 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. More...
|
|
| CoaddPsf (afw::table::ExposureCatalog const &catalog, afw::geom::SkyWcs const &coaddWcs, CoaddPsfControl const &ctrl, std::string const &weightFieldName="weight") |
| Constructor for CoaddPsf. More...
|
|
boost::shared_ptr< afw::detection::Psf > | clone () const override |
| Polymorphic deep copy. Usually unnecessary, as Psfs are immutable. More...
|
|
boost::shared_ptr< afw::detection::Psf > | resized (int width, int height) const override |
| Return a clone with specified kernel dimensions. More...
|
|
geom::Point2D | getAveragePosition () const override |
| Return the average of the positions of the stars that went into this Psf. More...
|
|
afw::geom::SkyWcs | getCoaddWcs () |
| Return the Wcs of the coadd (defines the coordinate system of the Psf). More...
|
|
int | getComponentCount () const |
| Return the number of component Psfs in this CoaddPsf. More...
|
|
boost::shared_ptr< afw::detection::Psf const > | getPsf (int index) |
| Get the Psf of the component image at index. More...
|
|
afw::geom::SkyWcs | getWcs (int index) |
| Get the Wcs of the component image at index. More...
|
|
double | getWeight (int index) |
| Get the weight of the component image at index. More...
|
|
afw::table::RecordId | getId (int index) |
| Get the exposure ID of the component image at index. More...
|
|
geom::Box2I | getBBox (int index) |
| Get the bounding box (in component image Pixel coordinates) of the component image at index. More...
|
|
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. More...
|
|
bool | isPersistable () const noexcept override |
| Return true if the CoaddPsf persistable (always true). More...
|
|
std::shared_ptr< typehandling::Storable > | cloneStorable () const override |
|
std::shared_ptr< Image > | computeImage (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
std::shared_ptr< Image > | computeKernelImage (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
double | computePeak (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
double | computeApertureFlux (double radius, lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
geom::ellipses::Quadrupole | computeShape (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
std::shared_ptr< math::Kernel const > | getLocalKernel (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
image::Color | getAverageColor () const |
|
lsst::geom::Box2I | computeBBox (lsst::geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
std::size_t | getCacheCapacity () const |
|
void | setCacheCapacity (std::size_t capacity) |
|
virtual std::string | toString () const |
|
virtual std::size_t | hash_value () const |
|
virtual bool | equals (Storable const &other) const noexcept |
|
virtual bool | equals (Storable const &other) const noexcept |
|
void | writeFits (std::string const &fileName, std::string const &mode="w") const |
|
void | writeFits (fits::MemFileManager &manager, std::string const &mode="w") const |
|
void | writeFits (fits::Fits &fitsfile) const |
|
std::ostream & | operator<< (std::ostream &os, Storable const &storable) |
|
std::ostream & | operator<< (std::ostream &os, Storable const &storable) |
|
|
static std::shared_ptr< T > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< T > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< T > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< T > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
|
static std::shared_ptr< T > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< T > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< T > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< Psf > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< Psf > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< Psf > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< Psf > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< Psf > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< T > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
|
static std::shared_ptr< Psf > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
|
static std::shared_ptr< Image > | recenterKernelImage (std::shared_ptr< Image > im, lsst::geom::Point2D const &position, std::string const &warpAlgorithm="lanczos5", unsigned int warpBuffer=5) |
|
|
boost::shared_ptr< afw::detection::Psf::Image > | doComputeKernelImage (geom::Point2D const &ccdXY, afw::image::Color const &color) const override |
|
geom::Box2I | doComputeBBox (geom::Point2D const &position, afw::image::Color const &color) const override |
|
std::string | getPersistenceName () const override |
|
std::string | getPythonModule () const override |
|
void | write (OutputArchiveHandle &handle) const override |
|
| CoaddPsf (afw::table::ExposureCatalog const &catalog, afw::geom::SkyWcs const &coaddWcs, geom::Point2D const &averagePosition, std::string const &warpingKernelName="lanczos3", int cacheSize=10000) |
|
virtual double | doComputeApertureFlux (double radius, geom::Point2D const &position, afw::image::Color const &color) const |
|
virtual afw::geom::ellipses::Quadrupole | doComputeShape (geom::Point2D const &position, afw::image::Color const &color) const |
|
virtual std::shared_ptr< Image > | doComputeImage (lsst::geom::Point2D const &position, image::Color const &color) const |
|
virtual void | write (OutputArchiveHandle &handle) const |
|
CoaddPsf is the Psf derived to be used for non-PSF-matched Coadd images.
It incorporates the logic of James Jee's Stackfit algorithm for estimating the Psf of coadd by coadding the images of the Psf models of each input exposure.
Definition at line 58 of file CoaddPsf.h.
bool lsst::meas::algorithms::CoaddPsf::isPersistable |
( |
| ) |
const |
|
inlineoverridevirtualnoexcept |
Return true if the CoaddPsf persistable (always true).
While it's actually possible to construct a CoaddPsf that isn't persistable (because its nested Psfs and Wcss are not persistable) in artificial situations, in realistic situations it's pretty much impossible, because persistence is a necessary part of how CoaddPsfs are built. And it's simpler and much faster if we just always return true, rather than loop over the elements and check each one.
Reimplemented from lsst::afw::detection::Psf.
Definition at line 179 of file CoaddPsf.h.