LSST Applications  21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
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 }