26#ifndef XSH_QC_DEFINITION_H
28#define XSH_QC_DEFINITION_H
32#define XSH_LAMRMS "LAMRMS"
33#define XSH_LAMRMS_C "RMS of wavelength solution [CUNIT1]"
34#define XSH_LAMNLIN "LAMNLIN"
35#define XSH_LAMNLIN_C "No. of lines used in wavelength solution"
36#define XSH_CRDER1 "CRDER1"
37#define XSH_CRDER1_C "Wavelength uncertainty [CUNIT1]"
38#define XSH_CSYER1 "CSYER1"
39#define XSH_CSYER1_C "Typical systematic wavelength error [CUNIT1]"
42#define XSH_CRDER2 "CRDER2"
43#define XSH_CRDER2_C "Spatial coordinate uncertainty [CUNIT2]"
44#define XSH_CSYER2 "CSYER2"
45#define XSH_CSYER2_C "Spatial coordinate systematic uncertainty [CUNIT2]"
46#define XSH_SPATRMS "SPATRMS"
47#define XSH_SPATRMS_C "RMS on spatial coordinate uncertainty [CUNIT2]"
49#define XSH_CUNIT1_C "Wavelength units"
50#define XSH_CUNIT2_C "Spatial units"
52#define XSH_QC_MASTER_MEAN "ESO QC MASTER MEAN"
53#define XSH_QC_MASTER_MEAN_C "Estimated master (clean) mean (adu)"
55#define XSH_QC_MASTER_RMS "ESO QC MASTER RMS"
56#define XSH_QC_MASTER_RMS_C "Estimated master (clean) rms (adu)"
57#define XSH_QC_COLD_PIX_NUM "ESO QC CPIXNUM"
58#define XSH_QC_COLD_PIX_NUM_C "Measured cold pixels"
59#define XSH_QC_HOT_PIX_NUM "ESO QC HPIXNUM"
60#define XSH_QC_HOT_PIX_NUM_C "Measured hot pixels"
62#define XSH_QC_MASTER_BIAS_MEAN "ESO QC MBIASAVG"
63#define XSH_QC_MASTER_BIAS_MEAN_C "Average value of the master BIAS (excluding bad pixels)."
64#define XSH_QC_MASTER_BIAS_MEDIAN "ESO QC MBIASMED"
65#define XSH_QC_MASTER_BIAS_MEDIAN_C "Median value of the master BIAS."
66#define XSH_QC_MASTER_BIAS_RMS "ESO QC MBIASRMS"
67#define XSH_QC_MASTER_BIAS_RMS_C "RMS of the master BIAS frame (excluding bad pixels)."
69#define XSH_QC_STRUCT_X_REG1 "ESO QC STRUCTX1"
70#define XSH_QC_STRUCT_X_REG1_C "Slope in BIAS frame in the X direction on region 1. The frame is collapsed in the Y direction (excluding bad pixels) and fitted by a linear expression."
72#define XSH_QC_STRUCT_Y_REG1 "ESO QC STRUCTY1"
73#define XSH_QC_STRUCT_Y_REG1_C "Slope in BIAS frame in the Y direction on region 1. The frame is collapsed in the X direction (excluding bad pixels) and fitted by a linear expression."
75#define XSH_QC_STRUCT_X_REG2 "ESO QC STRUCTX2"
76#define XSH_QC_STRUCT_X_REG2_C "Slope in BIAS frame in the X direction on region 2. The frame is collapsed in the Y direction (excluding bad pixels) and fitted by a linear expression."
78#define XSH_QC_STRUCT_Y_REG2 "ESO QC STRUCTY2"
79#define XSH_QC_STRUCT_Y_REG2_C "Slope in BIAS frame in the Y direction on region 2. The frame is collapsed in the X direction (excluding bad pixels) and fitted by a linear expression."
81#define XSH_QC_RON "ESO QC RON"
82#define XSH_QC_RON_C "Read Out Noise value (ADU)"
84#define XSH_QC_RON_ERR "ESO QC RON ERR"
85#define XSH_QC_RON_ERR_C "Read Out Noise error (ADU)"
87#define XSH_QC_RON_REG1 "ESO QC RON1"
88#define XSH_QC_RON_REG1_C "Read Out Noise value on region 1 (ADU)"
90#define XSH_QC_RON_REG1_ERR "ESO QC RON1 ERR"
91#define XSH_QC_RON_REG1_ERR_C "Read Out Noise error on region 1 (ADU)"
93#define XSH_QC_RON_REG2 "ESO QC RON2"
94#define XSH_QC_RON_REG2_C "Read Out Noise value on region 2 (ADU)"
96#define XSH_QC_RON_REG2_ERR "ESO QC RON2 ERR"
97#define XSH_QC_RON_REG2_ERR_C "Read Out Noise error on region 2 (ADU)"
100#define XSH_QC_RON_MASTER "ESO QC RON MASTER"
101#define XSH_QC_RON_MASTER_C "Read Out Noise value on mdaster frame (ADU)"
104#define XSH_QC_CRH_RATE "ESO QC CRRATE"
105#define XSH_QC_CRH_RATE_C "Number of detected CRH per cm2 and s"
106#define XSH_QC_CRH_NUMBER "ESO QC NCRH"
107#define XSH_QC_CRH_NUMBER_C "Number of detected cosmic ray hits"
108#define XSH_QC_CRH_NUMBER_MEAN "ESO QC NCRH AVG"
109#define XSH_QC_CRH_NUMBER_MEAN_C "Average number of cosmic ray hits per frame"
111#define XSH_QC_CRH_NUMBER_TOT "ESO QC NCRH TOT"
112#define XSH_QC_CRH_NUMBER_TOT_C "Total number of cosmic ray hits on frames"
114#define XSH_QC_MASTER_DARK_MEDIAN "ESO QC MDARKMED"
115#define XSH_QC_MASTER_DARK_MEDIAN_C "Median value of the master DARK."
118#define XSH_QC_MASTER_DARK_MEAN "ESO QC MDARKAVG"
119#define XSH_QC_MASTER_DARK_MEAN_C "Average value of the master DARK (excluding bad pixels)."
121#define XSH_QC_MASTER_DARK_RMS "ESO QC MDARKRMS"
122#define XSH_QC_MASTER_DARK_RMS_C "RMS value of the master DARK (excluding bad pixels)."
124#define XSH_QC_NORM_FPN "ESO QC NORMFPN"
125#define XSH_QC_NORM_FPN_C "Fixed Pattern Noise value normalized to 1s exposure"
127#define XSH_QC_NORM_FPN_ERR "ESO QC NORMFPN ERR"
128#define XSH_QC_NORM_FPN_ERR_C "Fixed Pattern Noise error normalized to 1s exposure"
130#define XSH_QC_FPN "ESO QC FPN"
131#define XSH_QC_FPN_C "Fixed Pattern Noise value"
133#define XSH_QC_FPN_ERR "ESO QC FPN ERR"
134#define XSH_QC_FPN_ERR_C "Fixed Pattern Noise error"
136#define XSH_QC_FPN_MASTER "ESO QC FPN MASTER"
137#define XSH_QC_FPN_MASTER_C "Fixed Pattern Noise value on master frame"
139#define XSH_QC_FPN_ERR_MASTER "ESO QC FPN ERR MASTER"
140#define XSH_QC_FPN_ERR_MASTER_C "Fixed Pattern Noise error on master frame"
142#define XSH_QC_FLAT_FPNi "ESO QC FLAT FPNi"
143#define XSH_QC_FLAT_FPNi_C "Fixed pattern noise."
144#define XSH_QC_BP_MAP_NTOTAL "ESO QC BP-MAP NTOTAL"
145#define XSH_QC_BP_MAP_NTOTAL_C "Number of flag pixels in the bad pixel map"
147#define XSH_QC_BP_MAP_NFLAGi "ESO QC BP-MAP NFLAGi"
148#define XSH_QC_BP_MAP_NFLAGi_C "Number of pixels for the given flag"
151#define XSH_QC_NLINE_FOUND "ESO QC NLINE FOUND"
152#define XSH_QC_NLINE_FOUND_C "Number of lines successfully matched with the theoretical table."
154#define XSH_QC_NLINE_CAT "ESO QC NLINE CAT"
155#define XSH_QC_NLINE_CAT_C "Number of arc lines in the input catalog (arc line list)."
157#define XSH_QC_NLINE_CAT_CLEAN "ESO QC NLINE CAT CLEAN"
158#define XSH_QC_NLINE_CAT_CLEAN_C "Number of arc lines after gaussian fit and sigma clipping."
161#define XSH_QC_NLINE_FOUND_CLEAN "ESO QC NLINE FOUND CLEAN"
162#define XSH_QC_NLINE_FOUND_CLEAN_C "Number of lines successfully matched with the theoretical table after gaussian fit and sigma clipping."
165#define XSH_QC_NLINE4_FOUND "ESO QC NLINE4 FOUND"
166#define XSH_QC_NLINE4_FOUND_C "Number of pin-hole 4 lines successfully matched with the theoretical table."
168#define XSH_QC_NLINE4_FOUND_CLEAN "ESO QC NLINE4 FOUND CLEAN"
169#define XSH_QC_NLINE4_FOUND_CLEAN_C "Number of pin-hole 4 lines successfully matched with the theoretical table after gaussian fit and sigma clipping."
172#define XSH_QC_MODEL_NDAT "ESO QC MODEL NDAT"
173#define XSH_QC_MODEL_NDAT_C "Number of data points over which is optimized the physical model."
175#define XSH_QC_MODEL_FMTCHK_DATE "ESO QC FMTCHK MODEL DATE"
176#define XSH_QC_FMTCHK_POLY_DIFFXAVG "ESO QC FMTCHK POLY DIFFXAVG"
177#define XSH_QC_FMTCHK_POLY_DIFFXMED "ESO QC FMTCHK POLY DIFFXMED"
178#define XSH_QC_FMTCHK_POLY_DIFFXSTD "ESO QC FMTCHK POLY DIFFXSTD"
179#define XSH_QC_FMTCHK_POLY_DIFFYAVG "ESO QC FMTCHK POLY DIFFYAVG"
180#define XSH_QC_FMTCHK_POLY_DIFFYMED "ESO QC FMTCHK POLY DIFFYMED"
181#define XSH_QC_FMTCHK_POLY_DIFFYSTD "ESO QC FMTCHK POLY DIFFYSTD"
184#define XSH_QC_MODEL_PREDICT_RESX_MIN "ESO QC MODEL PREDICT RESX_MIN"
185#define XSH_QC_MODEL_PREDICT_RESX_MIN_C "Min X Residual X of data points to fit positions before model optimization."
186#define XSH_QC_MODEL_PREDICT_RESX_MAX "ESO QC MODEL PREDICT RESX_MAX"
187#define XSH_QC_MODEL_PREDICT_RESX_MAX_C "Max X Residual X of data points to fit positions before model optimization."
188#define XSH_QC_MODEL_PREDICT_RESX_MED "ESO QC MODEL PREDICT RESX_MED"
189#define XSH_QC_MODEL_PREDICT_RESX_MED_C "Median X Residual X of data points to fit positions before model optimization."
190#define XSH_QC_MODEL_PREDICT_RESX_AVG "ESO QC MODEL PREDICT RESX_AVG"
191#define XSH_QC_MODEL_PREDICT_RESX_AVG_C "Mean X Residual X of data points to fit positions before model optimization."
192#define XSH_QC_MODEL_PREDICT_RESX_RMS "ESO QC MODEL PREDICT RESX_RMS"
193#define XSH_QC_MODEL_PREDICT_RESX_RMS_C "RMS X Residual X of data points to fit positions before model optimization."
195#define XSH_QC_MODEL_PREDICT_RESY_MIN "ESO QC MODEL PREDICT RESY_MIN"
196#define XSH_QC_MODEL_PREDICT_RESY_MIN_C "Min Y Residual Y of data points to fit positions before model optimization."
197#define XSH_QC_MODEL_PREDICT_RESY_MAX "ESO QC MODEL PREDICT RESY_MAX"
198#define XSH_QC_MODEL_PREDICT_RESY_MAX_C "Max Y Residual Y of data points to fit positions before model optimization."
199#define XSH_QC_MODEL_PREDICT_RESY_MED "ESO QC MODEL PREDICT RESY_MED"
200#define XSH_QC_MODEL_PREDICT_RESY_MED_C "Median Y Residual Y of data points to fit positions before model optimization."
201#define XSH_QC_MODEL_PREDICT_RESY_AVG "ESO QC MODEL PREDICT RESY_AVG"
202#define XSH_QC_MODEL_PREDICT_RESY_AVG_C "Mean Y Residual Y of data points to fit positions before model optimization."
203#define XSH_QC_MODEL_PREDICT_RESY_RMS "ESO QC MODEL PREDICT RESY_RMS"
204#define XSH_QC_MODEL_PREDICT_RESY_RMS_C "RMS Y Residual Y of data points to fit positions before model optimization."
207#define XSH_QC_MODEL_ANNEAL_RESX_MIN "ESO QC MODEL ANNEAL RESX_MIN"
208#define XSH_QC_MODEL_ANNEAL_RESX_MIN_C "Min X Residual X of data points to fit positions after model optimization."
210#define XSH_QC_MODEL_ANNEAL_RESX_MAX "ESO QC MODEL ANNEAL RESX_MAX"
211#define XSH_QC_MODEL_ANNEAL_RESX_MAX_C "Max X Residual X of data points to fit positions after model optimization."
213#define XSH_QC_MODEL_ANNEAL_RESX_MED "ESO QC MODEL ANNEAL RESX_MED"
214#define XSH_QC_MODEL_ANNEAL_RESX_MED_C "Median X Residual X of data points to fit positions after model optimization."
216#define XSH_QC_MODEL_ANNEAL_RESX_AVG "ESO QC MODEL ANNEAL RESX_AVG"
217#define XSH_QC_MODEL_ANNEAL_RESX_AVG_C "Mean X Residual X of data points to fit positions after model optimization."
219#define XSH_QC_MODEL_ANNEAL_RESX_RMS "ESO QC MODEL ANNEAL RESX_RMS"
221#define XSH_QC_MODEL_ANNEAL_RESY_MIN "ESO QC MODEL ANNEAL RESY_MIN"
222#define XSH_QC_MODEL_ANNEAL_RESY_MIN_C "Min Y Residual Y of data points to fit positions after model optimization."
224#define XSH_QC_MODEL_ANNEAL_RESY_MAX "ESO QC MODEL ANNEAL RESY_MAX"
225#define XSH_QC_MODEL_ANNEAL_RESY_MAX_C "Max Y Residual Y of data points to fit positions after model optimization."
227#define XSH_QC_MODEL_ANNEAL_RESY_MED "ESO QC MODEL ANNEAL RESY_MED"
228#define XSH_QC_MODEL_ANNEAL_RESY_MED_C "Median Y Residual Y of data points to fit positions after model optimization."
230#define XSH_QC_MODEL_ANNEAL_RESY_AVG "ESO QC MODEL ANNEAL RESY_AVG"
231#define XSH_QC_MODEL_ANNEAL_RESY_AVG_C "Mean Y Residual Y of data points to fit positions after model optimization."
233#define XSH_QC_MODEL_ANNEAL_RESY_RMS "ESO QC MODEL ANNEAL RESY_RMS"
237#define XSH_QC_MODEL_WAVECAL_DATE "ESO QC MODEL WAVECAL DATE"
238#define XSH_QC_MODEL_WAVECAL_DATE_C "Date of the physical model used."
240#define XSH_QC_MODEL_WAVECAL_DIFFXAVG "ESO QC MODEL WAVECAL DIFFXAVG"
241#define XSH_QC_MODEL_WAVECAL_DIFFXAVG_C "Average value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list)."
244#define XSH_QC_MODEL_WAVECAL_DIFFXMED "ESO QC MODEL WAVECAL DIFFXMED"
245#define XSH_QC_MODEL_WAVECAL_DIFFXMED_C "Median value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list)."
247#define XSH_QC_MODEL_WAVECAL_DIFFXSTD "ESO QC MODEL WAVECAL DIFFXSTD"
248#define XSH_QC_MODEL_WAVECAL_DIFFXSTD_C "Standard Deviation value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list)."
273 {
"ESO QC LININT NORM",
277 "Average intensity of selected lines (at center) normalised by exptime",
320 {
"ESO QC BP-MAP LINi MEAN",
323 "xsh_compute_linearity",
329 {
"ESO QC BP-MAP LINi MED",
332 "xsh_compute_linearity",
338 {
"ESO QC BP-MAP LINi RMS",
341 "xsh_compute_linearity",
347 {
"ESO QC BP-MAP NBADPIX",
350 "xsh_compute_linearity",
351 "Number of bad pixels rejected for non linearity",
356 {
"ESO QC BP-MAP PICKUP NOISEPIX",
359 "xsh_compute_noise_map",
360 "Number of pixels pixels detected in dark",
363 "MASTER_BP_MAP(.*)NIR"
368 "xsh_create_master_dark_bpmap",
377 "xsh_create_master_dark_bpmap",
384 "xsh_mbias,xsh_mdark,xsh_linear",
386 "set_masterbias_qc,set_masterdark_qc",
402 "xsh_mbias,xsh_mdark,xsh_linear",
404 "set_masterbias_qc,set_masterdark_qc",
420 "xsh_mbias,xsh_mdark,xsh_linear",
422 "set_masterbias_qc,set_masterdark_qc",
428 {
"ESO QC RON ERR MASTER",
432 "Read Out Noise error on master farme (ADU)",
441 "set_masterbias_qc,set_masterdark_qc",
442 "Read Out Noise value (ADU)",
447 {
"ESO QC DIFFRON ERR",
448 "xsh_mbias,xsh_mdark",
450 "sset_masterbias_qc,et_masterdark_qc",
451 "Read Out Noise error (ADU)",
460 "Read Out Noise value (ADU) normalized to 1s exposure",
465 {
"ESO QC NORMRON ERR",
469 "Read Out Noise error (ADU) normalised to 1s exposure",
475 "xsh_mbias,xsh_mdark",
477 "xsh_mbias,xsh_mdark",
484 "xsh_mbias,xsh_mdark",
486 "xsh_mbias,xsh_mdark",
493 "xsh_mbias,xsh_mdark",
495 "xsh_mbias,xsh_mdark",
502 "xsh_mbias,xsh_mdark",
504 "xsh_mbias,xsh_mdark",
529 "xsh_linear,xsh_mdark,xsh_mflat,xsh_scired_slit_stare",
530 "xsh_absorp,xsh_respon_uvbvis,xsh_respon_visnir,xsh_scired_slit_nod,xsh_scired_slit_offset,xsh_scired_ifu_stare,xsh_scired_ifu_offset",
531 "xsh_remove_crh_multiple,xsh_remove_crh_single",
546 {
"ESO QC DETLINi MEAN",
555 {
"ESO QC DETLINi MED",
564 {
"ESO QC DETLINi RMS",
584 {
"ESO QC DISP COEFFi",
587 "xsh_follow_arclines",
588 "Dispersion coefficients",
604 "xsh_predict,xsh_2dmap",
606 "xsh_detect_arclines",
610 "ARC_LINE_LIST|WAVE_TAB"
613 "xsh_predict,xsh_2dmap",
615 "xsh_detect_arclines",
619 "ARC_LINE_LIST|WAVE_TAB"
622 "xsh_predict,xsh_2dmap",
624 "xsh_detect_arclines",
631 "xsh_predict,xsh_2dmap",
633 "xsh_detect_arclines",
639 {
"ESO QC WAVECAL FWHMRMS",
642 "xsh_follow_arclines",
643 "Mesured Standard Deviation of FWHM in Y of lines selected",
669 "xsh_follow_arclines",
675 {
"ESO QC LAMP INTENSITY",
678 "xsh_follow_arclines",
684 {
"ESO QC LAMPOFF MAX",
693 {
"ESO QC LAMPOFF MED",
702 {
"ESO QC LAMPOFF RMS",
711 {
"ESO QC LAMPON MAX",
720 {
"ESO QC LAMPON MED",
729 {
"ESO QC LAMPON RMS",
738 {
"ESO QC LINE RESIDRMS",
750 "xsh_create_masterbias",
759 "xsh_create_masterbias",
768 "xsh_create_masterbias",
777 "xsh_mbias_get_hot_cold_maps",
786 "xsh_mbias_get_hot_cold_maps",
796 "xsh_mbias_get_hot_cold_maps",
806 "xsh_mbias_get_hot_cold_maps",
814 {
"ESO QC BIAS RANDOM VAL",
817 "xsh_my_detmon_ronbias_random",
823 {
"ESO QC BIAS RANDOM RON",
826 "xsh_my_detmon_ronbias_random",
833 {
"ESO QC BIAS RANDOM PRESCAN MEAN",
836 "xsh_my_detmon_ronbias_preoverscan",
837 "Bias mean value on prescan region",
842 {
"ESO QC BIAS RANDOM PRESCAN MED",
845 "xsh_my_detmon_ronbias_preoverscan",
846 "Bias median value on prescan region",
851 {
"ESO QC BIAS RANDOM PRESCAN RON",
854 "xsh_my_detmon_ronbias_preoverscan",
855 "Bias RON value on prescan region",
862 {
"ESO QC BIAS RANDOM OVERSCAN MEAN",
865 "xsh_my_detmon_ronbias_preoverscan",
866 "Bias mean value on overscan region",
871 {
"ESO QC BIAS RANDOM OVERSCAN MED",
874 "xsh_my_detmon_ronbias_preoverscan",
875 "Bias median value on overscan region",
880 {
"ESO QC BIAS RANDOM OVERSCAN RON",
883 "xsh_my_detmon_ronbias_preoverscan",
884 "Bias RON value on overscan region",
890 {
"ESO QC BIAS REGION MED",
893 "xsh_my_detmon_ronbias_preoverscan",
894 "Bias median value on region",
899 {
"ESO QC BIAS REGION VAL",
902 "xsh_my_detmon_ronbias_preoverscan",
903 "Bias mean value on region",
908 {
"ESO QC BIAS REGION RON",
911 "xsh_my_detmon_ronbias_preoverscan",
912 "Bias RON value on region",
918 {
"ESO QC BIAS HISTO VAL",
921 "xsh_my_detmon_ronbias_preoverscan",
922 "Bias value from histogram",
927 {
"ESO QC BIAS HISTO RON",
930 "xsh_my_detmon_ronbias_preoverscan",
931 "Bias RON value from histogram",
939 "xsh_create_masterdark",
948 "xsh_create_masterdark",
957 "xsh_create_masterdark",
990 {
"ESO QC FMTCHK MODEL DATE",
991 "xsh_predict,xsh_2dmap",
993 "xsh_detect_arclines",
994 "Date of the physical model used.",
999 {
"ESO QC FMTCHK POLY DIFFXAVG",
1000 "xsh_predict,xsh_2dmap",
1002 "xsh_detect_arclines",
1003 "Average value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1008 {
"ESO QC FMTCHK POLY DIFFXMED",
1009 "xsh_predict,xsh_2dmap",
1011 "xsh_detect_arclines",
1012 "Median value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1017 {
"ESO QC FMTCHK POLY DIFFXSTD",
1018 "xsh_predict,xsh_2dmap",
1020 "xsh_detect_arclines",
1021 "Standard deviation of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1026 {
"ESO QC FMTCHK POLY DIFFYAVG",
1027 "xsh_predict,xsh_2dmap",
1029 "xsh_detect_arclines",
1030 "Average value of the differences between Y positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1035 {
"ESO QC FMTCHK POLY DIFFYMED",
1036 "xsh_predict,xsh_2dmap",
1038 "xsh_detect_arclines",
1039 "Median value of the differences between Y positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1044 {
"ESO QC FMTCHK POLY DIFFYSTD",
1045 "xsh_predict,xsh_2dmap",
1047 "xsh_detect_arclines",
1048 "Standard deviation of the differences between Y positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1058 "xsh_detect_arclines",
1068 "xsh_model_pipe_anneal",
1077 "xsh_detect_arclines",
1083 {
"ESO QC MODEL PREDICT RESX_STD",
1086 "xsh_detect_arclines",
1087 "Standard deviation X Residual X of data points to fit positions before model optimization.",
1096 "xsh_detect_arclines",
1105 "xsh_detect_arclines",
1111 {
"ESO QC MODEL PREDICT RESY_STD",
1114 "xsh_detect_arclines",
1115 "Standard deviation Y Residual Y of data points to fit positions before model optimization.",
1126 "xsh_model_pipe_anneal",
1135 "xsh_detect_arclines",
1141 {
"ESO QC MODEL ANNEAL RESX_STD",
1144 "xsh_detect_arclines",
1145 "Standard deviation X Residual X of data points to fit positions after model optimization.",
1154 "xsh_detect_arclines",
1163 "xsh_detect_arclines",
1169 {
"ESO QC MODEL ANNEAL RESY_STD",
1172 "xsh_detect_arclines",
1173 "Standard deviation Y Residual Y of data points to fit positions after model optimization.",
1182 {
"ESO QC POLY RESX_MIN",
1185 "xsh_detect_arclines",
1186 "Minimum of the differences between X positions from poly fit and the fitted X positions (from the clean arc line list).",
1191 {
"ESO QC POLY RESX_MAX",
1194 "xsh_detect_arclines",
1195 "Maximum of the differences between X positions from poly fit and the fitted X positions (from the clean arc line list).",
1200 {
"ESO QC POLY RESX_STD",
1203 "xsh_detect_arclines",
1204 "Standard deviation of the differences between X positions from poly fit and the fitted X positions (from the clean arc line list).",
1210 {
"ESO QC POLY RESY_MIN",
1213 "xsh_detect_arclines",
1214 "Minimum of the differences between Y positions from poly fit and the fitted positions (from the clean arc line list).",
1219 {
"ESO QC POLY RESY_MAX",
1222 "xsh_detect_arclines",
1223 "Maximum of the differences between Y positions from poly fit and the fitted Y positions (from the clean arc line list).",
1228 {
"ESO QC POLY RESY_STD",
1231 "xsh_detect_arclines",
1232 "Standard deviation of the differences between Y positions from poly fit and the fitted Y positions (from the clean arc line list).",
1243 {
"ESO QC MODEL DIFFXMIN",
1246 "xsh_detect_arclines",
1247 "Minimum of the differences between X positions from the model optimized on the frame and the fitted X positions (from the clean arc line list).",
1252 {
"ESO QC MODEL DIFFXMAX",
1255 "xsh_detect_arclines",
1256 "Maximum of the differences between X positions from the model optimized on the frame and the fitted X positions (from the clean arc line list).",
1261 {
"ESO QC MODEL DIFFXSTD",
1264 "xsh_detect_arclines",
1265 "Standard deviation of the differences between X positions from the model optimized on the frame and the fitted X positions (from the clean arc line list).",
1271 {
"ESO QC MODEL DIFFYMIN",
1274 "xsh_detect_arclines",
1275 "Minimum of the differences between Y positions from the model optimized on the frame and the fitted Y positions (from the clean arc line list).",
1280 {
"ESO QC MODEL DIFFYMAX",
1283 "xsh_detect_arclines",
1284 "Maximum of the differences between Y positions from the model optimized on the frame and the fitted Y positions (from the clean arc line list).",
1289 {
"ESO QC MODEL DIFFYSTD",
1292 "xsh_detect_arclines",
1293 "Standard deviation of the differences between Y positions from the model optimized on the frame and the fitted Y positions (from the clean arc line list).",
1300 {
"ESO QC POLY DIFFXMIN",
1303 "xsh_detect_arclines",
1304 "Minimum of the differences between the fitted X positions (from the clean arc line list) and the X positions from their polynomial fit",
1309 {
"ESO QC POLY DIFFXMAX",
1312 "xsh_detect_arclines",
1313 "Maximum of the differences between the fitted X positions (from the clean arc line list) and the X positions from their polynomial fit.",
1318 {
"ESO QC POLY DIFFXSTD",
1321 "xsh_detect_arclines",
1322 "Standard deviation of the differences betweenthe fitted X positions (from the clean arc line list) and the X positions from their polynomial fit.",
1328 {
"ESO QC POLY DIFFYMIN",
1331 "xsh_detect_arclines",
1332 "Minimum of the differences between the fitted Y positions (from the clean arc line list) and the Y positions from their polynomial fit",
1337 {
"ESO QC POLY DIFFYMAX",
1340 "xsh_detect_arclines",
1341 "Maximum of the differences between the fitted Y positions (from the clean arc line list) and the Y positions from their polynomial fit.",
1346 {
"ESO QC POLY DIFFYSTD",
1349 "xsh_detect_arclines",
1350 "Standard deviation of the differences betweenthe fitted Y positions (from the clean arc line list) and the Y positions from their polynomial fit.",
1356 {
"ESO QC FLUXi MIN",
1357 "xsh_orderpos,xsh_mflat",
1360 "Minimum of flux on order i.",
1366 {
"ESO QC FLUXi MAX",
1367 "xsh_orderpos,xsh_mflat",
1370 "Minimum of flux on order i.",
1377 {
"ESO QC FLUX16 MIN",
1378 "xsh_orderpos,xsh_mflat",
1381 "Minimum of flux on order i.",
1387 {
"ESO QC FLUX16 MAX",
1388 "xsh_orderpos,xsh_mflat",
1391 "Minimum of flux on order i.",
1397 {
"ESO QC MODEL ORDERPOS DATE",
1400 "xsh_detect_continuum_",
1401 "Date of the physical model used.",
1406 {
"ESO QC MODEL ORDERPOS DIFFXAVG",
1409 "xsh_detect_continuum_",
1410 "Average value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1415 {
"ESO QC MODEL ORDERPOS DIFFXMED",
1418 "xsh_detect_continuum_",
1419 "Median value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1424 {
"ESO QC MODEL ORDERPOS DIFFXSTD",
1427 "xsh_detect_continuum_",
1428 "Standard Deviation value of the differences between X positions in the theoretical map (THE) and fitted X positions (from the clean arc line list).",
1433 {
"ESO QC MODEL ORDERPOS DIFFYAVG",
1436 "xsh_detect_continuum_",
1437 "Average value of the differences between Y positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1442 {
"ESO QC MODEL ORDERPOS DIFFYMED",
1445 "xsh_detect_continuum_",
1446 "Median value of the differences between Y positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1451 {
"ESO QC MODEL ORDERPOS DIFFYSTD",
1454 "xsh_detect_continuum_",
1455 "Standard Deviation value of the differences between X positions in the theoretical map (THE) and fitted Y positions (from the clean arc line list).",
1463 "xsh_follow_arclines",
1472 "xsh_follow_arclines",
1481 "xsh_follow_arclines",
1490 "xsh_follow_arclines",
1496 {
"ESO QC WAVECAL DIFFYAVG",
1499 "xsh_follow_arclines",
1500 "Average value of the differences between Y theoretical positions (model or polynomial solution) and fitted Y positions (from the linear fit of the tilt).",
1503 "SHIFT_TAB|TILT_TAB"
1505 {
"ESO QC WAVECAL DIFFYMED",
1508 "xsh_follow_arclines",
1509 "Median value of the differences between Y theoretical positions (model or polynomial solution) and fitted Y positions (from the linear fit of the tilt).",
1512 "SHIFT_TAB|TILT_TAB"
1514 {
"ESO QC WAVECAL DIFFYSTD",
1517 "xsh_follow_arclines",
1518 "Standard Deviation value of the differences between Y theoretical positions (model or polynomial solution) and fitted Y positions (from the linear fit of the tilt).",
1521 "SHIFT_TAB|TILT_TAB"
1524 "xsh_linear,xsh_mdark,xsh_mflat",
1525 "xsh_absorp,xsh_respon_uvbvis,xsh_respon_visnir,xsh_scired_slit_stare,xsh_scired_slit_nod,xsh_scired_slit_offset,xsh_scired_ifu_stare,xsh_scired_ifu_offset",
1526 "xsh_remove_crh_multiple,xsh_remove_crh_single",
1533 "xsh_linear,xsh_mdark,xsh_mflat",
1534 "xsh_absorp,xsh_respon_uvbvis,xsh_respon_visnir,xsh_scired_slit_stare,xsh_scired_slit_nod,xsh_scired_slit_offset,xsh_scired_ifu_stare,xsh_scired_ifu_offset",
1535 "xsh_remove_crh_multiple",
1536 "Average number of cosmic ray hits per frame",
1554 "Average intensity of selected lines (at center)",
1557 "TILT_TAB|SHIFT_TAB"
1559 {
"ESO QC OBJi FWHM",
1568 {
"ESO QC ORDER COEFi",
1577 {
"ESO QC ORD ORDERPOS RESIDMIN",
1580 "xsh_detect_continuum",
1581 "Minimum of the residuals in order positions (calculated - guessed).",
1586 {
"ESO QC ORD ORDERPOS RESIDMAX",
1589 "xsh_detect_continuum",
1590 "Maximum of the residuals in order positions (calculated - guessed).",
1595 {
"ESO QC ORD ORDERPOS RESIDAVG",
1598 "xsh_detect_continuum",
1599 "Mean residual in order positions (calculated - guessed).",
1604 {
"ESO QC ORD ORDERPOS RESIDRMS",
1607 "xsh_detect_continuum",
1608 "RMS of the residuals in order positions (calculated - guessed).",
1613 {
"ESO QC ORD ORDERPOS RESELMIN",
1616 "xsh_detect_continuum",
1617 "Minimum of the residuals in order positions (calculated - guessed).after selection",
1622 {
"ESO QC ORD ORDERPOS RESELMAX",
1625 "xsh_detect_continuum",
1626 "Maximum of the residuals in order positions (calculated - guessed).after selection",
1631 {
"ESO QC ORD ORDERPOS RESELAVG",
1634 "xsh_detect_continuum",
1635 "Mean residual in order positions (calculated - guessed).after selection",
1640 {
"ESO QC ORD ORDERPOS RESELRMS",
1643 "xsh_detect_continuum",
1644 "RMS of the residuals in order positions (calculated - guessed).after selection",
1650 {
"ESO QC ORD ORDERPOS MAX PRED",
1659 {
"ESO QC ORD ORDERPOS MIN PRED",
1668 {
"ESO QC ORD ORDERPOS NDET",
1671 "xsh_detect_continuum",
1672 "Number of detected orders.",
1677 {
"ESO QC ORD ORDERPOS NPOSALL",
1686 {
"ESO QC ORD ORDERPOS NPOSSEL",
1695 {
"ESO QC ORD ORDERPOS NPRED",
1698 "xsh_detect_continuum",
1699 "Number of orders predicted by the physical model.",
1704 {
"ESO QC PIXLINi MEAN",
1713 {
"ESO QC PIXLINi MED",
1722 {
"ESO QC PIXLINi RMS",
1740 {
"ESO QC REFi DATAAVG",
1749 {
"ESO QC REFi DATAMED",
1758 {
"ESO QC REFi DATARMS",
1789 "Measured median resolving power of lines selected",
1798 "Measured RMS of resolving power of lines selected",
1839 {
"ESO QC SHIFTX RMS",
1848 {
"ESO QC SHIFTY RMS",
1857 {
"ESO QC SKYMOD SUMS",
1869 "xsh_create_masterbias",
1878 "xsh_create_masterbias",
1887 "xsh_create_masterbias",
1896 "xsh_create_masterbias",
1911 {
"ESO QC WAVECAL CATLINE",
1918 "TILT_TAB|SHIFT_TAB"
1920 {
"ESO QC WAVECAL FOUNDLINE",
1927 "TILT_TAB,SHIFT_TAB"
1929 {
"ESO QC WAVECAL FWHMAVG",
1933 "Average FWHM in Y direction of detected lines",
1938 {
"ESO QC WAVECAL MATCHLINE",
1945 "TILT_TAB,SHIFT_TAB"
1947 {
"ESO QC WAVECAL SPACEFIT",
1956 {
"ESO QC WAVECAL WAVEFIT",
1965 {
"ESO QC WAVE COEFi",
1974 {
"ESO QC WAVE FMTCHK MAXPRED",
1983 {
"ESO QC WAVE FMTCHK MINPRED",
2001 {
"ESO QC WAVE INTAVG",
2010 {
"ESO QC WAVE INTMAX",
2019 {
"ESO QC WAVE INTRMS",
2028 {
"ESO QC WAVEi SHIFT",
2037 {
"ESO QC WAVE NALL",
2055 {NULL, NULL, NULL, NULL, NULL, CPL_TYPE_INVALID,
#define XSH_QC_STRUCT_X_REG1
#define XSH_QC_MASTER_DARK_MEDIAN
#define XSH_QC_MODEL_ANNEAL_RESX_MAX
#define XSH_QC_MODEL_PREDICT_RESY_MAX
#define XSH_QC_STRUCT_Y_REG2
#define XSH_QC_RON_MASTER_C
#define XSH_QC_BP_MAP_NTOTAL
#define XSH_QC_MASTER_DARK_MEAN
#define XSH_QC_MODEL_PREDICT_RESX_MAX
#define XSH_QC_MODEL_PREDICT_RESX_MIN
#define XSH_QC_RON_REG1_ERR
#define XSH_QC_MODEL_ANNEAL_RESX_MAX_C
#define XSH_QC_RON_REG2_ERR
#define XSH_QC_MODEL_ANNEAL_RESY_MAX
#define XSH_QC_MASTER_BIAS_MEAN
#define XSH_QC_MASTER_DARK_RMS
#define XSH_QC_NLINE_CAT_CLEAN_C
#define XSH_QC_MODEL_WAVECAL_DIFFXAVG_C
#define XSH_QC_CRH_NUMBER_C
#define XSH_QC_MASTER_RMS_C
#define XSH_QC_MODEL_PREDICT_RESY_MIN
#define XSH_QC_FPN_MASTER
#define XSH_QC_MODEL_PREDICT_RESY_MIN_C
#define XSH_QC_MODEL_WAVECAL_DIFFXAVG
#define XSH_QC_RON_REG1_C
#define XSH_QC_RON_MASTER
#define XSH_QC_RON_REG2_C
#define XSH_QC_MASTER_MEAN
#define XSH_QC_STRUCT_X_REG2
#define XSH_QC_MODEL_WAVECAL_DATE
#define XSH_QC_FLAT_FPNi_C
#define XSH_QC_NLINE_FOUND
#define XSH_QC_MASTER_RMS
#define XSH_QC_BP_MAP_NTOTAL_C
#define XSH_QC_MASTER_BIAS_RMS
#define XSH_QC_MASTER_BIAS_MEDIAN_C
#define XSH_QC_HOT_PIX_NUM_C
#define XSH_QC_STRUCT_X_REG1_C
#define XSH_QC_MODEL_NDAT_C
static const qc_description qc_table[]
#define XSH_QC_STRUCT_X_REG2_C
#define XSH_QC_CRH_NUMBER_MEAN
#define XSH_QC_MASTER_DARK_MEAN_C
#define XSH_QC_MASTER_DARK_MEDIAN_C
#define XSH_QC_MASTER_BIAS_RMS_C
#define XSH_QC_STRUCT_Y_REG2_C
#define XSH_QC_NLINE_FOUND_CLEAN
#define XSH_QC_MODEL_WAVECAL_DIFFXMED
#define XSH_QC_MODEL_PREDICT_RESX_MIN_C
#define XSH_QC_CRH_NUMBER
#define XSH_QC_COLD_PIX_NUM
#define XSH_QC_FPN_MASTER_C
#define XSH_QC_RON_REG2_ERR_C
#define XSH_QC_MODEL_PREDICT_RESX_MAX_C
#define XSH_QC_FPN_ERR_MASTER
#define XSH_QC_MASTER_BIAS_MEDIAN
#define XSH_QC_NORM_FPN_ERR
#define XSH_QC_COLD_PIX_NUM_C
#define XSH_QC_MASTER_DARK_RMS_C
#define XSH_QC_MODEL_ANNEAL_RESX_MIN_C
#define XSH_QC_MODEL_WAVECAL_DATE_C
#define XSH_QC_NLINE_FOUND_C
#define XSH_QC_NLINE_FOUND_CLEAN_C
#define XSH_QC_STRUCT_Y_REG1
#define XSH_QC_FPN_ERR_MASTER_C
#define XSH_QC_MODEL_PREDICT_RESY_MAX_C
#define XSH_QC_MASTER_MEAN_C
#define XSH_QC_BP_MAP_NFLAGi_C
#define XSH_QC_CRH_RATE_C
#define XSH_QC_MODEL_ANNEAL_RESY_MIN
#define XSH_QC_MODEL_WAVECAL_DIFFXSTD_C
#define XSH_QC_MASTER_BIAS_MEAN_C
#define XSH_QC_MODEL_ANNEAL_RESY_MAX_C
#define XSH_QC_BP_MAP_NFLAGi
#define XSH_QC_MODEL_NDAT
#define XSH_QC_STRUCT_Y_REG1_C
#define XSH_QC_MODEL_WAVECAL_DIFFXSTD
#define XSH_QC_HOT_PIX_NUM
#define XSH_QC_MODEL_ANNEAL_RESX_MIN
#define XSH_QC_NLINE_CAT_C
#define XSH_QC_RON_REG1_ERR_C
#define XSH_QC_MODEL_WAVECAL_DIFFXMED_C
#define XSH_QC_NORM_FPN_C
#define XSH_QC_NORM_FPN_ERR_C
#define XSH_QC_MODEL_ANNEAL_RESY_MIN_C
#define XSH_QC_NLINE_CAT_CLEAN