REGNE
Name
REGNE is a simple Iraf script that uses the astrometry information in the FITS header to rotate an image and register it with the usual North-East orientation.
Usage
cl> regne input output interp
The package stsdas
must be loaded before running the script.
Parameters
- input: Input image
- output: Output image
-
interp: Interpolation method for rebining the image. It can be any of the methods described in the help file of the
wregister
task. Default is linear.
Description
Using the astrometry coefficients within the header (CD1_1, CD1_2, CD2_1 and CD2_2), the script computes the pixel scale of the image and uses it to create an empty image with the NE orientation. The size of this reference image is such that the original one will not be trimmed. The original image is then registered with the reference one using the wregister
task.
See also
Check the help file of the wregister
task.