compute_lima_image

gammapy.detect.compute_lima_image(counts, background, kernel)[source]

Compute Li & Ma significance and flux images for known background.

Parameters
countsWcsNDMap

Counts image

backgroundWcsNDMap

Background image

kernelastropy.convolution.Kernel2D

Convolution kernel

Returns
imagesdict

Dictionary containing result maps Keys are: significance, counts, background and excess