Text this: Optimization of an X-ray system for free-space propagation and single mask edge illumination phase contrast imaging