#******************************************************************************
# E.S.O. - VLT project
# who       when      what
# --------  --------  ----------------------------------------------
# akaufer   18/03/00  V0.1 - first draft
# amodigli  25/07/00  V0.2 - added QC1 PHYS parameters
# amodigli  03/08/00  v0.3 - now compliant with new QC naming conventions
# amodigli  27/09/00  v0.4 - check before release to Paranal
# amodigli  05/10/00  v0.5 - QC on Ord Pos to check Phys model pred. vs detected
# amodigli  07/03/01  v0.6 - QC CCD CONT Fi instead of QC CCD CONT F01-F09
# amodigli  12/03/01  v0.7 - Typos on date
# amodigli  25/04/01  v1.8 - Included comments from SB: new QC naming conventions
# amodigli  16/05/01  v1.9 - Included comments from DICB
# amodigli  04/07/01  v1.11 - Version tested. Some obsolete key removed   
# amodigli  04/07/01  v1.12 - Created QC INS GRATi NAME to not use NTT dictionary which is not
#                             DICB compliant. Version to be released to Paranal
# amodigli  08/08/01  v1.13 - Added QC LINE RESIDRMS & QC LINE RESIDAVG as from DFO request
# amodigli  10/09/01  v1.14 - Suppressed QC INS GRATi NAME
# amodigli  12/02/03  v1.15 - First support of FLAMES QC
# amodigli  06/11/03  v1.16 - Add QC MODEL RESDIFFXi, QC MODEL RESDIFFYi
# amodigli  05/12/03  v1.17 - Add QC INTAVG, QC NLININT, QC FIBi INTAVG, QC FIBi NLININT
# amodigli  17/02/06  v1.18 - Add QC DUTYCYCLE
#******************************************************************************
#   NAME
#   ESO-DFS-DIC.UVES - Data Interface Dictionary for UVES  description
#
# -----------------------------------------------------------------------------
Dictionary Name:   ESO-DFS-DIC.UVES_QC
Scope:             QC
Source:            ESO DFS/DMD
Version Control:   "@(#) $Id: ESO-DFS-DIC.UVES_QC,v 1.3 2007-09-14 06:53:12 amodigli Exp $"

Revision:          1.14
Date:              08/09/01
Status:            submitted
Description:       Suppressed QC INS GRATi NAME as with new QC1LogWriter the proper key can
                   can be found in UVES_ICS dictionary

Revision:          1.13
Date:              08/08/01
Status:            submitted
Description:       Added QC LINE RESIDRMS & QC LINE RESIDAVG as from DFO request

Revision:          1.12
Date:              06/07/01
Status:            submitted
Description:       Created QC INS GRATi NAME to not use NTT dictionary which is not
                   DICB compliant. Version to be released to Paranal

Revision:          1.11
Date:              04/07/01
Status:            submitted
Description:       Version to be released to Paranal


Parameter Name:    QC DID
Class:             header|qc-log
Context:           process
Type:              string
Value Format:      %30s
Unit:
Comment Field:     Data dictionary for QC
Description:       Name/version of ESO DID to which QC keywords comply.

Parameter Name:    QC TESTi ID
Class:             qc-log|header
Context:           process
Type:              string
Value Format:      %30s
Unit:
Comment Field:     Name of QC test
Description:       Name of QC test. In case the same template can originate more
                   than one test it is useful to specify it.


#
# Physical Model:
#
 
Parameter Name:    QC MODEL ID
Class:             header|qc-log
Context:           process
Type:              string
Value Format:      %s
Unit:              
Comment Field:     Physical Model Id
Description:       The UVES physical model Id used in Formatcheck step.
 
 
Parameter Name:    QC MODEL DATE
Class:             header|qc-log
Context:           process
Type:              string
Value Format:      %s
Unit:              
Comment Field:     Physical Model Parameters Last Change
Description:       The UVES Physical Model depends on some basic parameters.
                   The date of the last change is logged.
 

Parameter Name:    QC MODEL ITERi 
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Model iteration
Description:       The physical model used in the Formatcheck step
                   may be repeated. This may be useful to improve
                   the precision of the final solution.


Parameter Name:    QC MODEL DIFFYMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Median Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 


