MOONS Pipeline Reference Manual 0.13.1
moo_qc.h
1/*
2 * This file is part of the MOONS Pipeline
3 * Copyright (C) 2002-2016 European Southern Observatory
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 */
19
20#ifndef MOO_QC_H
21#define MOO_QC_H
22
23
24/*-----------------------------------------------------------------------------
25 Includes
26 -----------------------------------------------------------------------------*/
27
28#include <cpl.h>
29#include "moo_detector.h"
30#define MOONS_QC_FRAME_RAW1 "ESO QC FRAME RAW1"
31#define MOONS_QC_FRAME_RAW1_C "Raw frame used in product"
32
33#define MOONS_QC_FRAME_RAW2 "ESO QC FRAME RAW2"
34#define MOONS_QC_FRAME_RAW2_C "Raw frame used in product"
35
36#define MOONS_QC_CRH_NUMBER "ESO QC NCRH"
37#define MOONS_QC_CRH_NUMBER_C "Number of detected cosmic ray hits"
38
39#define MOONS_QC_CRH_TOT "ESO QC NCRH TOT"
40#define MOONS_QC_CRH_TOT_C "Total number of detected cosmic ray hits"
41
42#define MOONS_QC_CRH_AVG "ESO QC NCRH AVG"
43#define MOONS_QC_CRH_AVG_C "Average number of cosmic ray hits per frame"
44
45#define MOONS_QC_NCOM "ESO QC NCOM"
46#define MOONS_QC_NCOM_C "Number of combined frames"
47
48#define MOONS_QC_MBIAS_AVG "ESO QC MBIAS OUT%d AVG"
49#define MOONS_QC_MBIAS_AVG_C \
50 "Average value of the master BIAS (excluding bad pixels)"
51
52#define MOONS_QC_MBIAS_MED "ESO QC MBIAS OUT%d MED"
53#define MOONS_QC_MBIAS_MED_C \
54 "Median value of the master BIAS (excluding bad pixels)"
55
56#define MOONS_QC_MBIAS_RMS "ESO QC MBIAS OUT%d RMS"
57#define MOONS_QC_MBIAS_RMS_C \
58 "RMS value of the master BIAS (excluding bad pixels)"
59
60#define MOONS_QC_MBIAS_MAD "ESO QC MBIAS OUT%d MAD"
61#define MOONS_QC_MBIAS_MAD_C \
62 "MAD value of the master BIAS (excluding bad pixels)"
63
64#define MOONS_QC_RON_RAW "ESO QC OUT%d RON RAW"
65#define MOONS_QC_RON_RAW_C "Read Out Noise in raw"
66
67#define MOONS_QC_RON_MASTER "ESO QC OUT%d RON MASTER"
68#define MOONS_QC_RON_MASTER_C "Read Out Noise in master"
69
70#define MOONS_QC_MDARK_NHOT "ESO QC NHPIX"
71#define MOONS_QC_MDARK_NHOT_C "Number of hot pixels"
72
73#define MOONS_QC_MDARK_NORMALISE_FACTOR "ESO QC MDARK NORMALISE FACTOR"
74#define MOONS_QC_MDARK_NORMALISE_FACTOR_C "Normalisation factor of master dark"
75
76#define MOONS_QC_MDARK_AVG "ESO QC MDARK AVG"
77#define MOONS_QC_MDARK_AVG_C \
78 "Average value of the master DARK (excluding bad pixels)"
79
80#define MOONS_QC_MDARK_MED "ESO QC MDARK MED"
81#define MOONS_QC_MDARK_MED_C \
82 "Median value of the master DARK (excluding bad pixels)"
83
84#define MOONS_QC_MDARK_RMS "ESO QC MDARK RMS"
85#define MOONS_QC_MDARK_RMS_C \
86 "RMS value of the master DARK (excluding bad pixels)"
87
88#define MOONS_QC_MDARK_CURRENT "ESO QC MEAN DARK CURRENT"
89#define MOONS_QC_MDARK_CURRENT_C "[ADU/h] Mean dark current"
90
91#define MOONS_QC_RESIDY_MED "ESO QC RESIDY MED"
92#define MOONS_QC_RESIDY_MED_C \
93 "Median of residuals between polynomial fit " \
94 "and measured centroids"
95
96#define MOONS_QC_RESIDY_AVG "ESO QC RESIDY AVG"
97#define MOONS_QC_RESIDY_AVG_C \
98 "Average value of residuals between polynomial fit " \
99 "and measured centroids"
100
101#define MOONS_QC_RESIDY_SD "ESO QC RESIDY SD"
102#define MOONS_QC_RESIDY_SD_C \
103 "Standard deviation of residuals between " \
104 "polynomial fit and measured centroids"
105
106#define MOONS_QC_WIDTHY_MED "ESO QC WIDTHY MED"
107#define MOONS_QC_WIDTHY_MED_C \
108 "Median of width polynomial fit " \
109 "and measured centroids"
110
111#define MOONS_QC_WIDTHY_AVG "ESO QC WIDTHY AVG"
112#define MOONS_QC_WIDTHY_AVG_C \
113 "Average of width polynomial fit " \
114 "and measured centroids"
115
116#define MOONS_QC_WIDTHY_SD "ESO QC WIDTHY SD"
117#define MOONS_QC_WIDTHY_SD_C "Standard deviation of width polynomial fit"
118
119#define MOONS_QC_FIT_DEG "ESO QC FIT DEG"
120#define MOONS_QC_FIT_DEG_C "Degree of polynomial fit"
121
122#define MOONS_QC_NOUTLIER_PTS "ESO QC NOUTLIER PTS"
123#define MOONS_QC_NOUTLIER_PTS_C "Number of outliers using ydiff"
124
125#define MOONS_QC_NOUTLIER_WID "ESO QC NOUTLIER WID"
126#define MOONS_QC_NOUTLIER_WID_C "Number of outliers using wdiff"
127
128#define MOONS_QC_NBADPROFILE "ESO QC NBADPROFILE"
129#define MOONS_QC_NBADPROFILE_C "Number of bad profile"
130
131#define MOONS_QC_NBADPIX "ESO QC NBADPIX"
132#define MOONS_QC_NBADPIX_C "Number of bad pixels"
133
134#define MOONS_QC_SHIFTY_PTS_MED "ESO QC SHIFTY PTS MED"
135#define MOONS_QC_SHIFTY_PTS_MED_C \
136 "Median shift between trace and guess measured centroids"
137
138#define MOONS_QC_SHIFTY_PTS_AVG "ESO QC SHIFTY PTS AVG"
139#define MOONS_QC_SHIFTY_PTS_AVG_C \
140 "Average shift between trace and guess measured centroids"
141
142#define MOONS_QC_SHIFTY_PTS_SD "ESO QC SHIFTY PTS SD"
143#define MOONS_QC_SHIFTY_PTS_SD_C \
144 "Standard deviation shift between trace and guess measured centroids"
145
146#define MOONS_QC_SHIFTY_FIT_MED "ESO QC SHIFTY FIT MED"
147#define MOONS_QC_SHIFTY_FIT_MED_C \
148 "Median shift between trace and guess fitted centroids"
149
150#define MOONS_QC_SHIFTY_FIT_AVG "ESO QC SHIFTY FIT AVG"
151#define MOONS_QC_SHIFTY_FIT_AVG_C \
152 "Average shift between trace and guess fitted centroids"
153
154#define MOONS_QC_SHIFTY_FIT_SD "ESO QC SHIFTY FIT SD"
155#define MOONS_QC_SHIFTY_FIT_SD_C \
156 "Standard deviation shift between trace and guess fitted centroids"
157
158#define MOONS_QC_NMISSINGFIB "ESO QC NMISSINGFIB"
159#define MOONS_QC_NMISSINGFIB_C "Number of missing fibres"
160
161#define MOONS_QC_MISSINGFIB "ESO QC MISSINGFIB%d"
162#define MOONS_QC_MISSINGFIB_C "Id of missing fibre"
163
164#define MOONS_QC_P2P_MIN "ESO QC P2P MIN"
165#define MOONS_QC_P2P_MIN_C "Minimum value of the P2P"
166
167#define MOONS_QC_P2P_MAX "ESO QC P2P MAX"
168#define MOONS_QC_P2P_MAX_C "Maximum value of the P2P"
169
170#define MOONS_QC_P2P_AVG "ESO QC P2P AVG"
171#define MOONS_QC_P2P_AVG_C "Average value of the P2P"
172
173#define MOONS_QC_P2P_MED "ESO QC P2P MED"
174#define MOONS_QC_P2P_MED_C "Median value of the P2P"
175
176#define MOONS_QC_P2P_MAD "ESO QC P2P MAD"
177#define MOONS_QC_P2P_MAD_C "MAD value of the P2P"
178
179#define MOONS_QC_P2P_RMS "ESO QC P2P RMS"
180#define MOONS_QC_P2P_RMS_C "RMS value of the P2P"
181
182#define MOONS_QC_DETECT_NOISEMULT "ESO QC DETECT NOISEMULT"
183#define MOONS_QC_DETECT_NOISEMULT_C \
184 "Mult background noise factor kappa to detect fibres"
185#define MOONS_QC_MFLAT_MIN "ESO QC MFLAT MIN"
186#define MOONS_QC_MFLAT_MIN_C "Minimum value of the extracted flat"
187
188#define MOONS_QC_MFLAT_MAX "ESO QC MFLAT MAX"
189#define MOONS_QC_MFLAT_MAX_C "Maximum value of the extracted flat"
190
191#define MOONS_QC_MFLAT_AVG "ESO QC MFLAT AVG"
192#define MOONS_QC_MFLAT_AVG_C "Average value of the extracted flat"
193
194#define MOONS_QC_MFLAT_MED "ESO QC MFLAT MED"
195#define MOONS_QC_MFLAT_MED_C "Median value of the extracted flat"
196
197#define MOONS_QC_MFLAT_RMS "ESO QC MFLAT RMS"
198#define MOONS_QC_MFLAT_RMS_C "RMS value of the extracted flat"
199
200#define MOONS_QC_MFLAT_SN_MIN "ESO QC MFLAT SN MIN"
201#define MOONS_QC_MFLAT_SN_MIN_C "Minimum SNR in the extracted flats"
202
203#define MOONS_QC_MFLAT_SN_MAX "ESO QC MFLAT SN MAX"
204#define MOONS_QC_MFLAT_SN_MAX_C "Maximum SNR in the extracted flats"
205
206#define MOONS_QC_MFLAT_SN_MED "ESO QC MFLAT SN MED"
207#define MOONS_QC_MFLAT_SN_MED_C "Median SNR in the extracted flats"
208
209#define MOONS_QC_FIBTRANS_MIN "ESO QC FIBTRANS %s MIN"
210#define MOONS_QC_FIBTRANS_MIN_C "Minimum fibre relative transmission value"
211
212#define MOONS_QC_FIBTRANS_MAX "ESO QC FIBTRANS %s MAX"
213#define MOONS_QC_FIBTRANS_MAX_C "Maximum fibre relative transmission value"
214
215#define MOONS_QC_FIBTRANS_MED "ESO QC FIBTRANS %s MED"
216#define MOONS_QC_FIBTRANS_MED_C "Median fibre relative transmission value"
217
218#define MOONS_QC_FIBTRANS_REF "ESO QC SPECTRO%d FIBTRANS REF"
219#define MOONS_QC_FIBTRANS_REF_C "Reference fibre index for spectrograph %d"
220
221#define MOONS_QC_WAVECAL_CATLINE "ESO QC WAVECAL CATLINE"
222#define MOONS_QC_WAVECAL_CATLINE_C \
223 "Number of catalog lines in the considered range"
224
225#define MOONS_QC_WAVECAL_DETECTLINE "ESO QC WAVECAL DETECTLINE"
226#define MOONS_QC_WAVECAL_DETECTLINE_C "Total number of detected peaks"
227
228#define MOONS_QC_WAVECAL_FAILEDFIT "ESO QC WAVECAL FAILEDFIT"
229#define MOONS_QC_WAVECAL_FAILEDFIT_C "Total number of failed fitted peaks"
230
231#define MOONS_QC_WAVECAL_FITLINE "ESO QC WAVECAL FITLINE"
232#define MOONS_QC_WAVECAL_FITLINE_C "Total number of fitted peaks"
233
234#define MOONS_QC_WAVECAL_MATCHLINE "ESO QC WAVECAL MATCHLINE"
235#define MOONS_QC_WAVECAL_MATCHLINE_C "Total number of matched lines"
236
237#define MOONS_QC_WAVECAL_CLIPLINE "ESO QC WAVECAL CLIPLINE"
238#define MOONS_QC_WAVECAL_CLIPLINE_C "Total number of lines after sigma clip"
239
240#define MOONS_QC_WAVECAL_MONOTONOUS_SOLUTION \
241 "ESO QC WAVECAL MONOTONOUS SOLUTION"
242#define MOONS_QC_WAVECAL_MONOTONOUS_SOLUTION_C \
243 "True if the wavemap is monotonous"
244
245#define MOONS_QC_WAVE_MIN "ESO QC WAVE MIN"
246#define MOONS_QC_WAVE_MIN_C "Minimum of wavelength in wavemap"
247#define MOONS_QC_WAVE_MAX "ESO QC WAVE MAX"
248#define MOONS_QC_WAVE_MAX_C "Maximum of wavelength in wavemap"
249
250#define MOONS_QC_WAVECAL_VALIDFIBRE "ESO QC WAVECAL VALIDFIBRE"
251#define MOONS_QC_WAVECAL_VALIDFIBRE_C "Number of valid fibres"
252
253#define MOONS_QC_WAVECAL_DISP_MIN "ESO QC WAVECAL DISP MIN"
254#define MOONS_QC_WAVECAL_DISP_MIN_C "[nm/pix] minimum measured dispersion"
255
256#define MOONS_QC_WAVECAL_DISP_MAX "ESO QC WAVECAL DISP MAX"
257#define MOONS_QC_WAVECAL_DISP_MAX_C "[nm/pix] maximum measured dispersion"
258
259#define MOONS_QC_WAVECAL_RESOL_MED "ESO QC WAVECAL RESOL MED"
260#define MOONS_QC_WAVECAL_RESOL_MED_C "median resolution"
261
262#define MOONS_QC_WAVECAL_RESIDWAVE_MED "ESO QC WAVECAL RESIDWAVE MED"
263#define MOONS_QC_WAVECAL_RESIDWAVE_MED_C "[nm] median residual"
264
265#define MOONS_QC_WAVECAL_RESIDWAVE_STD "ESO QC WAVECAL RESIDWAVE STD"
266#define MOONS_QC_WAVECAL_RESIDWAVE_STD_C "[nm] residual dispersion"
267
268#define MOONS_QC_SNR_RANGE "ESO QC SNR RANGE"
269#define MOONS_QC_SNR_RANGE_C "pixels range where we compute snr"
270#define MOONS_QC_SNR_RANGE_FULL "FULL"
271#define MOONS_QC_SNR_RANGE_OHFREEZONE "OHFREEZONE"
272
273#define MOONS_QC_IS_LINEARCOR "ESO QC IS LINEARCOR"
274#define MOONS_QC_IS_LINEARCOR_C "TRUE if is corrected from linearity"
275#define MOONS_QC_IS_P2PCOR "ESO QC IS P2PCOR"
276#define MOONS_QC_IS_P2PCOR_C "TRUE if is corrected from P2P"
277#define MOONS_QC_IS_TELLCOR "ESO QC IS TELLCOR"
278#define MOONS_QC_IS_TELLCOR_C "TRUE if is corrected from telluric"
279
280/*-----------------------------------------------------------------------------
281 Functions prototypes
282 -----------------------------------------------------------------------------*/
283cpl_error_code moo_qc_set_frame_raw1(cpl_propertylist *plist, const char *name);
284cpl_error_code moo_qc_set_frame_raw2(cpl_propertylist *plist, const char *name);
285
286cpl_error_code moo_qc_set_ncrh(cpl_propertylist *plist, int ncrh);
287cpl_error_code moo_qc_set_ncrh_avg(cpl_propertylist *plist, float ncrh);
288cpl_error_code moo_qc_set_ncrh_tot(cpl_propertylist *plist, int ncrh);
289cpl_error_code moo_qc_set_ncom(cpl_propertylist *plist, int nb);
290int moo_qc_get_ncom(cpl_propertylist *plist);
291
292cpl_error_code moo_qc_set_mbias_avg(cpl_propertylist *plist, int i, double val);
293cpl_error_code moo_qc_set_mbias_med(cpl_propertylist *plist, int i, double val);
294cpl_error_code moo_qc_set_mbias_rms(cpl_propertylist *plist, int i, double val);
295cpl_error_code moo_qc_set_mbias_mad(cpl_propertylist *plist, int i, double val);
296cpl_error_code moo_qc_set_ron_raw(cpl_propertylist *plist, int i, double val);
297cpl_error_code
298moo_qc_set_ron_master(cpl_propertylist *plist, int i, double val);
299
300cpl_error_code moo_qc_set_mdark_nhot(cpl_propertylist *plist, int val);
301cpl_error_code
302moo_qc_set_mdark_normalise_factor(cpl_propertylist *plist, double val);
303cpl_error_code moo_qc_set_mdark_avg(cpl_propertylist *plist, double val);
304cpl_error_code moo_qc_set_mdark_med(cpl_propertylist *plist, double val);
305cpl_error_code moo_qc_set_mdark_rms(cpl_propertylist *plist, double val);
306cpl_error_code moo_qc_set_mdark_current(cpl_propertylist *plist, double val);
307
308
309cpl_error_code moo_qc_set_widthy_med(cpl_propertylist *plist, double val);
310cpl_error_code moo_qc_set_widthy_sd(cpl_propertylist *plist, double val);
311cpl_error_code moo_qc_set_widthy_avg(cpl_propertylist *plist, double val);
312cpl_error_code moo_qc_set_residy_med(cpl_propertylist *plist, double val);
313cpl_error_code moo_qc_set_residy_sd(cpl_propertylist *plist, double val);
314cpl_error_code moo_qc_set_residy_avg(cpl_propertylist *plist, double val);
315cpl_error_code moo_qc_set_fit_deg(cpl_propertylist *plist, int val);
316cpl_error_code moo_qc_set_noutlier_pts(cpl_propertylist *plist, int val);
317cpl_error_code moo_qc_set_noutlier_wid(cpl_propertylist *plist, int val);
318cpl_error_code moo_qc_set_nbadprofile(cpl_propertylist *plist, int val);
319cpl_error_code moo_qc_set_nbadpix(cpl_propertylist *plist, int val);
320
321cpl_error_code moo_qc_set_shifty_pts_med(cpl_propertylist *plist, double val);
322cpl_error_code moo_qc_set_shifty_pts_sd(cpl_propertylist *plist, double val);
323cpl_error_code moo_qc_set_shifty_pts_avg(cpl_propertylist *plist, double val);
324cpl_error_code moo_qc_set_shifty_fit_med(cpl_propertylist *plist, double val);
325cpl_error_code moo_qc_set_shifty_fit_sd(cpl_propertylist *plist, double val);
326cpl_error_code moo_qc_set_shifty_fit_avg(cpl_propertylist *plist, double val);
327cpl_error_code moo_qc_set_nmissingfib(cpl_propertylist *plist, int val);
328cpl_error_code
329moo_qc_set_missingfib(cpl_propertylist *plist, int num, const char *name);
330
331cpl_error_code moo_qc_set_p2p_min(cpl_propertylist *plist, double val);
332cpl_error_code moo_qc_set_p2p_max(cpl_propertylist *plist, double val);
333cpl_error_code moo_qc_set_p2p_avg(cpl_propertylist *plist, double val);
334cpl_error_code moo_qc_set_p2p_med(cpl_propertylist *plist, double val);
335cpl_error_code moo_qc_set_p2p_mad(cpl_propertylist *plist, double val);
336cpl_error_code moo_qc_set_p2p_rms(cpl_propertylist *plist, double val);
337
338cpl_error_code
339moo_qc_set_qc_detect_noisemult(cpl_propertylist *plist, double val);
340cpl_error_code moo_qc_set_mflat_min(cpl_propertylist *plist, double val);
341cpl_error_code moo_qc_set_mflat_max(cpl_propertylist *plist, double val);
342cpl_error_code moo_qc_set_mflat_avg(cpl_propertylist *plist, double val);
343cpl_error_code moo_qc_set_mflat_med(cpl_propertylist *plist, double val);
344cpl_error_code moo_qc_set_mflat_rms(cpl_propertylist *plist, double val);
345
346cpl_error_code moo_qc_set_mflat_sn_min(cpl_propertylist *plist, double val);
347cpl_error_code moo_qc_set_mflat_sn_max(cpl_propertylist *plist, double val);
348cpl_error_code moo_qc_set_mflat_sn_med(cpl_propertylist *plist, double val);
349
350cpl_error_code
351moo_qc_set_fibtrans_ref(cpl_propertylist *plist, int ntas, int val);
352cpl_error_code moo_qc_set_fibtrans_min(cpl_propertylist *plist,
354 double val);
355cpl_error_code moo_qc_set_fibtrans_max(cpl_propertylist *plist,
357 double val);
358cpl_error_code moo_qc_set_fibtrans_med(cpl_propertylist *plist,
360 double val);
361
362cpl_error_code moo_qc_set_wavecal_catline(cpl_propertylist *plist, int val);
363cpl_error_code moo_qc_set_wavecal_detectline(cpl_propertylist *plist, int val);
364cpl_error_code moo_qc_set_wavecal_failedfit(cpl_propertylist *plist, int val);
365cpl_error_code moo_qc_set_wavecal_fitline(cpl_propertylist *plist, int val);
366cpl_error_code moo_qc_set_wavecal_matchline(cpl_propertylist *plist, int val);
367cpl_error_code moo_qc_set_wavecal_clipline(cpl_propertylist *plist, int val);
368cpl_error_code moo_qc_set_wave_min(cpl_propertylist *plist, double val);
369cpl_error_code moo_qc_set_wave_max(cpl_propertylist *plist, double val);
370cpl_error_code
371moo_qc_set_wavecal_monotonous_solution(cpl_propertylist *plist, int val);
372
373cpl_error_code moo_qc_set_wavecal_validfibre(cpl_propertylist *plist, int val);
374cpl_error_code moo_qc_set_wavecal_disp_min(cpl_propertylist *plist, double val);
375cpl_error_code moo_qc_set_wavecal_disp_max(cpl_propertylist *plist, double val);
376cpl_error_code
377moo_qc_set_wavecal_resol_med(cpl_propertylist *plist, double val);
378cpl_error_code
379moo_qc_set_wavecal_residwave_med(cpl_propertylist *plist, double val);
380cpl_error_code
381moo_qc_set_wavecal_residwave_std(cpl_propertylist *plist, double val);
382
383cpl_error_code moo_qc_set_snr_range(cpl_propertylist *plist, const char *range);
384
385cpl_error_code
386moo_qc_set_is_linearcor(cpl_propertylist *plist, cpl_boolean val);
387cpl_error_code moo_qc_set_is_p2pcor(cpl_propertylist *plist, cpl_boolean val);
388cpl_error_code moo_qc_set_is_tellcor(cpl_propertylist *plist, cpl_boolean val);
389
390#endif
enum _moo_detector_type_ moo_detector_type
The type code type.
Definition: moo_detector.h:64
cpl_error_code moo_qc_set_p2p_max(cpl_propertylist *plist, double val)
Set the QC.P2P.MAX value.
Definition: moo_qc.c:1186
cpl_error_code moo_qc_set_mdark_normalise_factor(cpl_propertylist *plist, double val)
Set the QC.MDARK.NORMALISE.FACTOR value.
Definition: moo_qc.c:481
cpl_error_code moo_qc_set_ron_raw(cpl_propertylist *plist, int i, double val)
Set the QC.RON.RAW value.
Definition: moo_qc.c:344
cpl_error_code moo_qc_set_snr_range(cpl_propertylist *plist, const char *range)
Set the QC.SNR.RANGE value.
Definition: moo_qc.c:2238
cpl_error_code moo_qc_set_wavecal_residwave_std(cpl_propertylist *plist, double val)
Set the QC.WAVECAL.RESIDWAVE.STD value.
Definition: moo_qc.c:2185
cpl_error_code moo_qc_set_fibtrans_ref(cpl_propertylist *plist, int ntas, int val)
Set the QC.SPECTRO.FIBTRANS.REF.value.
Definition: moo_qc.c:1650
cpl_error_code moo_qc_set_widthy_sd(cpl_propertylist *plist, double val)
Set the QC.WIDTHY.STD value.
Definition: moo_qc.c:711
cpl_error_code moo_qc_set_p2p_med(cpl_propertylist *plist, double val)
Set the QC.P2P.MED value.
Definition: moo_qc.c:1244
cpl_error_code moo_qc_set_shifty_fit_sd(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.FIT.SD value.
Definition: moo_qc.c:913
cpl_error_code moo_qc_set_wavecal_validfibre(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.VALIDFIBRE value.
Definition: moo_qc.c:2030
cpl_error_code moo_qc_set_wavecal_catline(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.CATLINE value.
Definition: moo_qc.c:1826
cpl_error_code moo_qc_set_wavecal_monotonous_solution(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.MONOTONOUS.SOLUTION value.
Definition: moo_qc.c:2000
cpl_error_code moo_qc_set_wavecal_disp_max(cpl_propertylist *plist, double val)
Set the QC.WAVECAL.DISP.MAX value.
Definition: moo_qc.c:2092
cpl_error_code moo_qc_set_wavecal_matchline(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.MATCHLINE value.
Definition: moo_qc.c:1942
cpl_error_code moo_qc_set_widthy_med(cpl_propertylist *plist, double val)
Set the QC.WIDTHY.MED value.
Definition: moo_qc.c:682
cpl_error_code moo_qc_set_mbias_mad(cpl_propertylist *plist, int i, double val)
Set the QC.MBIAS.MAD value.
Definition: moo_qc.c:303
cpl_error_code moo_qc_set_nbadprofile(cpl_propertylist *plist, int val)
Set the QC.NBADPROFILE value.
Definition: moo_qc.c:1029
cpl_error_code moo_qc_set_noutlier_wid(cpl_propertylist *plist, int val)
Set the QC.NOUTLIER.WID value.
Definition: moo_qc.c:1000
cpl_error_code moo_qc_set_mdark_nhot(cpl_propertylist *plist, int val)
Set the QC.MDARK.NHOT value.
Definition: moo_qc.c:424
cpl_error_code moo_qc_set_p2p_min(cpl_propertylist *plist, double val)
Set the QC.P2P.MIN value.
Definition: moo_qc.c:1157
cpl_error_code moo_qc_set_is_linearcor(cpl_propertylist *plist, cpl_boolean val)
Set the QC.IS.LINEARCOR value.
Definition: moo_qc.c:2381
cpl_error_code moo_qc_set_mflat_max(cpl_propertylist *plist, double val)
Set the QC.MFLAT.MAX value.
Definition: moo_qc.c:1532
cpl_error_code moo_qc_set_fibtrans_med(cpl_propertylist *plist, moo_detector_type type, double val)
Set the QC.FIBTRANS.MED value.
Definition: moo_qc.c:1786
cpl_error_code moo_qc_set_p2p_mad(cpl_propertylist *plist, double val)
Set the QC.P2P.MAD value.
Definition: moo_qc.c:1273
cpl_error_code moo_qc_set_mdark_rms(cpl_propertylist *plist, double val)
Set the QC.MDARK.RMS value.
Definition: moo_qc.c:538
cpl_error_code moo_qc_set_mflat_min(cpl_propertylist *plist, double val)
Set the QC.MFLAT.MIN value.
Definition: moo_qc.c:1503
cpl_error_code moo_qc_set_mflat_sn_max(cpl_propertylist *plist, double val)
Set the QC.MFLAT.SN.MAX value.
Definition: moo_qc.c:1358
cpl_error_code moo_qc_set_wavecal_failedfit(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.FAILEDFIT value.
Definition: moo_qc.c:1884
cpl_error_code moo_qc_set_mflat_sn_min(cpl_propertylist *plist, double val)
Set the QC.MFLAT.SN.MIN value.
Definition: moo_qc.c:1329
cpl_error_code moo_qc_set_ncrh(cpl_propertylist *plist, int ncrh)
Set the QC.NCRH value.
Definition: moo_qc.c:62
cpl_error_code moo_qc_set_residy_med(cpl_propertylist *plist, double val)
Set the QC.RESIDY.MED value.
Definition: moo_qc.c:596
cpl_error_code moo_qc_set_shifty_pts_avg(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.PTS.AVG value.
Definition: moo_qc.c:797
cpl_error_code moo_qc_set_mdark_avg(cpl_propertylist *plist, double val)
Set the QC.MDARK.AVG value.
Definition: moo_qc.c:453
cpl_error_code moo_qc_set_wavecal_clipline(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.CLIPLINE value.
Definition: moo_qc.c:1971
cpl_error_code moo_qc_set_wavecal_residwave_med(cpl_propertylist *plist, double val)
Set the QC.WAVECAL.RESIDWAVE.MED value.
Definition: moo_qc.c:2154
cpl_error_code moo_qc_set_wavecal_disp_min(cpl_propertylist *plist, double val)
Set the QC.WAVECAL.DISP.MIN value.
Definition: moo_qc.c:2061
cpl_error_code moo_qc_set_widthy_avg(cpl_propertylist *plist, double val)
Set the QC.WIDTH.AVG value.
Definition: moo_qc.c:739
cpl_error_code moo_qc_set_ncrh_tot(cpl_propertylist *plist, int ncrh)
Set the QC.NCRH.TOT value.
Definition: moo_qc.c:91
int moo_qc_get_ncom(cpl_propertylist *plist)
Get the QC.NCOM value.
Definition: moo_qc.c:2217
cpl_error_code moo_qc_set_residy_avg(cpl_propertylist *plist, double val)
Set the QC.RESIDY.AVG value.
Definition: moo_qc.c:653
cpl_error_code moo_qc_set_missingfib(cpl_propertylist *plist, int num, const char *name)
Set the QC.MISSINGFIB value.
Definition: moo_qc.c:1118
cpl_error_code moo_qc_set_mbias_med(cpl_propertylist *plist, int i, double val)
Set the QC.MBIAS.MED value.
Definition: moo_qc.c:221
cpl_error_code moo_qc_set_shifty_fit_avg(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.FIT.AVG value.
Definition: moo_qc.c:884
cpl_error_code moo_qc_set_wavecal_resol_med(cpl_propertylist *plist, double val)
Set the QC.WAVECAL.RESOL.MED value.
Definition: moo_qc.c:2123
cpl_error_code moo_qc_set_frame_raw1(cpl_propertylist *plist, const char *name)
Set the QC.FRAME.RAW1 value.
Definition: moo_qc.c:2280
cpl_error_code moo_qc_set_nmissingfib(cpl_propertylist *plist, int val)
Set the QC.NMISSINGFIB value.
Definition: moo_qc.c:1087
cpl_error_code moo_qc_set_wave_min(cpl_propertylist *plist, double val)
Set the QC.WAVE.MIN value.
Definition: moo_qc.c:1416
cpl_error_code moo_qc_set_ncrh_avg(cpl_propertylist *plist, float ncrh)
Set the QC.NCRH value.
Definition: moo_qc.c:120
cpl_error_code moo_qc_set_fibtrans_min(cpl_propertylist *plist, moo_detector_type type, double val)
Set the QC.FIBTRANS.MIN value.
Definition: moo_qc.c:1700
cpl_error_code moo_qc_set_mdark_current(cpl_propertylist *plist, double val)
Set the QC.MEAN.DARK.CURRENT value.
Definition: moo_qc.c:567
cpl_error_code moo_qc_set_ron_master(cpl_propertylist *plist, int i, double val)
Set the QC.RON.MASTER value.
Definition: moo_qc.c:385
cpl_error_code moo_qc_set_mflat_rms(cpl_propertylist *plist, double val)
Set the QC.MFLAT.RMS value.
Definition: moo_qc.c:1619
cpl_error_code moo_qc_set_ncom(cpl_propertylist *plist, int nb)
Set the QC.NCOM value.
Definition: moo_qc.c:149
cpl_error_code moo_qc_set_is_p2pcor(cpl_propertylist *plist, cpl_boolean val)
Set the QC.IS.P2PCOR value.
Definition: moo_qc.c:2416
cpl_error_code moo_qc_set_qc_detect_noisemult(cpl_propertylist *plist, double val)
Set the QC.DETECT.NOISEMULT value.
Definition: moo_qc.c:1474
cpl_error_code moo_qc_set_mbias_avg(cpl_propertylist *plist, int i, double val)
Set the QC.MBIAS.AVG value.
Definition: moo_qc.c:180
cpl_error_code moo_qc_set_shifty_pts_sd(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.PTS.SD value.
Definition: moo_qc.c:826
cpl_error_code moo_qc_set_fit_deg(cpl_propertylist *plist, int val)
Set the QC.RESIDY.AVG value.
Definition: moo_qc.c:942
cpl_error_code moo_qc_set_wavecal_detectline(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.DETECTLINE value.
Definition: moo_qc.c:1855
cpl_error_code moo_qc_set_wavecal_fitline(cpl_propertylist *plist, int val)
Set the QC.WAVECAL.FITLINE value.
Definition: moo_qc.c:1913
cpl_error_code moo_qc_set_p2p_avg(cpl_propertylist *plist, double val)
Set the QC.P2P.AVG value.
Definition: moo_qc.c:1215
cpl_error_code moo_qc_set_mflat_sn_med(cpl_propertylist *plist, double val)
Set the QC.MFLAT.SN.MED value.
Definition: moo_qc.c:1387
cpl_error_code moo_qc_set_p2p_rms(cpl_propertylist *plist, double val)
Set the QC.P2P.RMS value.
Definition: moo_qc.c:1301
cpl_error_code moo_qc_set_mflat_med(cpl_propertylist *plist, double val)
Set the QC.MFLAT.MED value.
Definition: moo_qc.c:1590
cpl_error_code moo_qc_set_nbadpix(cpl_propertylist *plist, int val)
Set the QC.NBADPIX value.
Definition: moo_qc.c:1058
cpl_error_code moo_qc_set_frame_raw2(cpl_propertylist *plist, const char *name)
Set the QC.FRAME.RAW2 value.
Definition: moo_qc.c:2331
cpl_error_code moo_qc_set_noutlier_pts(cpl_propertylist *plist, int val)
Set the QC.NOUTLIER.PTS value.
Definition: moo_qc.c:971
cpl_error_code moo_qc_set_mdark_med(cpl_propertylist *plist, double val)
Set the QC.MDARK.MED value.
Definition: moo_qc.c:509
cpl_error_code moo_qc_set_is_tellcor(cpl_propertylist *plist, cpl_boolean val)
Set the QC.IS.TELLCOR value.
Definition: moo_qc.c:2451
cpl_error_code moo_qc_set_fibtrans_max(cpl_propertylist *plist, moo_detector_type type, double val)
Set the QC.FIBTRANS.MAX value.
Definition: moo_qc.c:1743
cpl_error_code moo_qc_set_mbias_rms(cpl_propertylist *plist, int i, double val)
Set the QC.MBIAS.AVG value.
Definition: moo_qc.c:262
cpl_error_code moo_qc_set_shifty_pts_med(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.PTS.MED value.
Definition: moo_qc.c:768
cpl_error_code moo_qc_set_shifty_fit_med(cpl_propertylist *plist, double val)
Set the QC.SHIFTY.FIT.MED value.
Definition: moo_qc.c:855
cpl_error_code moo_qc_set_residy_sd(cpl_propertylist *plist, double val)
Set the QC.RESIDY.STD value.
Definition: moo_qc.c:625
cpl_error_code moo_qc_set_wave_max(cpl_propertylist *plist, double val)
Set the QC.WAVE.MAX value.
Definition: moo_qc.c:1445
cpl_error_code moo_qc_set_mflat_avg(cpl_propertylist *plist, double val)
Set the QC.MFLAT.AVG value.
Definition: moo_qc.c:1561