mRotate

montage_wrapper.commands.mRotate(in_image, out_image, debug_level=None, status_file=None, rotation_angle=None, ra=None, dec=None, xsize=None, ysize=None)[source]

Rotates a FITS image by an arbitrary angle. This module is meant for quick-look only; it is not flux conserving.

Parameters :

in_image : str

Input FITS image.

out_image : str

Path to output (rotated) FITS image.

debug_level : int, optional

Print out additional debugging information (level can be 1-3)

status_file : str, optional

Output and errors are written to status_file instead of stdout.

rotation_angle : float, optional

Provide an angle (in degrees) to rotate the image.

ra, dec, xsize : str, optional

Center location and width (in degrees) of output image - optional. By default, entire input image area will be included in output image.

ysize : float, optional

Height (in degrees) of output image, if a new center location and width are provided. Only used if ra, dec, and xsize are specified. Defaults to xsize.

Page Contents