lsst.ip.diffim  21.0.0-13-g5daad6e+781036ce68
Public Types | Public Member Functions | List of all members
lsst::ip::diffim::detail::KernelPca< ImageT > Class Template Reference

Overrides the analyze method of base class afwImage::ImagePca. More...

#include <KernelPca.h>

Inheritance diagram for lsst::ip::diffim::detail::KernelPca< ImageT >:
lsst::afw::image::ImagePca< ImageT >

Public Types

typedef std::shared_ptr< KernelPca< ImageT > > Ptr
 
typedef std::vector< std::shared_ptr< ImageT > > ImageList
 

Public Member Functions

 KernelPca (bool constantWeight=true)
 Ctor. More...
 
virtual void analyze ()
 Generate eigenimages that are normalised. More...
 
void addImage (std::shared_ptr< ImageT > img, double flux=0.0)
 
ImageList getImageList () const
 
lsst::geom::Extent2I const getDimensions () const
 
std::shared_ptr< ImageT > getMean () const
 
virtual double updateBadPixels (unsigned long mask, int const ncomp)
 
std::vector< double > const & getEigenValues () const
 
ImageList const & getEigenImages () const
 

Detailed Description

template<typename ImageT>
class lsst::ip::diffim::detail::KernelPca< ImageT >

Overrides the analyze method of base class afwImage::ImagePca.

Note
Templated on the Image types it is running on (typically [exclusively?] afwMath::Kernel::Pixel, which is double)
This override normalizes the resulting eigenImages to have peak value of 1.0.

Definition at line 24 of file KernelPca.h.

Member Typedef Documentation

◆ Ptr

template<typename ImageT >
typedef std::shared_ptr<KernelPca<ImageT> > lsst::ip::diffim::detail::KernelPca< ImageT >::Ptr

Definition at line 27 of file KernelPca.h.

Constructor & Destructor Documentation

◆ KernelPca()

template<typename ImageT >
lsst::ip::diffim::detail::KernelPca< ImageT >::KernelPca ( bool  constantWeight = true)
inlineexplicit

Ctor.

Definition at line 33 of file KernelPca.h.

Member Function Documentation

◆ analyze()

template<typename ImageT >
void lsst::ip::diffim::detail::KernelPca< ImageT >::analyze
virtual

Generate eigenimages that are normalised.

Reimplemented from lsst::afw::image::ImagePca< ImageT >.

Definition at line 163 of file KernelPca.cc.


The documentation for this class was generated from the following files: