I'm trying to compute the local PSF of a calexp in order to perform a quick-and-dirty injection of transients. However, whenever I try to use the methods computeKernelImage() and computeImage(), I obtain the shape of the PSF with background noise. Is there a way to remove the noise from the image?
This is the typical result I get from using the methods. I'm working on CFHT calexps.