X-shooter Pipeline Reference Manual 3.8.15
xsh_qc_handling.h
Go to the documentation of this file.
1/*
2 * This file is part of the ESO X-shooter Pipeline
3 * Copyright (C) 2006 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, 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18 */
19
20/*
21 * $Author: amodigli $
22 * $Date: 2009-09-27 10:37:36 $
23 * $Revision: 1.9 $
24 */
25
26#ifndef XSH_QC_HANDLING_H
27#define XSH_QC_HANDLING_H
28
29#include "xsh_data_instrument.h"
30#include "xsh_data_pre.h"
31
32
33
34
35typedef struct {
36 const char *kw_name;
37 const char * kw_recipes;
38 const char * kw_recipes_tbw;
39 const char * kw_function;
40 const char * kw_help ;
41 cpl_type kw_type ;
42 const char * arms ;
44 const char * pro_catg ;
46
47qc_description * xsh_get_qc_desc_by_kw( const char *kw ) ;
48qc_description * xsh_get_qc_desc_by_recipe( const char *recipe,
49 qc_description *prev ) ;
51 qc_description *prev ) ;
52
53qc_description * xsh_get_qc_desc_by_pro_catg( const char * pro_catg ) ;
54
56int xsh_is_qc_for_arm( const char * arm, qc_description * pqc ) ;
57int xsh_is_qc_for_pro_catg( const char * pro_catg, qc_description * pqc ) ;
58
59void xsh_add_qc_crh (xsh_pre* pre, int nbcrh, int nframes);
60
61
62#endif
static xsh_instrument * instrument
int xsh_is_qc_for_arm(const char *arm, qc_description *pqc)
qc_description * xsh_get_qc_desc_by_pro_catg(const char *pro_catg)
int xsh_qc_in_recipe(qc_description *pqc, xsh_instrument *instrument)
qc_description * xsh_get_qc_desc_by_recipe(const char *recipe, qc_description *prev)
int xsh_is_qc_for_pro_catg(const char *pro_catg, qc_description *pqc)
qc_description * xsh_get_qc_desc_by_function(char *function, qc_description *prev)
void xsh_add_qc_crh(xsh_pre *pre, int nbcrh, int nframes)
qc_description * xsh_get_qc_desc_by_kw(const char *kw)
const char * kw_recipes
const char * kw_recipes_tbw
const char * pro_catg
const char * arms
const char * kw_help
const char * kw_name
const char * kw_function