Create a projected image based on a HEALPixSkyInstrument output cube.
This script creates a projected image based on the raw output of a HEALPixSkyInstrument.
The function takes the following arguments:
- inputFileName (string): the name of the file containing the raw HEALPix data cube
- outputFileName (string): the name of the generated projected image
- projection (string): the projection to use. Accepted values are Mollweide (for the Mollweide projection) and HammerAitoff (for the Hammer-Aitoff projection); default is Mollweide.
- nPixelX (int): Number of pixels in the vertical direction for the generated image. The number of pixels in the horizontal direction is twice this value. Default is 250.
- thetaCenter (float): Zenith angle of the central position relative to the original crosshair of the HEALPixSkyInstrument (in degrees). Corresponds to a vertical rotation that goes downward in the right half of the image. Default is 0.
- phiCenter (float): Azimuth angle of the central position relative to the original crosshair of the HEALPixSkyInstrument (in degrees). Corresponds to a horizontal rotation to the right. Default is 0.