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