Documentation of QC procedures: procedure QCsinfo_dist.py for SINFONI

back to: dfos tqs
HOME
 
AMBER
CRIRES
FORS1
FORS2
GIRAFFE
HAWKI
ISAAC
MIDI
NACO
SINFONI
UVES
VIMOS
VISIR
[best viewing with style sheets and javascript enabled]
QCsinfo_dark.py QCsinfo_flat.py qc_WAVE QCsinfo_dist.py qc_LINE QCsinfo_pupil.py QCsinfo_hcao.py qc_OBSNOD
NAME QCsinfo_dist.py
VERSION 1.0 -- 2006-06-20 fill template by handbook
1.0 -- 2006-07-07 completed 2.0 -- 2009.02.13 completely re-written in Python with added QC functions and images
INSTRUMENT SINFONI
SYNTAX Python
RAWTYPE DIST
CALL measureQuality
from $DFS_PRODUCT/DIST/$DATE:
QCsinfo_dist.py -a $AB_name -i $level_of_interaction: 0-2
PURPOSE a) generates QC report,
b) writes QC1 parameters into local database
PROCINPUT a) $DATE in now read from AB
b) primary file is set in QCsinfo_dist.py and is the PRO.CATG=DISTORTION product with the _0000.fits extension.
c) raw frames are implicitly read from the AB.
d) Reference DISTORTION and SLITLETS_DISTANCE are read in from $DFO_QC_DIR/references/DIST/.
QC1TABLE trending | table(s) in QC1 database:
sinfoni_dist
TRENDPLOT trending | current trending plot(s) associated to this procedure:
trend_report_DIST_slitall_HC.html
QC1PAGE trending | associated trending page(s):
dist_QC1.html
QC1PLOTS

dist0.png
display FIBRE_NS_STACKED_ON product on the RealTimeDisplay (check right rim, TBD: QC report)
dist1.png
UL: Slitlet-to-slitlet distances (31)
Current distortion (blue points) with median (blue line) and 1 sigma area (shaded green region)
Reference distortion median (red dotted line)
UR: Distortion coefficients applied to 5 points on detector: chip center and 4 quadrants.
Black circles set the nominal values, the current distortion is shown as blue squares, and the reference distortion is shown as red squares.
LL: Image of current distortion. Due to the old version of matplotlib available on dfo29, the image is not square.
LR: Image of (reference - current) distortion. Due to the old version of matplotlib available on dfo29, the image is not square.
QC1PARAM QC1 parameters written into QC1 table:
FITSNAME, DBNAME , typical value, description:
QC.COEFF00 , qc_coeff_00, 15.8275 / Polynomial distortion coefficient
QC.COEFF10 , qc_coeff_10, 0.986956 / Polynomial distortion coefficient
QC.COEFF01 , qc_coeff_01, -0.00380703 / Polynomial distortion coefficient
QC.COEFF11 , qc_coeff_11, 5.30532E-06 / Polynomial distortion coefficient
QC.COEFF20 , qc_coeff_20, 2.66288E-07 / Polynomial distortion coefficient
QC.COEFF02 , qc_coeff_02, 7.15443E-07 / Polynomial distortion coefficient
QC.COEFF21 , qc_coeff_21, -4.82633E-10 / Polynomial distortion coefficient
QC.COEFF12 , qc_coeff_12, -7.58699E-10 / Polynomial distortion coefficient
QC.XSHIFT.UL , qc_xhift_ul, -8.12058 / X shift in x_l,y_u
QC.XSHIFT.CC , qc_xhift_cc, -3.83163 / X shift in x_c,y_c
QC.XSHIFT.LL , qc_xhift_ll, -8.68128 / X shift in x_l,y_l
QC.XSHIFT.UR , qc_xhift_ur, -0.278897 / X shift in x_u,y_u
QC.XSHIFT.LR , qc_xhift_lr, 2.0577 / X shift in x_u,y_l
QC.SL.DISTAVG , qc_sl_distavg, 63.9512 / Average Slitlet distance
QC.SL.DISTRMS , qc_sl_distrms, 0.518605 / RMS Slitlet distance
ALGORITHM qc_coeff_00 .. qc_coeff_21: a set of about 80 fiber frames is used to derive the optical distortion of the spectra. TBD more degrees used since 2006-06
qc_xhsift_ll .. qc_xshift_cc The distortion coefficients applied to dedicated positions on the chip. These are the center of each of the four quadrants ([@512:@512], [@1536:@1536], [@512,@1536], [@1536:@512]) and the central pixel ([@1024:@1024]).
qc_sl_distavg is the average of all 31 slitlets distances. The recipe generates for each slitlets distance a QC1 parameter, but only the average and the stdev are trended.
qc_sl_distrms use the scatter within the sample of 31 slitlets distances
CERTIF Reasons for rejection:
Insufficient number of fibre frames. Expect ~75 frames to cover all slitlets with the fibre trace.
COMMENTS The recipe generates about 40 more QC parameters of less importance that are not trendend. local difference frames (current product minus last one) and reference difference frames (current product minus reference) are provided in the detailed section of certifyProducts
created by qcDocu, a tqs tool