Module: xrd.distortion

2 Functions

hexrd.xrd.distortion.dummy(xy_in, params, invert=False)[source]
hexrd.xrd.distortion.GE_41RT(xy_in, params, invert=False)[source]

Apply radial distortion to polar coordinates on GE detector

xin, yin are 1D arrays or scalars, assumed to be relative to self.xc, self.yc Units are [mm, radians]. This is the power-law based function of Bernier.

Available Keyword Arguments :

invert = True or >False< :: apply inverse warping