make_distortion_maps

simcado.spatial.make_distortion_maps(real_xy, detector_xy, step=1)[source]

Generate distortion maps based on star positions.

The centres of the returned images correspond to the centre of the detector plane

Parameters
real_xylist

[arcsec] Contains 2 arrays: ([x_pos], [y_pos]) where x_pos, y_pos are the coordinates of the real position of the stars

detector_xylist

[arcsec] Contains 2 arrays: ([x_pos], [y_pos]) where x_pos, y_pos are the coordinates of the detected position of the stars

stepfloat

[arcsec] the grid spacing of the returned images

Returns
dx, dy2D array

Returns two arrays with