fc_find_limit

gammapy.stats.fc_find_limit(x_value, x_values, y_values)[source]

Find the limit for a given x measurement

For more information see documentation

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