Function lsst::ip::diffim::makeCentralDifferenceMatrix¶
Function Documentation¶
-
Eigen::MatrixXd
lsst::ip::diffim
::
makeCentralDifferenceMatrix
(int width, int height, int stencil, float borderPenalty, bool fitForBackground)¶ Build a central difference Laplacian regularization matrix for Delta function kernels.
- Parameters
width
: Width of basis set you want to regularizeheight
: Height of basis set you want to regularizestencil
: Which type of Laplacian approximation to useborderPenalty
: Amount of penalty (if any) to apply to border pixels; > 0fitForBackground
: Fit for differential background?