Improvement of the quality of the data collected using a position-sensitive detector