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_binsarray-like

The bins used in mue direction.

x_binsarray-like

The bins of the x distribution

acceptance_intervalsarray-like

The output of fc_construct_acceptance_intervals_pdfs.

Returns
lower_limitarray-like

Feldman Cousins lower limit x-coordinates

upper_limitarray-like

Feldman Cousins upper limit x-coordinates

x_valuesarray-like

All the points that are inside the acceptance intervals