LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Namespaces | Classes | Typedefs | Functions
lsst::ip::diffim::detail Namespace Reference

Namespaces

 diffimDetailLib
 

Classes

class  AssessSpatialKernelVisitor
 Asseses the quality of a candidate given a spatial kernel and background model. More...
 
class  BuildSingleKernelVisitor
 Builds the convolution kernel for a given candidate. More...
 
class  BuildSpatialKernelVisitor
 Creates a spatial kernel and background from a list of candidates. More...
 
class  KernelPca
 Overrides the analyze method of base class afwImage::ImagePca. More...
 
class  KernelPcaVisitor
 A class to run a PCA on all candidate kernels (represented as Images). More...
 
class  KernelSumVisitor
 A class to accumulate kernel sums across SpatialCells. More...
 

Typedefs

typedef float PixelT
 

Functions

template<typename PixelT >
std::shared_ptr< AssessSpatialKernelVisitor< PixelT > > makeAssessSpatialKernelVisitor (std::shared_ptr< lsst::afw::math::LinearCombinationKernel > spatialKernel, lsst::afw::math::Kernel::SpatialFunctionPtr spatialBackground, lsst::daf::base::PropertySet const &ps)
 
template<typename PixelT >
std::shared_ptr< BuildSingleKernelVisitor< PixelT > > makeBuildSingleKernelVisitor (lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps)
 
template<typename PixelT >
std::shared_ptr< BuildSingleKernelVisitor< PixelT > > makeBuildSingleKernelVisitor (lsst::afw::math::KernelList const &basisList, lsst::daf::base::PropertySet const &ps, Eigen::MatrixXd const &hMat)
 
template<typename PixelT >
std::shared_ptr< BuildSpatialKernelVisitor< PixelT > > makeBuildSpatialKernelVisitor (lsst::afw::math::KernelList const &basisList, lsst::geom::Box2I const &regionBBox, lsst::daf::base::PropertySet const &ps)
 
template<typename PixelT >
std::shared_ptr< KernelPcaVisitor< PixelT > > makeKernelPcaVisitor (std::shared_ptr< KernelPca< typename KernelPcaVisitor< PixelT >::ImageT > > imagePca)
 
template<typename PixelT >
std::shared_ptr< KernelSumVisitor< PixelT > > makeKernelSumVisitor (lsst::daf::base::PropertySet const &ps)
 
 PYBIND11_MODULE (assessSpatialKernelVisitor, mod)
 
 PYBIND11_MODULE (buildSingleKernelVisitor, mod)
 
 PYBIND11_MODULE (buildSpatialKernelVisitor, mod)
 
 PYBIND11_MODULE (kernelPca, mod)
 
 PYBIND11_MODULE (kernelSumVisitor, mod)
 
template std::shared_ptr< BuildSingleKernelVisitor< PixelT > > makeBuildSingleKernelVisitor< PixelT > (lsst::afw::math::KernelList const &, lsst::daf::base::PropertySet const &)
 
template std::shared_ptr< BuildSingleKernelVisitor< PixelT > > makeBuildSingleKernelVisitor< PixelT > (lsst::afw::math::KernelList const &, lsst::daf::base::PropertySet const &, Eigen::MatrixXd const &)
 
template std::shared_ptr< KernelSumVisitor< PixelT > > makeKernelSumVisitor< PixelT > (lsst::daf::base::PropertySet const &)
 

Typedef Documentation

◆ PixelT

Definition at line 208 of file AssessSpatialKernelVisitor.cc.

Function Documentation

◆ makeAssessSpatialKernelVisitor()

template<typename PixelT >
std::shared_ptr<AssessSpatialKernelVisitor<PixelT> > lsst::ip::diffim::detail::makeAssessSpatialKernelVisitor ( std::shared_ptr< lsst::afw::math::LinearCombinationKernel spatialKernel,
lsst::afw::math::Kernel::SpatialFunctionPtr  spatialBackground,
lsst::daf::base::PropertySet const &  ps 
)

Definition at line 60 of file AssessSpatialKernelVisitor.h.

64  {
65 
67  new AssessSpatialKernelVisitor<PixelT>(spatialKernel, spatialBackground, ps)
68  );
69  }

◆ makeBuildSingleKernelVisitor() [1/2]

template<typename PixelT >
std::shared_ptr<BuildSingleKernelVisitor<PixelT> > lsst::ip::diffim::detail::makeBuildSingleKernelVisitor ( lsst::afw::math::KernelList const &  basisList,
lsst::daf::base::PropertySet const &  ps 
)

Definition at line 77 of file BuildSingleKernelVisitor.h.

80  {
81 
83  new BuildSingleKernelVisitor<PixelT>(basisList, ps)
84  );
85  }

