Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
More...
|
| PcaPsf (boost::shared_ptr< afw::math::LinearCombinationKernel > kernel, afw::geom::Point2D const &averagePosition=afw::geom::Point2D()) |
| Constructor for a PcaPsf. More...
|
|
virtual boost::shared_ptr< afw::detection::Psf > | clone () const |
| Polymorphic deep copy; should usually be unnecessary as Psfs are immutable.x. More...
|
|
virtual boost::shared_ptr< afw::detection::Psf > | resized (int width, int height) const |
| Return a clone with specified kernel dimensions. More...
|
|
boost::shared_ptr< afw::math::LinearCombinationKernel const > | getKernel () const |
| PcaPsf always has a LinearCombinationKernel, so we can override getKernel to make it more useful. More...
|
|
virtual afw::geom::Point2D | getAveragePosition () const |
| Return average position of stars; used as default position. More...
|
|
virtual bool | isPersistable () const |
| Whether this object is persistable; just delegates to the kernel. More...
|
|
std::shared_ptr< Image > | computeImage (geom::Point2D position=makeNullPoint(), image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
std::shared_ptr< Image > | computeKernelImage (geom::Point2D position=makeNullPoint(), image::Color color=image::Color(), ImageOwnerEnum owner=COPY) const |
|
double | computePeak (geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
double | computeApertureFlux (double radius, geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
geom::ellipses::Quadrupole | computeShape (geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
std::shared_ptr< math::Kernel const > | getLocalKernel (geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
image::Color | getAverageColor () const |
|
geom::Box2I | computeBBox (geom::Point2D position=makeNullPoint(), image::Color color=image::Color()) const |
|
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::string | repr () const |
|
void | markPersistent (void) |
|
memId | getId () const |
|
|
static std::shared_ptr< PcaPsf > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< PcaPsf > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< PcaPsf > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< KernelPsf > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< KernelPsf > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< KernelPsf > | readFits (fits::MemFileManager &manager, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< ImagePsf > | readFits (fits::Fits &fitsfile) |
|
static std::shared_ptr< ImagePsf > | readFits (std::string const &fileName, int hdu=fits::DEFAULT_HDU) |
|
static std::shared_ptr< ImagePsf > | 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< Image > | recenterKernelImage (std::shared_ptr< Image > im, geom::Point2D const &position, std::string const &warpAlgorithm="lanczos5", unsigned int warpBuffer=5) |
|
static bool | hasBeenCorrupted () |
|
static memId | getNextMemId () |
|
static int | init () |
|
static int | census (int, memId startingMemId=0) |
|
static void | census (std::ostream &stream, memId startingMemId=0) |
|
static const std::vector< const Citizen *> * | census () |
|
static int | census (int, memId startingMemId=0) |
|
static void | census (std::ostream &stream, memId startingMemId=0) |
|
static const std::vector< const Citizen *> * | census () |
|
static memId | setNewCallbackId (memId id) |
|
static memId | setNewCallbackId (memId id) |
|
static memId | setDeleteCallbackId (memId id) |
|
static memId | setDeleteCallbackId (memId id) |
|
static memNewCallback | setNewCallback (memNewCallback func) |
|
static memCallback | setDeleteCallback (memCallback func) |
|
static memCallback | setCorruptionCallback (memCallback func) |
|
Represent a PSF as a linear combination of PCA (== Karhunen-Loeve) basis functions.
Definition at line 34 of file PcaPsf.h.