LSST Applications  21.0.0-147-g0e635eb1+1acddb5be5,22.0.0+052faf71bd,22.0.0+1ea9a8b2b2,22.0.0+6312710a6c,22.0.0+729191ecac,22.0.0+7589c3a021,22.0.0+9f079a9461,22.0.1-1-g7d6de66+b8044ec9de,22.0.1-1-g87000a6+536b1ee016,22.0.1-1-g8e32f31+6312710a6c,22.0.1-10-gd060f87+016f7cdc03,22.0.1-12-g9c3108e+df145f6f68,22.0.1-16-g314fa6d+c825727ab8,22.0.1-19-g93a5c75+d23f2fb6d8,22.0.1-19-gb93eaa13+aab3ef7709,22.0.1-2-g8ef0a89+b8044ec9de,22.0.1-2-g92698f7+9f079a9461,22.0.1-2-ga9b0f51+052faf71bd,22.0.1-2-gac51dbf+052faf71bd,22.0.1-2-gb66926d+6312710a6c,22.0.1-2-gcb770ba+09e3807989,22.0.1-20-g32debb5+b8044ec9de,22.0.1-23-gc2439a9a+fb0756638e,22.0.1-3-g496fd5d+09117f784f,22.0.1-3-g59f966b+1e6ba2c031,22.0.1-3-g849a1b8+f8b568069f,22.0.1-3-gaaec9c0+c5c846a8b1,22.0.1-32-g5ddfab5d3+60ce4897b0,22.0.1-4-g037fbe1+64e601228d,22.0.1-4-g8623105+b8044ec9de,22.0.1-5-g096abc9+d18c45d440,22.0.1-5-g15c806e+57f5c03693,22.0.1-7-gba73697+57f5c03693,master-g6e05de7fdc+c1283a92b8,master-g72cdda8301+729191ecac,w.2021.39
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 }