X-shooter Pipeline Reference Manual 3.8.15
xsh_molecfit_calctrans.h
Go to the documentation of this file.
1/*
2 * This file is part of the ESO X-Shooter Pipeline
3 * Copyright (C) 2001-2018 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 XSH_MOLECFIT_MODEL_H
21#define XSH_MOLECFIT_MODEL_H
22/*----------------------------------------------------------------------------*/
26/*----------------------------------------------------------------------------*/
27
28/* Include both telluriccorr *and* our extra wrapper codes, since
29 we deliberately don't want to have them (pre-included) in telluriccorr.h
30 to ensure telluriccorr is still comptabile with molecfit_model
31*/
32
33#include <string.h>
34#include <math.h>
35
36#include <cpl.h>
37
38//#include <telluriccorr.h>
39#include "mf_wrap.h"
40#include "mf_wrap_calc.h"
41#include "mf_spectrum.h"
42#include "xsh_molecfit_utils.h"
43#include <telluriccorr.h>
44
45/*----------------------------------------------------------------------------*/
49/*----------------------------------------------------------------------------*/
50
51/*----------------------------------------------------------------------------*/
55/*----------------------------------------------------------------------------*/
56
57
58//#define XSHOOTER_INPUT_DATA_FLUX_COLUMN "Flux"
59
60//descriptions for the input parameters...
61//by default grab the DESC already defined in molecfit_config or telluriccorr
62//in case we want to define our own xshooter specific help
63
64#define XSH_MOLECFIT_PARAMETER_USE_INPUT_KERNEL_DESC MOLECFIT_PARAMETER_USE_INPUT_KERNEL_DESC
65#define XSH_MF_PARAMETERS_APPLY_WLC_CORR_DESC MF_PARAMETERS_APPLY_WLC_WORR_DESC
66#define XSH_MF_PARAMETERS_SCALE_TO_OBS_PWV_DESC MF_PARAMETERS_SCALE_TO_OBS_PWV_DESC
67#define XSH_MF_PARAMETERS_USE_MOLEC_DATABASE_DESC MF_PARAMETERS_USE_MOLEC_DATABASE_DESC
68
69
70
71/*----------------------------------------------------------------------------*/
75/*----------------------------------------------------------------------------*/
76
77/*----------------------------------------------------------------------------*/
81/*----------------------------------------------------------------------------*/
82
83/*----------------------------------------------------------------------------*/
87/*----------------------------------------------------------------------------*/
88
89
90/*----------------------------------------------------------------------------*/
94/*----------------------------------------------------------------------------*/
95
96int xsh_molecfit_calctrans(cpl_frameset *frameset, const cpl_parameterlist *parlist);
97
98cpl_error_code xsh_molecfit_calctrans_config(cpl_frameset *frameset,
99 const cpl_parameterlist *parlist,
100 cpl_parameterlist* ilist,
101 cpl_parameterlist* iframelist);
102
103cpl_error_code xsh_molecfit_setup_frameset(cpl_frameset* frameset,cpl_parameterlist* list,const char* arm,const char* input_name);
104
105
106#endif /*XSH_MOLECFIT_MODEL_H*/
cpl_error_code xsh_molecfit_calctrans_config(cpl_frameset *frameset, const cpl_parameterlist *parlist, cpl_parameterlist *ilist, cpl_parameterlist *iframelist)
Build the list of available plugins, for this module.
cpl_error_code xsh_molecfit_setup_frameset(cpl_frameset *frameset, cpl_parameterlist *list, const char *arm, const char *input_name)
int xsh_molecfit_calctrans(cpl_frameset *frameset, const cpl_parameterlist *parlist)