Data model: spFluxcalib

General description: This file contains the calibration vectors for a given frame.

  HDU #0: Calibration image
  HDU #1: Trace-set used to construct the former
  HDU #2: Structure with info on each standard star  

Naming convention: spFluxcalib-[c][n]-eeeeeeee.fits.gz Where [c] indicates either a blue or red spectrograph, [n] indicates the spectrograph number (1 or 2) and eeeeeeee indicates the exposure number.

Approximate size: 5 MB.

File type: FITS

Read by products: spfluxcorr_v5.pro, spthroughput.pro, spcoadd_v5.pro

Written by products: spflux_v5.pro

Primary HDU

Image with the flux calibration vector for each fiber.

Example header:

  SIMPLE  =                    T /Primary Header created by MWRFITS v1.8
  BITPIX  =                  -32 /
  NAXIS   =                    2 /
  NAXIS1  =                 4112 / Number of wavelength bins
  NAXIS2  =                  500 / Number of fibers
  EXTEND  =                    T /Extensions may be present
  WAVEMIN =              3553.95 /
  WAVEMAX =              6301.75 /

HDU 1

Binary table with traceset structure of b-spline fits for calibration vectors. This is a compact version of the information in the primary HDU.

Example header:

  XTENSION= 'BINTABLE'           /Binary table written by MWRFITS v1.8
  BITPIX  =                    8 /Required value
  NAXIS   =                    2 /Required value
  NAXIS1  =                 3242 /Number of bytes per row
  NAXIS2  =                    1 /Number of rows
  PCOUNT  =                    0 /Normally 0 (no varying arrays)
  GCOUNT  =                    1 /Required value
  TFIELDS =                    5 /Number of columns in table
  COMMENT
  COMMENT  *** End of mandatory fields ***
  COMMENT
  COMMENT
  COMMENT  *** Column names ***
  COMMENT
  TTYPE1  = 'FULLBKPT'           /
  TTYPE2  = 'BKMASK  '           /
  TTYPE3  = 'NORD    '           /
  TTYPE4  = 'COEFF   '           /
  TTYPE5  = 'ICOEFF  '           /
  COMMENT
  COMMENT  *** Column formats ***
  COMMENT
  TFORM1  = '233E    '           /
  TFORM2  = '233I    '           /
  TFORM3  = 'J       '           /
  TFORM4  = '230E    '           /
  TFORM5  = '230E    '           /

HDU 2

Binary table with information about the standard stars used to construct the calibration vector.

Example header

  XTENSION= 'BINTABLE'           /Binary table written by MWRFITS v1.8
  BITPIX  =                    8 /Required value
  NAXIS   =                    2 /Required value
  NAXIS1  =                16617 /Number of bytes per row
  NAXIS2  =                   10 /Number of rows
  PCOUNT  =                    0 /Normally 0 (no varying arrays)
  GCOUNT  =                    1 /Required value
  TFIELDS =                   18 /Number of columns in table
  COMMENT
  COMMENT  *** End of mandatory fields ***
  COMMENT
  COMMENT
  COMMENT  *** Column names ***
  COMMENT
  TTYPE1  = 'PLATE   '           /
  TTYPE2  = 'MJD     '           /
  TTYPE3  = 'FIBERID '           /
  TTYPE4  = 'QGOOD   '           /
  TTYPE5  = 'MODEL   '           /
  TTYPE6  = 'FEH     '           /
  TTYPE7  = 'TEFF    '           /
  TTYPE8  = 'G       '           /
  TTYPE9  = 'MAG     '           /
  TTYPE10 = 'IMODEL  '           /
  TTYPE11 = 'Z       '           /
  TTYPE12 = 'SN_MEDIAN'          /
  TTYPE13 = 'CHI2    '           /
  TTYPE14 = 'DOF     '           /
  TTYPE15 = 'LINESN_MEDIAN'      /
  TTYPE16 = 'LINECHI2'           /
  TTYPE17 = 'LINEDOF '           /
  TTYPE18 = 'MODELFLUX'          /
  COMMENT
  COMMENT  *** Column formats ***
  COMMENT
  TFORM1  = 'J       '           /
  TFORM2  = 'J       '           /
  TFORM3  = 'J       '           /
  TFORM4  = 'I       '           /
  TFORM5  = '19A     '           /
  TFORM6  = 'E       '           /
  TFORM7  = 'E       '           /
  TFORM8  = 'E       '           /
  TFORM9  = '5E      '           /
  TFORM10 = 'J       '           /
  TFORM11 = 'D       '           /
  TFORM12 = 'E       '           /
  TFORM13 = 'E       '           /
  TFORM14 = 'E       '           /
  TFORM15 = 'E       '           /
  TFORM16 = 'D       '           /
  TFORM17 = 'E       '           /
  TFORM18 = '4128E   '           /