fsaoi -- Translate an SAOImage region file to an input file for FSELECT
fsaoi infile outfile
This task reads a region file created by SAOImage, and translates it into the correct format for input to FSELECT. Since SAOImage's output is in pixel coordinates rather than the coordinates of the image file, FSAOI will translate the values using the keywords: CRVALn, CRPIXn and CDELTn, as well as the names of the columns corresponding to the axes of the image (XCOLNAME and YCOLNAME). The task F2DHISTO writes the correct values of these keywords in the primary array header. If keywords are missing from the primary header of the input imagefile, they can be supplied to this task via hidden parameters. The default hidden parameters correspond to no transformation. If the keywords are present in the image file, the hidden parameter values are ignored.
1. Read the file saoimage.reg and write the appropriate FSELECT expression to the file fselect.in
ft> fsaoi saoimage.reg fselect.in
FSAOI will not produce correct results for images with different scale factors in the X and Y direction (CDELT1 .ne. CDELT2) if the selected region includes a rotation angle.
fselect, f2dhisto