excess_matching_significance

gammapy.stats.excess_matching_significance(mu_bkg, significance, method='lima')[source]

Compute excess matching a given significance.

This function is the inverse of significance.

Parameters
mu_bkgarray_like

Known background level

significancearray_like

Significance

method{‘lima’, ‘simple’}

Select method

Returns
excessnumpy.ndarray

Excess

Examples

>>> excess_matching_significance(mu_bkg=0.2, significance=5, method='lima')
TODO
>>> excess_matching_significance(mu_bkg=0.2, significance=5, method='simple')
TODO