Here, q is defined as q = (4π/λ) sin θ, with the scattering angle 2θ.