Moire interferometry formulas for hard x-ray wavefront sensing

We derive mathematical relations for hard X-ray moire wavefront analysis with a grating interferometer. In particular, the first derivative of the wavefront phase profile and the local radius of curvature of the wavefront are related to the position and inclination of the observed moiré fringes.