pynrc.reduce.calib.deconv_single_image

pynrc.reduce.calib.deconv_single_image(im, kfft)[source]

Image deconvolution for a kernel

Perform deconvolution of an image using a kernel. This function calculates the FFT of the input image, divides by the kernel’s pre-calculated FFT, then performs an inverse FFT to obtain the deconvolved image.

Parameters:
  • im (ndarray) – Input image to deconvolve.

  • kfft (Complex ndarray) – FFT of the deconvolution kernel.