fc_find_limit¶
-
gammapy.stats.
fc_find_limit
(x_value, x_values, y_values)[source]¶ Find the limit for a given x measurement.
See also: Feldman and Cousins Confidence Intervals
Parameters: - x_value : float
The measured x value for which the upper limit is wanted.
- x_values : array-like
The x coordinates of the confidence belt.
- y_values : array-like
The y coordinates of the confidence belt.
Returns: - limit : float
The Feldman Cousins limit