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.

ring_alpha

gammapy.background.ring_alpha(theta, r_in, r_out)[source]

Compute ring alpha, the inverse area factor.

Parameters:

theta : float

On region radius

r_in : float

Inner ring radius

r_out : float

Outer ring radius