aiapy.psf.deconvolve(smap, *, psf=None, iterations=25, clip_negative=True, use_gpu=True)[source]#

Deconvolve an AIA image with the point spread function.

Perform image deconvolution on an AIA image with the instrument point spread function using the Richardson-Lucy deconvolution algorithm [1].


If the cupy package is installed and your machine has an NVIDIA GPU, the deconvolution will automatically be accelerated with CUDA. This can lead to more than an order of magnitude in performance increase compared to pure numpy on a CPU. For more information on PSF deconvolution on a GPU, see [2].

  • smap (Map) – An AIA image

  • psf (ndarray, optional) – The point spread function. If None, it will be calculated

  • iterations (int, optional) – Number of iterations in the Richardson-Lucy algorithm

  • clip_negative (bool, optional) – If the image has negative intensity values, set them to zero.

  • use_gpu (bool, optional) – If True and cupy is installed, do PSF deconvolution on the GPU with cupy.


Map – Deconvolved AIA image

See also