compute_lima_image

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

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

If exposure is given the corresponding flux image is computed and returned.

Parameters:

counts : SkyImage

Counts image

background : SkyImage

Background image

kernel : astropy.convolution.Kernel2D

Convolution kernel

exposure : SkyImage

Exposure image

Returns:

images : SkyImageList

Results images container