Introduction - If you have any usage issues, please Google them yourself
This function requires the input of a 2D matrix containing intensity values (double)
corresponding to the x-ray scattering image (‘imagemat’). It returns I(q) vs. q in matrix
‘IvsQ’. It loads the experimental parameters saved in A.1. Start and end pixel counts can
be adjusted as needed. It is important to resize matrices ‘allpixels’ and ‘sortedpix’
accordingly.