Note

You are not reading the most up to date version of Gammapy documentation.
Access the latest stable version v1.3 or the list of Gammapy releases.

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