fc_get_limits

gammapy.stats.fc_get_limits(mu_bins, x_bins, acceptance_intervals)[source]

Find lower and upper limit from acceptance intervals.

For more information see documentation.

Parameters:

mu_bins : array-like

The bins used in mue direction.

x_bins : array-like

The bins of the x distribution

acceptance_intervals : array-like

The output of fc_construct_acceptance_intervals_pdfs.

Returns:

lower_limit : array-like

Feldman Cousins lower limit x-coordinates

upper_limit : array-like

Feldman Cousins upper limit x-coordinates

x_values : array-like

All the points that are inside the acceptance intervals