SHS Analysis: Remove outliers in Shifts
XRays may cause hotpixels on shot, which may be falsely detected as a spot by the analysis and result in crazy large gradients in single points - which or course mess up the reconstructed wavefront.
One could investigate an algorithm to detect these outliers, e.g. by subtracting the tilt and comparing the amplitude of the shifts. If one or two shifts exceed 2 or 3 sigma from the main distribution, they could be considered outliers and can be removed from the Gradient.
Excample images with XRays like these were recorded at PTAS during I020 - one can look up the shotnumbers in the shotbooks. According comments have been made in the "WF"-row.