LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
12 #ifndef LSST_IP_DIFFIM_KERNELCANDIDATE_H
13 #define LSST_IP_DIFFIM_KERNELCANDIDATE_H
38 template <
typename _PixelT>
182 Eigen::MatrixXd
const& hMat
193 bool _useRegularization;
194 bool _fitForBackground;
203 Eigen::MatrixXd
const& hMat);
218 template <
typename PixelT>
243 template <
typename PixelT>
std::shared_ptr< afw::image::Image< afw::image::VariancePixel > > VariancePtr
#define CONST_PTR(...)
A shared pointer to a const object.
void build(afw::math::KernelList const &basisList)
Core functionality of KernelCandidate, to build and fill a KernelSolution.
Class stored in SpatialCells for spatial Kernel fitting.
Declaration of classes to store the solution for convolution kernels.
double getCandidateRating() const
Return Candidate rating.
std::shared_ptr< afw::table::SourceRecord > SourcePtr
afw::image::MaskedImage< PixelT > getDifferenceImage(CandidateSwitch cand)
Calculate associated difference image using internal solutions.
afw::image::Image< afw::math::Kernel::Pixel > ImageT
std::shared_ptr< afw::image::MaskedImage< PixelT > > MaskedImagePtr
const char * source()
Source function that allows astChannel to source from a Stream.
Base class for candidate objects in a SpatialCell that are able to return an Image of some sort (e....
SourcePtr getSource() const
Return the original source.
KernelCandidate(float const xCenter, float const yCenter, MaskedImagePtr const &templateMaskedImage, MaskedImagePtr const &scienceMaskedImage, daf::base::PropertySet const &ps)
Constructor.
boost::shared_ptr< ImageT const > getImage() const
boost::shared_ptr< ImageT > getKernelImage(CandidateSwitch cand) const
A base class for image defects.
std::shared_ptr< afw::math::Kernel > getKernel(CandidateSwitch cand) const
Return results of kernel solution.
std::shared_ptr< StaticKernelSolution< PixelT > > getKernelSolution(CandidateSwitch cand) const
double getBackground(CandidateSwitch cand) const
bool isInitialized() const
Class for storing generic metadata.
MaskedImagePtr getTemplateMaskedImage()
Return pointers to the image pixels used in kernel determination.
A class to represent a 2-dimensional array of pixels.
std::shared_ptr< KernelCandidate > Ptr
double getKsum(CandidateSwitch cand) const
virtual ~KernelCandidate()
Destructor.
std::shared_ptr< KernelCandidate< PixelT > > makeKernelCandidate(float const xCenter, float const yCenter, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &templateMaskedImage, std::shared_ptr< afw::image::MaskedImage< PixelT > > const &scienceMaskedImage, daf::base::PropertySet const &ps)
Return a KernelCandidate pointer of the right sort.
MaskedImagePtr getScienceMaskedImage()