fc_find_average_upper_limit¶
-
gammapy.stats.
fc_find_average_upper_limit
(x_bins, matrix, upper_limit, mu_bins, prob_limit=1e-05)[source]¶ Calculate the average upper limit for a confidence belt.
See also: Feldman and Cousins Confidence Intervals
Parameters: - x_bins : array-like
Bins in x direction
- matrix : array-like
A list of x PDFs for increasing values of mue (same as for fc_construct_acceptance_intervals_pdfs).
- upper_limit : array-like
Feldman Cousins upper limit x-coordinates
- mu_bins : array-like
The bins used in mue direction.
- prob_limit : float
Probability value at which x values are no longer considered for the average limit.
Returns: - average_limit : float
Average upper limit