lsst.ip.diffim  20.0.0-1-g596936a+12
BasisLists.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
12 #ifndef LSST_IP_DIFFIM_BASISSLISTS_H
13 #define LSST_IP_DIFFIM_BASISSLISTS_H
14 
15 #include <memory>
16 #include <vector>
17 
18 #include "Eigen/Core"
19 
21 #include "lsst/afw/math/Kernel.h"
22 
23 namespace lsst {
24 namespace ip {
25 namespace diffim {
26 
38  int width,
39  int height
40  );
41 
52  Eigen::MatrixXd makeRegularizationMatrix(
54  );
55 
67  Eigen::MatrixXd makeForwardDifferenceMatrix(
68  int width,
69  int height,
70  std::vector<int> const & orders,
71  float borderPenalty,
72  bool fitForBackground
73  );
74 
86  Eigen::MatrixXd makeCentralDifferenceMatrix(
87  int width,
88  int height,
89  int stencil,
90  float borderPenalty,
91  bool fitForBackground
92  );
93 
110  lsst::afw::math::KernelList const &kernelListIn
111  );
112 
127  int halfWidth,
128  int nGauss,
129  std::vector<double> const& sigGauss,
130  std::vector<int> const& degGauss
131  );
132 
133 }}} // end of namespace lsst::ip::diffim
134 
135 #endif
lsst::ip::diffim::makeRegularizationMatrix
Eigen::MatrixXd makeRegularizationMatrix(lsst::daf::base::PropertySet const &ps)
Build a regularization matrix for Delta function kernels.
Definition: BasisLists.cc:149
Kernel.h
std::vector
STL class.
lsst::ip::diffim::makeDeltaFunctionBasisList
lsst::afw::math::KernelList makeDeltaFunctionBasisList(int width, int height)
Build a set of Delta Function basis kernels.
Definition: BasisLists.cc:47
PropertySet.h
lsst
lsst::ip::diffim::makeCentralDifferenceMatrix
Eigen::MatrixXd makeCentralDifferenceMatrix(int width, int height, int stencil, float borderPenalty, bool fitForBackground)
Build a central difference Laplacian regularization matrix for Delta function kernels.
Definition: BasisLists.cc:209
lsst::ip::diffim::makeAlardLuptonBasisList
lsst::afw::math::KernelList makeAlardLuptonBasisList(int halfWidth, int nGauss, std::vector< double > const &sigGauss, std::vector< int > const &degGauss)
Build a set of Alard/Lupton basis kernels.
Definition: BasisLists.cc:78
lsst::daf::base::PropertySet
lsst::ip::diffim::renormalizeKernelList
lsst::afw::math::KernelList renormalizeKernelList(lsst::afw::math::KernelList const &kernelListIn)
Renormalize a list of basis kernels.
Definition: BasisLists.cc:414
lsst::ip::diffim::makeForwardDifferenceMatrix
Eigen::MatrixXd makeForwardDifferenceMatrix(int width, int height, std::vector< int > const &orders, float borderPenalty, bool fitForBackground)
Build a forward difference regularization matrix for Delta function kernels.
Definition: BasisLists.cc:311