The constructor is
ba.OffspecDetector(n_alpha, alpha_min, alpha_max, phi_min, phi_max)
Scattering intensity is numerically integrated over azimuthal range from phi_min to phi_max.
phi_min
phi_max