ERIS Pipeline Reference Manual 1.8.15
sc_lines.h
Go to the documentation of this file.
1/*
2 * This file is part of the SKYCORR software package.
3 * Copyright (C) 2009-2013 European Southern Observatory
4 *
5 * This programme 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 programme 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 programme. If not, see <http://www.gnu.org/licenses/>.
17 */
18
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39/*****************************************************************************
40 * INCLUDES *
41 ****************************************************************************/
42
43/* Config header */
44
45#ifdef HAVE_CONFIG_H
46#include <config.h>
47#endif
48
49/* Sky correction headers */
50
51#include <sc_basic.h>
52
53/*****************************************************************************
54 * DEFINES *
55 ****************************************************************************/
56
57#ifndef SC_LINES_H
58#define SC_LINES_H
59
60/* Definition of constants */
61
63#define SC_ERAD 6371.
64
65/*****************************************************************************
66 * PROTOTYPES *
67 ****************************************************************************/
68
69/* Declaration of functions */
70
71cpl_error_code sc_lines(cpl_table *groups, cpl_parameterlist *parlist);
72cpl_error_code sc_lines_readlist(cpl_table *groups,
73 const cpl_parameterlist *parlist);
74cpl_error_code sc_lines_getmodelbins(cpl_parameterlist *parlist);
75cpl_error_code sc_lines_readsolflux(cpl_parameterlist *parlist);
76cpl_error_code sc_lines_readvarpar(cpl_array *varpar,
77 cpl_parameterlist *parlist);
78cpl_error_code sc_lines_scalelines(cpl_table *groups, const cpl_array *varpar,
79 const cpl_parameterlist *parlist);
80cpl_error_code sc_lines_vactoair(cpl_table *groups,
81 const cpl_parameterlist *parlist);
82
83#endif /* SC_LINES_H */
84
85#ifdef __cplusplus
86}
87#endif
88
cpl_error_code sc_lines(cpl_table *groups, cpl_parameterlist *parlist)
Definition: sc_lines.c:48
cpl_error_code sc_lines_vactoair(cpl_table *groups, const cpl_parameterlist *parlist)
Definition: sc_lines.c:816
cpl_error_code sc_lines_readlist(cpl_table *groups, const cpl_parameterlist *parlist)
Definition: sc_lines.c:107
cpl_error_code sc_lines_readsolflux(cpl_parameterlist *parlist)
Definition: sc_lines.c:417
cpl_error_code sc_lines_readvarpar(cpl_array *varpar, cpl_parameterlist *parlist)
Definition: sc_lines.c:602
cpl_error_code sc_lines_scalelines(cpl_table *groups, const cpl_array *varpar, const cpl_parameterlist *parlist)
Definition: sc_lines.c:745
cpl_error_code sc_lines_getmodelbins(cpl_parameterlist *parlist)
Definition: sc_lines.c:298