Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
More...
|
| PcaPsf (std::shared_ptr< afw::math::LinearCombinationKernel > kernel, geom::Point2D const &averagePosition=geom::Point2D()) |
| Constructor for a PcaPsf.
|
|
std::shared_ptr< afw::detection::Psf > | clone () const override |
| Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x.
|
|
std::shared_ptr< afw::detection::Psf > | resized (int width, int height) const override |
| Return a clone with specified kernel dimensions.
|
|
std::shared_ptr< afw::math::LinearCombinationKernel const > | getKernel () const |
| PcaPsf always has a LinearCombinationKernel, so we can override getKernel to make it more useful.
|
|
geom::Point2D | getAveragePosition () const override |
| Return average position of stars; used as default position.
|
|
bool | isPersistable () const noexcept override |
| Whether this object is persistable; just delegates to the kernel.
|
|
std::shared_ptr< typehandling::Storable > | cloneStorable () const override |
|
std::shared_ptr< Image > | computeImage (lsst::geom::Point2D position, image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
std::shared_ptr< Image > | computeKernelImage (lsst::geom::Point2D position, image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
double | computePeak (lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
double | computeApertureFlux (double radius, lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
geom::ellipses::Quadrupole | computeShape (lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
std::shared_ptr< math::Kernel const > | getLocalKernel (lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
image::Color | getAverageColor () const |
|
lsst::geom::Box2I | computeBBox (lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
lsst::geom::Box2I | computeImageBBox (lsst::geom::Point2D position, image::Color color=image::Color()) const |
|
lsst::geom::Box2I | computeKernelBBox (lsst::geom::Point2D position, 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< 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< T > | dynamicCast (std::shared_ptr< Persistable > const &ptr) |
|
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< T > | 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) |
|
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
Definition at line 37 of file PcaPsf.h.