Evaluation of diffraction effects of phase contrast imaging on HL-2A and HL-2M tokamak