lsst.ip.diffim gbdffd78dd5+376ef15608
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
22
23namespace lsst {
24namespace ip {
25namespace 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::afw::math::KernelList makeDeltaFunctionBasisList(int width, int height)
Build a set of Delta Function basis kernels.
Definition: BasisLists.cc:47
lsst::afw::math::KernelList renormalizeKernelList(lsst::afw::math::KernelList const &kernelListIn)
Renormalize a list of basis kernels.
Definition: BasisLists.cc:412
Eigen::MatrixXd makeRegularizationMatrix(lsst::daf::base::PropertySet const &ps)
Build a regularization matrix for Delta function kernels.
Definition: BasisLists.cc:147
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:207
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:309
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