Parameter Name:    QC MODEL DIFFYAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Average Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 



Parameter Name:    QC MODEL DIFFYRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Std dev of Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
 


Parameter Name:    QC MODEL DIFFXMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Median of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
 



Parameter Name:    QC MODEL DIFFXAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Average of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
 


Parameter Name:    QC MODEL DIFFXRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Std dev of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
 
Parameter Name:    QC MODEL RESYMEDi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Median Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.


Parameter Name:    QC MODEL RESYAVGi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Average Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.



Parameter Name:    QC MODEL RESYRMSi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Std dev of Y difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.
 


Parameter Name:    QC MODEL RESXMEDi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Median of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.
 



Parameter Name:    QC MODEL RESXAVGi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Average of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.
 


Parameter Name:    QC MODEL RESXRMSi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Std dev of X difference to physical model
Description:       The physical model used in Formatcheck step allows
                   to measure the difference between model predicted
                   and detected line positions. This is useful to verify
                   precision of physical model prediction and instrument
                   spectral format stability. 
                   In case of FLAMES-UVES we may iterate the model prediction
                   in order to self-adjust the model spectral format 
                   prediction to the actual frame spectral format location.


Parameter Name:    QC MODEL NLINSEL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of lines selected
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame.
                   The selected number of lines is the subset of the total
                   number of lines which fall in the physical model plot 
                   limits.


Parameter Name:    QC MODEL NLINALL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of predicted lines
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame.
                   This is the total number of predicted matching lines.


Parameter Name:    QC MODEL WLENMIN
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     minimum predicted wavelength value
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame. 
                   This is the minimum predicted line wavelength value.
 

Parameter Name:    QC MODEL WLENMAX
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     maximum predicted wavelength value
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame. 
                   This is the maximum predicted line wavelength value.
 




Parameter Name:    QC MODEL ORDMIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     minimum predicted order value 
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame. 
                   This is the minimum predicted order number value.
 



Parameter Name:    QC MODEL ORDMAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     maximum predicted order value
Description:       The physical model used in the Formatcheck step allows
                   to predict line positions on the formatcheck frame. 
                   This is the maximum predicted order number value.


#
# Dark
#



Parameter Name:    QC REGi MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of region
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of region
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of region
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of region
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of region
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MIN MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of all Mins
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MIN MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of all Mins
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MIN AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of all Mins
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MIN MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of all Mins
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MIN RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of all Mins
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi MAX MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of all Maxs
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MAX MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of all Maxs
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MAX AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of all Maxs
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MAX MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of all Maxs
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MAX RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of all Maxs
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi AVG MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of all Means
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi AVG MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of all Means
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi AVG AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of all Means
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi AVG MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of all Means
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi AVG RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of all Means
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi MED MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of all Medians
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MED MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of all Medians
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MED AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of all Medians
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MED MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of all Medians
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi MED RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of all Medians
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector



Parameter Name:    QC REGi RMS MIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Min of all Rms
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi RMS MAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Max of all Rms
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi RMS AVG
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Mean of all Rms
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi RMS MED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Median of all Rms
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector


Parameter Name:    QC REGi RMS RMS
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Rms of all Rms
Description:       The raw or master bias frame statistics are monitored 
                   on several regions uniformely distributed over the
                   detector




#
# Wavelength calibration
#


Parameter Name:    QC FWHMAVG  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     average FWHM in x of lines selected
Description:       measured average FWHM in x of line selected

Parameter Name:    QC FWHMRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     sdev of FWHM in x of lines selected
Description:       measured standard deviation of FWHM in x of lines selected 
		  

Parameter Name:    QC FWHMMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median FWHM in x of lines selected
Description:       measured median FWHM in x of lines selected

Parameter Name:    QC RESOLAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     average resolving power of lines selected
Description:       measured average resolving power of lines selected

Parameter Name:    QC RESOLRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     sdev of resolving power of lines selected
Description:       measured average resolving power of lines selected
		   

Parameter Name:    QC RESOLMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median resolving power of lines selected
Description:       measured median resolving power of lines selected



Parameter Name:    QC LINE RESIDAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     mean resid of line pos to fit 
Description:       Parameter useful to check precision of wavelength calibration solution.
                   We use picometer units at it comes out a very small number.


