fc_find_acceptance_interval_poisson¶
-
gammapy.stats.
fc_find_acceptance_interval_poisson
(mu, background, x_bins, alpha)[source]¶ Analytical acceptance interval for Poisson process with background.
∫xmaxxminP(x|mu)dx=alphaFor more information see documentation.
Parameters: mu : float
Mean of the signal
background : float
Mean of the background
x_bins : array-like
Bins in x
alpha : float
Desired confidence level
Returns: (x_min, x_max) : tuple of floats
Acceptance interval