compute_lima_on_off_image¶
-
gammapy.detect.compute_lima_on_off_image(n_on, n_off, a_on, a_off, kernel)[source]¶ Compute Li & Ma significance and flux images for on-off observations.
Parameters: n_on :
WcsNDMapCounts image
n_off :
WcsNDMapOff counts image
a_on :
WcsNDMapRelative background efficiency in the on region
a_off :
WcsNDMapRelative background efficiency in the off region
kernel :
astropy.convolution.Kernel2DConvolution kernel
Returns: images : dict
Dictionary containing result maps Keys are: significance, n_on, background, excess, alpha
See also