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_bkg : array_like

Known background level

significance : array_like

Significance

method : {‘lima’, ‘simple’}

Select method

Returns:
excess : numpy.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