This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
# Rotates a simple 2D FITS image. If <xcen> and <ycen> are specified, | |
# the output image is the same size as the input image. Otherwise, | |
# the output image is the smallest that will hold all the rotated input | |
# data. | |
# Usage: | |
# rotate_wcs.py <infile> <outfile> <rotation> [<xcen> <ycen>] | |
# |