Parameter Name:    QC INTAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     average intensity of line list 
Description:       To monitor ThAr intensity we measure the average intensity
                   of a selected line list.


Parameter Name:    QC NLININT 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     No of lines to measure INTAVG
Description:       To monitor ThAr intensity we measure the average intensity
                   of a selected line list.


Parameter Name:    QC LINE RESIDRMS 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     sigma resid of line pos to fit
Description:       Parameter useful to check precision of wavelength calibration solution
                   We use picometer units at it comes out a very small number.


Parameter Name:    QC WLENMIN
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     minimum wavelength 
Description:       minimum wavelength 


Parameter Name:    QC WLENMAX
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     maximum wavelength 
Description:       maximum wavelength 

Parameter Name:    QC ORDMIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     minimum order number detected
Description:       minimum order number detected



Parameter Name:    QC ORDMAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:             
Comment Field:     maximum order number detected
Description:       maximum order number detected

Parameter Name:    QC NLINTOT 
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines found 
Description:       number of lines found

Parameter Name:    QC NLINSEL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines identified
Description:       number of lines which could be cross-identified with the
                   catalogue


Parameter Name:    QC NLINSOL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines determining the wavecal solution 
Description:       number of lines identified and accepted for determining the
                   final wavelength calibration solution


Parameter Name:    QC NLINRESi
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines with residual < 0.1 nm
Description:       No of lines with residual < 0.1 nm.
                   These are residuals with value less than 0.1 nm. 
                   This number gives an idea of the precision of the final
                   solution. The higher the number the more precise is the
                   solution.


#
# CCDTEST: Bias
#


Parameter Name:    QC NHOTPIX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     no. of hot pixels
Description:       number of found hot pixels and hot columns.
                   These are detector pixel for which the measured signal
                   is greater than the average signal on a CCD region by several 
                   RMS of the signal measured in that region.

 
Parameter Name:    QC OUTi RONAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              e-
Comment Field:     average readout noise
Description:       measured average readout noise
 
Parameter Name:    QC OUTi RONRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              e-
Comment Field:     error for readout noise
Description:       measured error for readout noise
 
 
#
# CCDTEST: Flat
#


Parameter Name:    QC OUTi CONADAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              e-/ADU
Comment Field:     average conversion factor
Description:       measured average conversion factor

Parameter Name:    QC OUTi CONADRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              e-/ADU
Comment Field:     error for conversion factor
Description:       measured error for conversion factor


Parameter Name:    QC SHUTERR
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              s
Comment Field:     shutter error
Description:       measured shutter error

Parameter Name:    QC LINERRP
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %f
Unit:              
Comment Field:     positive linearity deviation %
Description:       positive (+) linearity deviation
                   P stands for plus and M for minus. The numbers give the
                   separately the positive (P) and negative (M) deviation from
                   the linear regression curve.
                   The regression curve should be perfectly straight, i.e., the
                   countrates a linear function of the exposure times. The
                   deviations give you a measure for the non-linearity.

Parameter Name:    QC LINERRM
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %f
Unit:              
Comment Field:     negative linearity deviation %
Description:       positive (m) linearity deviation
                   P stands for plus and M for minus. The numbers give the 
                   separately the positive (P) and negative (M) deviation from
                   the linear regression curve.
                   The regression curve should be perfectly straight, i.e., the
                   countrates a linear function of the exposure times. The
                   deviations give you a measure for the non-linearity.

Parameter Name:    QC FIELDREF
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %f
Unit:              
Comment Field:     reference field
Description:       number of reference field for CCD contamination test (1-9)

Parameter Name:    QC FRATIOi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     intensity ratio
Description:       relative intensity of field with respect to reference field

Parameter Name:    QC CNTRATE
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              ADU/s
Comment Field:     average countrate
Description:       average countrate measured on flat field frame


#
# Efficiency
#
 

Parameter Name:    QC BLAZWLENi 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     blaze wavelength 
Description:       Blaze wavelength of order for which blaze efficiency
		   was computed


Parameter Name:    QC BLAZEFFi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     blaze efficiency
Description:       Computed blaze efficiency 


