LSSTApplications  19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
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.