The SKIRT project
advanced radiative transfer for astrophysics
pts.simulation.do.convert_healpix Namespace Reference

Create a projected image based on a HEALPixSkyInstrument output cube. More...

Functions

"create a projected image based on a HEALPixSkyInstrument output cube" do ((str, "HEALPixSkyInstrument output image containing the raw HEALPix pixel data",) inputFileName,(str, "output image containing an all sky projection of the input HEALPix grid",) outputFileName,(str, "projection to use (Mollweide/HammerAitoff)") projection="Mollweide",(int, "number of pixels to use in the vertical direction for the output image",) nPixelY=250,(float, "zenith angle of the central position relative to the original crosshair (in degrees)," " corresponding to a vertical rotation that goes downward in the right half of the image",) thetaCenter=0.0,(float, "azimuth angle of the central position relative to the original crosshair (in degrees)," " corresponding to a horizontal rotation to the right",) phiCenter=0.0)

Detailed Description

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.