#
# Stability
#

#
# Note: wavelength value is INS GRATi WLEN
#
#
# Note: Temperature value is INS TEMPi MEAN
#

Parameter Name:    QC STABTEMP 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              C
Comment Field:     camera temperature [C] blue camera 
Description:       Temperature [C] (INS TEMP1 MEAN) blue camera 
                   for which the stability test has been performed

Parameter Name:    QC AMBI PRES 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              mm
Comment Field:     Ambient pressure [mm] Hg.
Description:       Measured ambient pressure in mm Hg. It is logged the value
                   of INS SENS26 MEAN header keyword.
                   

Parameter Name:    QC SHFTXAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     average shift in x
Description:       measured average shift in x from stability check

Parameter Name:    QC SHFTXMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median shift in x
Description:       mmeasured median shift in x from stability check

Parameter Name:    QC SHFTYAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     average shift in y
Description:       measured average shift in y from stability check

Parameter Name:    QC SHFTYMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median shift in y
Description:       measured median shift in y from stability check

Parameter Name:    QC SHFTYSNG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     shift in y
Description:       measured shift in y from correlation spep (FLAMES-UVES)



#
# Order definition
#


Parameter Name:    QC ORD RESIDMIN  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     min resid in ord def
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC ORD RESIDMAX 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     max resid in ord def
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC ORD RESIDAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     mean resid in ord def 
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC ORD RESIDRMS 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     sigma resid in ord def 
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).
                   
                   
Parameter Name:    QC ORD NPRED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     predicted number of orders
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to insufficient
                   detector illumination). In particular if the number of order
                   predicted (NPRED) by the physical model equals the number of
                   order detected (NDET) during the order definition step.
                   
                   
                   
Parameter Name:    QC ORD NDET
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     detected number of orders
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to insufficient
                   detector illumination). In particular if the number of order
                   predicted (NPRED) by the physical model equals the number of
                   order detected (NDET) during the order definition step.
                   


               
Parameter Name:    QC ORD NPOSALL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of positions found
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination). This number give a more detailed
                   information on the overal order detection 
                   (respect to QC NPRED and QC NALL)


                   
Parameter Name:    QC ORD NPOSSEL  
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of positions selected
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination). This number give a more detailed
                   information on the overal order detection 
                   (respect to QC NPRED and QC NALL)



#
# Master Bias
#


Parameter Name:    QC DUTYCYCL 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Time to acquire a frame 
Description:       Time to acquire a frame


Parameter Name:    QC BADPIX CORR
Class:             header
Context:           process
Type:              double
Value Format:      %s
Unit:              
Comment Field:     Flag for bad pixel correction 
Description:       We flag 'TRUE' a Master Frame when automatic bad pixels correction
                   is applied.


Parameter Name:    QC OUTi RON MASTER
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Read noise frame in ADU 
Description:       Read noise frame in ADU


Parameter Name:    QC OUTi RON RAW
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Read noise frame in ADU 
Description:       Read noise frame in ADU


Parameter Name:    QC OUTi STRUCTX
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              ADU
Comment Field:     structure in X
Description:       Evidence of any possible structure in bias.
                   To have more details on a bias image without saving
                   the full image we collapse it along X or Y and compute
                   the standard deviation of the corresponding point 
                   distribution. This is the STRUCTX/Y. A large or suddenly
                   changed value of the structure is indication of some problem
                   on the axis ortogonal to the direction of collapsation.

Parameter Name:    QC OUTi STRUCTY
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              ADU
Comment Field:     structure in Y
Description:       Evidence of any possible structure in bias.
                   To have more details on a bias image without saving
                   the full image we collapse it along X or Y and compute
                   the standard deviation of the corresponding point 
                   distribution. This is the STRUCTX/Y. A large or suddenly
                   changed value of the structure is indication of some problem
                   on the axis ortogonal to the direction of collapsation.

Parameter Name:    QC NHPIX
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     number of hot pixels 
Description:       number of hot pixels
 
 
Parameter Name:    QC REF PNAME 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Reference file name 
Description:       Reference file name

Parameter Name:    QC REF DATAAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Mean of reference Master (ADU)
Description:       Mean of reference Master (ADU)

