LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
BasisLists.h
Go to the documentation of this file.
1 // -*- lsst-c++ -*-
12 #ifndef LSST_IP_DIFFIM_BASISSETS_H
13 #define LSST_IP_DIFFIM_BASISSETS_H
14 
15 #include "boost/shared_ptr.hpp"
16 
17 #include "Eigen/Core"
18 
19 #include "lsst/pex/policy/Policy.h"
20 #include "lsst/afw/math/Kernel.h"
21 
22 namespace lsst {
23 namespace ip {
24 namespace diffim {
25 
37  int width,
38  int height
39  );
40 
51  boost::shared_ptr<Eigen::MatrixXd> makeRegularizationMatrix(
53  );
54 
66  boost::shared_ptr<Eigen::MatrixXd> makeForwardDifferenceMatrix(
67  int width,
68  int height,
69  std::vector<int> const& orders,
70  float borderPenalty,
71  bool fitForBackground
72  );
73 
85  boost::shared_ptr<Eigen::MatrixXd> makeCentralDifferenceMatrix(
86  int width,
87  int height,
88  int stencil,
89  float borderPenalty,
90  bool fitForBackground
91  );
92 
109  lsst::afw::math::KernelList const &kernelListIn
110  );
111 
126  int halfWidth,
127  int nGauss,
128  std::vector<double> const& sigGauss,
129  std::vector<int> const& degGauss
130  );
131 
132 }}} // end of namespace lsst::ip::diffim
133 
134 #endif
lsst::afw::math::KernelList renormalizeKernelList(lsst::afw::math::KernelList const &kernelListIn)
Rescale an input set of kernels.
Definition: BasisLists.cc:420
Declare the Kernel class and subclasses.
a container for holding hierarchical configuration data in memory.
Definition: Policy.h:169
boost::shared_ptr< Eigen::MatrixXd > makeCentralDifferenceMatrix(int width, int height, int stencil, float borderPenalty, bool fitForBackground)
Generate regularization matrix for delta function kernels.
Definition: BasisLists.cc:212
boost::shared_ptr< Eigen::MatrixXd > makeRegularizationMatrix(lsst::pex::policy::Policy policy)
Build a regularization matrix for Delta function kernels.
Definition: BasisLists.cc:151
lsst::afw::math::KernelList makeDeltaFunctionBasisList(int width, int height)
Generate a basis set of delta function Kernels.
Definition: BasisLists.cc:48
std::vector< boost::shared_ptr< Kernel > > KernelList
Definition: Kernel.h:542
boost::shared_ptr< Eigen::MatrixXd > makeForwardDifferenceMatrix(int width, int height, std::vector< int > const &orders, float borderPenalty, bool fitForBackground)
Generate regularization matrix for delta function kernels.
Definition: BasisLists.cc:316
lsst::afw::math::KernelList makeAlardLuptonBasisList(int halfWidth, int nGauss, std::vector< double > const &sigGauss, std::vector< int > const &degGauss)
Generate an Alard-Lupton basis set of Kernels.
Definition: BasisLists.cc:79