X-shooter Pipeline Reference Manual 3.8.15
xsh_data_atmos_ext.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 library 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: 2012-01-19 12:41:42 $
23 * $Revision: 1.7 $
24 */
25
26#if !defined(XSH_DATA_ATMOS_EXT_H)
27#define XSH_DATA_ATMOS_EXT_H
28
29
30#include <cpl.h>
31
32#define XSH_ATMOS_EXT_LIST_COLNAME_WAVELENGTH "LAMBDA"
33#define XSH_ATMOS_EXT_LIST_COLNAME_K "EXTINCTION"
34#define XSH_ATMOS_EXT_LIST_COLNAME_OLD "LA_SILLA"
35
36typedef struct {
37 int size ;
38 cpl_propertylist * header ;
39 double * lambda ;
40 double * K ;
42
43xsh_atmos_ext_list * xsh_atmos_ext_list_load( cpl_frame * ext_frame ) ;
48cpl_error_code
49xsh_atmos_ext_dump_ascii( xsh_atmos_ext_list * list, const char* filename );
50
51#endif
int size
cpl_propertylist * header
xsh_atmos_ext_list * xsh_atmos_ext_list_create(int size)
double * xsh_atmos_ext_list_get_K(xsh_atmos_ext_list *list)
cpl_error_code xsh_atmos_ext_dump_ascii(xsh_atmos_ext_list *list, const char *filename)
xsh_atmos_ext_list * xsh_atmos_ext_list_load(cpl_frame *ext_frame)
void xsh_atmos_ext_list_free(xsh_atmos_ext_list **list)
double * xsh_atmos_ext_list_get_lambda(xsh_atmos_ext_list *list)