Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

compute_lima_image

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

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

Parameters:
counts : WcsNDMap

Counts image

background : WcsNDMap

Background image

kernel : astropy.convolution.Kernel2D

Convolution kernel

Returns:
images : dict

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