If a null value (!) is given it is assumed that the pixel co-ordinates of a given feature are identical in the two NDFs. [!]
and the shift in the pixel origin is:
Likewise, if the bounds of the second axis in m51 are J1:J2, and SQORST Parameter YDIM is set to N, then the squashing factor for the second axis is:
and the shift in the pixel origin is:
You would then use the following values for Parameter TR when running WCSCOPY:
Note, the zero terms indicate that the axes are independent (i.e. there is no rotation of the image). The numerical values in the example are for an image with pixel-index bounds of 52:251 on both axes which was squashed by SQORST to produce an image with 100 pixels on each axis.
KAPPA --- Kernel Application Package