Function lsst::ip::diffim::renormalizeKernelList¶
Function Documentation¶
-
lsst::afw::math::KernelList
lsst::ip::diffim
::
renormalizeKernelList
(lsst::afw::math::KernelList const &kernelListIn)¶ Renormalize a list of basis kernels.
- Note
Renormalization means make Ksum_0 = 1.0, Ksum_i = 0.0, K_i.dot.K_i = 1.0
- Note
Output list of shared pointers to FixedKernels
- Note
Images are checked for their current kernel sum. If it is larger than std::numeric_limits<double>::epsilon(), the kernel is first divided by the kernel sum, giving it a kSum of 1.0, and then the first (normalized) component is subtracted from it, giving it a kSum of 0.0.
- Parameters
kernelListIn
: input list of basis kernels