Parameter Name:    QC REF DATARMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     RMS of reference Master (ADU)
Description:       RMS of reference Master (ADU)

Parameter Name:    QC REF DATAMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Median of reference Master (ADU)
Description:       Median of reference Master (ADU)

#
# Master Flat
#


Parameter Name:    QC REF TEMP
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              C
Comment Field:     Tempearture [C] blue camera 
Description:       Temperature [C] (INS TEMP1 MEAN) blue camera 

Parameter Name:    QC REF SHIFTY
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Y against reference frame
Description:       Y against reference frame


#
# Science Reduction
#

Parameter Name:    QC ORDi DATAMIN  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              adu
Comment Field:     extracted order datamin
Description:       On an extracted TFLAT we monitor the intensity at different
                   wavelength position


Parameter Name:    QC ORDi DATAMAX  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              adu
Comment Field:     extracted order datamax
Description:       On an extracted TFLAT we monitor the intensity at different
                   wavelength position

Parameter Name:    QC ORDi DATAAVG
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              adu
Comment Field:     extracted order datamean
Description:       On an extracted TFLAT we monitor the intensity at different
                   wavelength position

Parameter Name:    QC ORDi DATAMED  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              adu
Comment Field:     extracted order datamed
Description:       On an extracted TFLAT we monitor the intensity at different
                   wavelength position


Parameter Name:    QC ORDi DATARMS  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              adu
Comment Field:     extracted order datarms
Description:       On an extracted TFLAT we monitor the intensity at different
                   wavelength position



Parameter Name:    QC VRAD BARYCOR 
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              Km/s
Comment Field:     barycentric correction to radial velocity 
Description:       We calculate the correction of radial velocity due to
                   air to vacuum change of reference wavelength positions.

Parameter Name:    QC VRAD HELICOR 
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              Km/s
Comment Field:     Heliocentric correction to radial velocity 
Description:       We calculate the correction of radial velocity due to
                   Earth motus relative to an Heliocentric system.
                                      


Parameter Name:    QC EX NORD  
Class:             header
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of extracted orders 
Description:       We monitor this number to know how many 
                   QC ORDi OBJ (POS|FWHM|SN) are logged


Parameter Name:    QC EX XSIZE
Class:             header
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of bins per order 
Description:       We provide this parameter to know the X order size,
                   for post-processing QC


Parameter Name:    QC EX YSIZE
Class:             header
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Slit length in pixels 
Description:       We provide this parameter to know the Y order size,
                   for post-processing QC
                   
Parameter Name:    QC ORDi OBJ POS 
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Extracted Obj Position [bin]
Description:       We monitor for each order in the central 50 bins  
                   the extracted object poition value to verify that it is 
                   not too close (at least 1 FWHM) to a slit border.
                   Otherwise the sky subtraction may be imprecise or wrong.
                   Per definition POS > 0. To prevent that the computed value
                   of POS is NAN we catch such event and set it to -1



Parameter Name:    QC ORDi OBJ RPLPAR
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Average relative ripple amplitude 
Description:       The empirical amplitude of small scale oscillations is 
                   estimated based on the spectrum autocorrelation function
                   for each order. The QC parameter contains the estimated
                   amplitude divided by the spectrum error bars. The
                   oscillation scale is defined as the reciprocal of the order
                   slope. A periodic pattern on this scale can be caused by 
                   errors in the pipeline or by instrumental effects not
                   perfectly corrected for. The value -1 is a special value
                   meaning that the amplitude could not be measured (e.g. if
                   there are no oscillations)


Parameter Name:    QC ORDi OBJ SN 
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Source S_N value
Description:       We monitor for each order the average S_N  value
                   to verify that it is not too big. If it is very high
                   the optimal extraction quality is not very good

Parameter Name:    QC ORDi OBJ FWHM 
Class:             header
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     FWHM [bin] of x-order Gaussian profile
Description:       We monitor for each order the FWHM of the x-order Gaussian 
                   profile in the central 50 bins to verify that it is not a too
                   big fraction of the extraction slit value. A big value of
                   FWHM can occur in case of extended sources or of point like 
                   sources and bad seeing condition.
                   If FWHM is too big (such that the OBJi POS is at less than 1
                   FWHM from the slit border) the sky subtraction may be 
                   imprecise or wrong.

