Function lsst::ip::diffim::makeForwardDifferenceMatrix¶
Function Documentation¶
-
Eigen::MatrixXd
lsst::ip::diffim
::
makeForwardDifferenceMatrix
(int width, int height, std::vector<int> const &orders, float borderPenalty, bool fitForBackground)¶ Build a forward difference regularization matrix for Delta function kernels.
- Parameters
width
: Width of basis set you want to regularizeheight
: Height of basis set you want to regularizeorders
: Which derivatives to penalize (1,2,3)borderPenalty
: Amount of penalty (if any) to apply to border pixels; > 0fitForBackground
: Fit for differential background?