Find the no of pixels, edge values and indices of the required Q rings

I think you can make this a bit more efficient by generating the mask once:

```python
odd_mask =  (q_inds % 2).astype(bool)

odd_vals = q_inds[odd_mask]
even_vals = q_inds[~odd_mask]
```