A Geant4-based simulation framework enabling to simulate refraction (i.e., differential phase-contrast) images in EI mode has been developed.
The simulation features realistic tungsten anode spectra and focal spot distributions, detector energy response, tunable masks (pitch, aperture, thickness), geometry, acquisition modes (double-mask, single-mask, conventional), and movimentation (stepping, dithering). The code of the simulation can be found at this
link.