#
# FIBRE SECTION
#

Parameter Name:    QC PLATENO
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Plate Id.
Description:       This is the Id of the plate to which the fibres are
                   connected to.


Parameter Name:    QC FIBi BLAZWLENi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     blaze wavelength 
Description:       Blaze wavelength of order for which blaze efficiency
		   was computed, for a given fibre 


Parameter Name:    QC FIBi BLAZEFFi
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     blaze efficiency
Description:       Computed blaze efficiency  for a given fibre


Parameter Name:    QC FIBi SEQ
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     det. fibre seq. no.
Description:       detected fibre sequence number (physical).

Parameter Name:    QC FIBi POS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     det. fibre seq. rel. pos.
Description:       detected fibre sequence (relative) position.

Parameter Name:    QC FIBi DRSNO
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     DRS det. fibre seq. pos.
Description:       detected fibre sequence position as numbered by the 
                   Data Reduction Software.

Parameter Name:    QC FIBi MSK
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     DRS det. fibre mask value.
Description:       It indicates if a fibre is present (1) or not (0).



Parameter Name:    QC FIBi MSK
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     DRS det. fibre mask value.
Description:       It indicates if a fibre is present (1) or not (0).


Parameter Name:    QC CHI2
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Chi square of solution.
Description:       Chi square of found solution to model.

Parameter Name:    QC BKGWINO
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of bkg windows.
Description:       No of bkg windows left by the DRS after internal
                   consistency checks. A low values indicates bad
                   bkg estimation.



#
# ORDER-FIBRE DEFINITION
#


Parameter Name:    QC FIBi ABSTRANS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              ADU/s
Comment Field:     abs. trans. countrate
Description:       average transmission countrate measured on each fibre


Parameter Name:    QC FIBi RELTRANS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              none
Comment Field:     relative transmission 
Description:       relative measured on each fibre



Parameter Name:    QC FIBi ORD RESIDMIN  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     min resid in ord def
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC FIBi ORD RESIDMAX 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     max resid in ord def
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC FIBi ORD RESIDAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     mean resid in ord def 
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).


Parameter Name:    QC FIBi ORD RESIDRMS 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     sigma resid in ord def 
Description:       we check residual in order def step to check if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination).
                   
                   
Parameter Name:    QC FIBi ORD NPRED
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     predicted number of orders
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to insufficient
                   detector illumination). In particular if the number of order
                   predicted (NPRED) by the physical model equals the number of
                   order detected (NDET) during the order definition step.
                   
                   
                   
Parameter Name:    QC FIBi ORD NDET
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     detected number of orders
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to insufficient
                   detector illumination). In particular if the number of order
                   predicted (NPRED) by the physical model equals the number of
                   order detected (NDET) during the order definition step.
                   


               
Parameter Name:    QC FIBi ORD NPOSALL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of positions found
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination). This number give a more detailed
                   information on the overal order detection 
                   (respect to QC NPRED and QC NALL)


                   
Parameter Name:    QC FIBi ORD NPOSSEL  
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Number of positions selected
Description:       we check in order def step if
                   the geometrical spectral format predicted from
                   the physical model match the actual detected spectral
                   format (which may contain less orders due to unsufficient
                   detector illumination). This number give a more detailed
                   information on the overal order detection 
                   (respect to QC NPRED and QC NALL)


Parameter Name:    QC FIBi YSHIFT  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Y shift applied to fibre
Description:       measured average YSHIFT applied to fibre i to maximise
                   correlation of fibre i in uncontaminated frame to
		   correspondent fibre in all FF frame

Parameter Name:    QC FRMi YSHIFT  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     Y shift applied to frame
Description:       measured average YSHIFT applied to calibration
                   frame i to maximize correlation with science frame 
                




#
# Wavelength calibration
#


Parameter Name:    QC FIBi FWHMAVG  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     average FWHM in x of lines selected
Description:       measured average FWHM in x of line selected

Parameter Name:    QC FIBi FWHMRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     sdev of FWHM in x of lines selected
Description:       measured standard deviation of FWHM in x of lines selected 
		  

