X-shooter Pipeline Reference Manual 3.8.15
xsh_model_io.h
Go to the documentation of this file.
1/* $Id: xsh_model_io.h,v 1.7 2011-12-02 14:15:28 amodigli Exp $
2 *
3 * This file is part of the ESO X-shooter Pipeline
4 * Copyright (C) 2006 European Southern Observatory
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */
20
21/*
22 * $Author: amodigli $
23 * $Date: 2011-12-02 14:15:28 $
24 * $Revision: 1.7 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef XSH_MODEL_IO_H
29#define XSH_MODEL_IO_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36
37#include "xsh_model_kernel.h"
38
39/*-----------------------------------------------------------------------------
40 Define
41 -----------------------------------------------------------------------------*/
42
43#define DEG2RAD 0.017453292519943295
44
45/*-----------------------------------------------------------------------------
46 Prototypes
47 -----------------------------------------------------------------------------*/
48
50cpl_error_code xsh_model_config_load_best(cpl_frame *, xsh_xs_3 *) ;
51int xsh_model_readfits(double * abest, double * amin, double * amax,
52 int * aname, const char *, const char *,
54cpl_table * xsh_model_io_output_cfg( xsh_xs_3 *p_xs_3);
55cpl_table * xsh_load_table_check(const char *, const char *) ;
57#endif
int xsh_model_readfits(double *abest, double *amin, double *amax, int *aname, const char *, const char *, xsh_xs_3 *, ann_all_par *)
Definition: xsh_model_io.c:570
cpl_error_code xsh_model_config_load_best(cpl_frame *, xsh_xs_3 *)
Load the config model table and fill the struct.
Definition: xsh_model_io.c:174
void xsh_model_io_dump(xsh_xs_3 *)
Definition: xsh_model_io.c:60
cpl_table * xsh_model_io_output_cfg(xsh_xs_3 *p_xs_3)
cpl_table * xsh_load_table_check(const char *, const char *)
void xsh_model_io_output_cfg_txt(xsh_xs_3 *p_xs_3)