A sample inspection apparatus irradiates a sample with a conical shell of X-ray or similar radiation generating a plurality of Debye rings originating from a circular path on the sample. The apparatus is provided with two detectors. A first detector receives diffracted radiation and a second detector receives radiation which is transmitted through a coded aperture provided at a detection surface of the first detector.