Parameter Name:    QC FIBi FWHMMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median FWHM in x of lines selected
Description:       measured median FWHM in x of lines selected

Parameter Name:    QC FIBi RESOLAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     average resolving power of lines selected
Description:       measured average resolving power of lines selected

Parameter Name:    QC FIBi RESOLRMS
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     sdev of resolving power of lines selected
Description:       measured average resolving power of lines selected
		   

Parameter Name:    QC FIBi RESOLMED
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pix
Comment Field:     median resolving power of lines selected
Description:       measured median resolving power of lines selected



Parameter Name:    QC FIBi LINE RESIDAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     mean resid of line pos to fit 
Description:       Parameter useful to check precision of wavelength calibration solution.
                   We use picometer units at it comes out a very small number.


Parameter Name:    QC FIBi LINE RESIDRMS 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     sigma resid of line pos to fit
Description:       Parameter useful to check precision of wavelength calibration solution
                   We use picometer units at it comes out a very small number.


Parameter Name:    QC FIBi WLENMIN
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     minimum wavelength 
Description:       minimum wavelength 


Parameter Name:    QC FIBi WLENMAX
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              nm
Comment Field:     maximum wavelength 
Description:       maximum wavelength 

Parameter Name:    QC FIBi ORDMIN
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     minimum order number detected
Description:       minimum order number detected



Parameter Name:    QC FIBi ORDMAX
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:             
Comment Field:     maximum order number detected
Description:       maximum order number detected

Parameter Name:    QC FIBi NLINTOT 
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines found 
Description:       number of lines found

Parameter Name:    QC FIBi NLINSEL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines identified
Description:       number of lines which could be cross-identified with the
                   catalogue


Parameter Name:    QC FIBi NLINSOL
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines determining the wavecal solution 
Description:       number of lines identified and accepted for determining the
                   final wavelength calibration solution



Parameter Name:    QC FIBi NLINRESi
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     No of lines with residual < 0.1 nm
Description:       No of lines with residual < 0.1 nm.
                   These are residuals with value less than 0.1 nm. 
                   This number gives an idea of the precision of the final
                   solution. The higher the number the more precise is the
                   solution.

Parameter Name:    QC FIBi INTAVG 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     average intensity of line list 
Description:       To monitor ThAr intensity we measure the average intensity
                   of a selected line list.


Parameter Name:    QC FIBi NLININT 
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pm
Comment Field:     No of lines to measure INTAVG
Description:       To monitor ThAr intensity we measure the average intensity
                   of a selected line list.


Parameter Name:    QC CCFi POSMAX  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Position of CCF max
Description:       Position of CCF max

Parameter Name:    QC CCFi POSOFF  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Position of CCF offset
Description:       Position of CCF offset (from ThAr calibration frame)

Parameter Name:    QC CCFi INTMAX  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Value of CCF max
Description:       Value of CCF max

Parameter Name:    QC CCFi WAVRNG  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Range of CCF
Description:       Range of CCF 

Parameter Name:    QC CCFi PIXTOT  
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Total no of pixels involved
Description:       Total no of pixels involved


Parameter Name:    QC CCFi PIXTOT  
Class:             header|qc-log
Context:           process
Type:              integer
Value Format:      %d
Unit:              
Comment Field:     Total no of pixels involved
Description:       Total no of pixels involved



Parameter Name:    QC CCF POSAVG  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     Average of positions of CCF max
Description:       Average of positions of CCF max


Parameter Name:    QC CCF POSRMS  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              
Comment Field:     rms of positions of CCF max
Description:       rms of positions of CCF max




Parameter Name:    QC YDIFFAVG  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pixel
Comment Field:     Average Y difference
Description:       Average order position shift. We monitor the Cross Disperser
                   position reproducibility

Parameter Name:    QC YDIFFRMS  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pixel
Comment Field:     RMS Y difference
Description:       RMS order position shift. We monitor the Cross Disperser
                   position reproducibility

Parameter Name:    QC YDIFFMED  
Class:             header|qc-log
Context:           process
Type:              double
Value Format:      %e
Unit:              pixel
Comment Field:     Median Y difference
Description:       Median order position shift. We monitor the Cross Disperser
                   position reproducibility
