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.

\[\int_{x_{min}}^{x_{max}} P(x|mu)\mathrm{d}x = alpha\]

For more information see documentation.

Parameters
mufloat

Mean of the signal

backgroundfloat

Mean of the background

x_binsarray-like

Bins in x

alphafloat

Desired confidence level

Returns
(x_min, x_max)tuple of floats

Acceptance interval