1. A method for detection of one or more defects in a printed pattern of geometrical features on a semiconductor die, the printed pattern comprising an array of geometrical features having a nominal pitch, the method comprising: determining one or more deviations from the nominal pitch in the printed pattern; and comparing the printed pattern with a second version of the printed pattern, wherein the second version has the same or similar pitch deviations as the printed pattern.