wcs.h File Reference

Functions


Function Documentation

void add_rss_wcs ( ltl::FitsOut &  O,
float  w1,
float  dw,
bool  logw,
const std::string &  label 
)

Add a WCS to a FITS file with 1D spectra. The zeropoint is w1, the wavelength increment dw, and logw indicates logarithmic wavelength binning.

The first axis will be labeled label, the second axis will be labeled fiber id.

Add a WCS to a FITS file with multiple 1D spectra

Referenced by main().

void add_wcs ( const float  ra_deg,
const float  dec_deg,
const float  pa,
const float  pixscale_x,
const float  pixscale_y,
const float  cx,
const float  cy,
ltl::FitsOut &  O 
)

Add a wcs to a 2D (reconstructed) image of the sky. ra_deg, dec_deg, and pa are right ascension, declination and position angle on the sky cx and cy are the reference pixel corresponding to ra_deg and dec_deg pixscale_X is the pixelscale in degrees per pixel along x and y axes

Add a wcs to a 2D (reconstructed) image of the sky

Referenced by add_wcs(), mkimage_dither_files(), and mkimage_single_files().


Generated on 4 Nov 2015 for CURE by  doxygen 1.6.1