write_zero_distortion#

anri.io.write_zero_distortion(folder, det_shape)[source]#

Write e2dx.edf and e2dy.edf spatial distortion files that are zero everywhere.

Simulated detectors have no distortion, but ImageD11 only gives 2D peaks corrected sc/fc columns when a spatial correction is set.

Returns:

tuple[str, str] – e2dxfile, e2dyfile (str)