fc_find_acceptance_interval_gauss

gammapy.stats.fc_find_acceptance_interval_gauss(mu, sigma, x_bins, alpha)[source]

Analytical acceptance interval for Gaussian with boundary at the origin.

xmaxxminP(x|mu)dx=alpha

For more information see documentation.

Parameters
mufloat

Mean of the Gaussian

sigmafloat

Width of the Gaussian

x_binsarray-like

Bins in x

alphafloat

Desired confidence level

Returns
(x_min, x_max)tuple of floats

Acceptance interval