The code for processing the 2D saxs pattern.