Q rings, q indices, number of pixels in each q ring

This module will compute the Q values for all pixels in a shape specified by
detector_size and find the indices of the required Q rings. Count the
number of pixels in each Q ring.
Why it looks wrong? it will return both the left and right edges of the rings there is no step_q in these q rings therefore the both edges will have the same value