LSST Applications  21.0.0+04719a4bac,21.0.0-1-ga51b5d4+f5e6047307,21.0.0-11-g2b59f77+a9c1acf22d,21.0.0-11-ga42c5b2+86977b0b17,21.0.0-12-gf4ce030+76814010d2,21.0.0-13-g1721dae+760e7a6536,21.0.0-13-g3a573fe+768d78a30a,21.0.0-15-g5a7caf0+f21cbc5713,21.0.0-16-g0fb55c1+b60e2d390c,21.0.0-19-g4cded4ca+71a93a33c0,21.0.0-2-g103fe59+bb20972958,21.0.0-2-g45278ab+04719a4bac,21.0.0-2-g5242d73+3ad5d60fb1,21.0.0-2-g7f82c8f+8babb168e8,21.0.0-2-g8f08a60+06509c8b61,21.0.0-2-g8faa9b5+616205b9df,21.0.0-2-ga326454+8babb168e8,21.0.0-2-gde069b7+5e4aea9c2f,21.0.0-2-gecfae73+1d3a86e577,21.0.0-2-gfc62afb+3ad5d60fb1,21.0.0-25-g1d57be3cd+e73869a214,21.0.0-3-g357aad2+ed88757d29,21.0.0-3-g4a4ce7f+3ad5d60fb1,21.0.0-3-g4be5c26+3ad5d60fb1,21.0.0-3-g65f322c+e0b24896a3,21.0.0-3-g7d9da8d+616205b9df,21.0.0-3-ge02ed75+a9c1acf22d,21.0.0-4-g591bb35+a9c1acf22d,21.0.0-4-g65b4814+b60e2d390c,21.0.0-4-gccdca77+0de219a2bc,21.0.0-4-ge8a399c+6c55c39e83,21.0.0-5-gd00fb1e+05fce91b99,21.0.0-6-gc675373+3ad5d60fb1,21.0.0-64-g1122c245+4fb2b8f86e,21.0.0-7-g04766d7+cd19d05db2,21.0.0-7-gdf92d54+04719a4bac,21.0.0-8-g5674e7b+d1bd76f71f,master-gac4afde19b+a9c1acf22d,w.2021.13
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 }