ERIS Pipeline Reference Manual 1.9.2
eris_ifu_efficiency_response.h
1/* $Id$
2 *
3 * This file is part of the ERIS Pipeline
4 * Copyright (C) 2002,2003 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21#ifndef ERISP_ERIS_IFU_EFFICIENCY_RESPONSE_H_
22#define ERISP_ERIS_IFU_EFFICIENCY_RESPONSE_H_
23
24#ifdef HAVE_CONFIG_H
25#include <config.h>
26#endif
27
28/*-----------------------------------------------------------------------------
29 Includes
30 -----------------------------------------------------------------------------*/
31#include <cpl.h>
32#include <hdrl.h>
33
34int eris_can_compute_response(cpl_frameset* sof);
35
36int eris_can_flux_calibrate(cpl_frameset* sof);
37
38int eris_can_compute_efficiency(cpl_frameset* sof);
39
40cpl_boolean eris_can_extract(cpl_frameset* sof);
41
42cpl_table*
43eris_efficiency_compute(cpl_frame* frm_sci, cpl_frame* frm_cat,
44 cpl_frame* frm_atmext, cpl_frameset* frameset,
45 const cpl_parameterlist* parlist, const char* recipe_name);
46
47cpl_error_code
48eris_response_compute(const char* plugin_id, const cpl_parameterlist* config,
49 cpl_frameset* ref_set,cpl_frameset* sof);
50
51cpl_error_code eris_ifu_efficiency_response(
52 cpl_frameset * frameset,
53 const cpl_parameterlist * parlist,
54 const char* recipe_name);
55
56cpl_error_code
57eris_flux_calibrate_spectra(const char* pipefile_prefix, const char* plugin_id,
58 const cpl_parameterlist* config, cpl_frameset* ref_set,
59 cpl_frameset* sof);
60
61cpl_error_code
62eris_flux_calibrate_cube( const char* procatg, const char* pipefile_prefix,
63 const char* plugin_id, const cpl_parameterlist* config,
64 /*cpl_frameset* ref_set, */cpl_frameset* sof);
65cpl_error_code
66eris_flux_calibrate_cube2(const char* procatg, const char* pipefile_prefix,
67 const char* plugin_id, const cpl_parameterlist* parlist,
68 /*cpl_frameset* ref_set, */cpl_frameset* sof);
69#endif