Overview
The QL Tool produces quick-look products, but there are some straightforward steps allowing users to use these as a starting point for their science quality reductions
Important Notes
In going from the raw 2D images to the 1D extractions produce by the QL Tool:
- The x axis is flipped so that increasing wavelength runs in the same direction as increasing x
- The spectra are then trimmed to remove overscan, etc.
The exact values for these are stored in:
/usr/local/etc/qlgui/pars.json
"badMax0": 98,
"badMin1": 2145,
in python 0-based numbering.
i.e. in python, to reproduce the same transformation:
from astropy.io import fits
im2D = fits.getdata('image.fits')
im2D = im2D[:,-:] # flip x
im2D = im2D[:,98:2145] # trim
fits.writeto('outimage.fits',im2D)