◆ makeBuildSingleKernelVisitor() [2/2]

template<typename PixelT >
std::shared_ptr<BuildSingleKernelVisitor<PixelT> > lsst::ip::diffim::detail::makeBuildSingleKernelVisitor ( lsst::afw::math::KernelList const &  basisList,
lsst::daf::base::PropertySet const &  ps,
Eigen::MatrixXd const &  hMat 
)

Definition at line 89 of file BuildSingleKernelVisitor.h.

93  {
94 
96  new BuildSingleKernelVisitor<PixelT>(basisList, ps, hMat)
97  );
98  }

◆ makeBuildSingleKernelVisitor< PixelT >() [1/2]

◆ makeBuildSingleKernelVisitor< PixelT >() [2/2]

◆ makeBuildSpatialKernelVisitor()

template<typename PixelT >
std::shared_ptr<BuildSpatialKernelVisitor<PixelT> > lsst::ip::diffim::detail::makeBuildSpatialKernelVisitor ( lsst::afw::math::KernelList const &  basisList,
lsst::geom::Box2I const &  regionBBox,
lsst::daf::base::PropertySet const &  ps 
)

Definition at line 56 of file BuildSpatialKernelVisitor.h.

60  {
61 
63  new BuildSpatialKernelVisitor<PixelT>(basisList, regionBBox, ps)
64  );
65  }

◆ makeKernelPcaVisitor()

template<typename PixelT >
std::shared_ptr<KernelPcaVisitor<PixelT> > lsst::ip::diffim::detail::makeKernelPcaVisitor ( std::shared_ptr< KernelPca< typename KernelPcaVisitor< PixelT >::ImageT > >  imagePca)

Definition at line 59 of file KernelPca.h.

59  {
60  return std::shared_ptr<KernelPcaVisitor<PixelT>>(new KernelPcaVisitor<PixelT>(imagePca));
61  };

◆ makeKernelSumVisitor()

template<typename PixelT >
std::shared_ptr<KernelSumVisitor<PixelT> > lsst::ip::diffim::detail::makeKernelSumVisitor ( lsst::daf::base::PropertySet const &  ps)

Definition at line 60 of file KernelSumVisitor.h.

60  {
61  return std::shared_ptr<KernelSumVisitor<PixelT>>(new KernelSumVisitor<PixelT>(ps));
62  }

◆ makeKernelSumVisitor< PixelT >()

◆ PYBIND11_MODULE() [1/5]

lsst::ip::diffim::detail::PYBIND11_MODULE ( assessSpatialKernelVisitor  ,
mod   
)

Definition at line 69 of file assessSpatialKernelVisitor.cc.

69  {
70  py::module::import("lsst.afw.math");
71  py::module::import("lsst.daf.base");
72 
73  declareAssessSpatialKernelVisitor<float>(mod, "F");
74 }

◆ PYBIND11_MODULE() [2/5]

lsst::ip::diffim::detail::PYBIND11_MODULE ( buildSingleKernelVisitor  ,
mod   
)

Definition at line 84 of file buildSingleKernelVisitor.cc.

84  {
85  py::module::import("lsst.afw.math");
86  py::module::import("lsst.daf.base");
87 
88  declareBuildSingleKernelVisitor<float>(mod, "F");
89 }

◆ PYBIND11_MODULE() [3/5]

lsst::ip::diffim::detail::PYBIND11_MODULE ( buildSpatialKernelVisitor  ,
mod   
)

Definition at line 73 of file buildSpatialKernelVisitor.cc.

73  {
74  py::module::import("lsst.afw.math");
75  py::module::import("lsst.afw.geom");
76  py::module::import("lsst.daf.base");
77 
78  declareBuildSpatialKernelVisitor<float>(mod, "F");
79 }

◆ PYBIND11_MODULE() [4/5]

lsst::ip::diffim::detail::PYBIND11_MODULE ( kernelPca  ,
mod   
)

Definition at line 90 of file kernelPca.cc.

90  {
91  py::module::import("lsst.afw.image");
92  py::module::import("lsst.afw.math");
93 
94  declareKernelPca<afw::math::Kernel::Pixel>(mod, "D");
95  declareKernelPcaVisitor<float>(mod, "F");
96 }

◆ PYBIND11_MODULE() [5/5]

lsst::ip::diffim::detail::PYBIND11_MODULE ( kernelSumVisitor  ,
mod   
)

Definition at line 77 of file kernelSumVisitor.cc.

77  {
78  py::module::import("lsst.afw.math");
79  py::module::import("lsst.daf.base");
80 
81  declareKernelSumVisitor<float>(mod, "F");
82 }
std::shared_ptr
STL class.