IIINSTRUMENT Pipeline Reference Manual 4.6.1
visir_spc_photom.h
1/* $Id: visir_spc_photom.h,v 1.21 2012-08-21 09:56:14 jtaylor Exp $
2 *
3 * This file is part of the VISIR 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 02111-1307 USA
19 */
20
21/*
22 * $Author: jtaylor $
23 * $Date: 2012-08-21 09:56:14 $
24 * $Revision: 1.21 $
25 * $Name: not supported by cvs2svn $
26 */
27
28#ifndef VISIR_SPC_PHOTOM_H
29#define VISIR_SPC_PHOTOM_H
30
31/*-----------------------------------------------------------------------------
32 Includes
33 -----------------------------------------------------------------------------*/
34
35#include <cpl.h>
36
37#include "visir_spectro.h"
38#include "visir_pfits.h"
39#include "visir_utils.h"
40
41/*-----------------------------------------------------------------------------
42 Static variables
43 -----------------------------------------------------------------------------*/
44
45/*-----------------------------------------------------------------------------
46 Prototypes
47 -----------------------------------------------------------------------------*/
48
49cpl_error_code
50visir_spc_phot_sensit(const irplib_framelist * rawframes,
51 const visir_spc_config * pconfig,
52 const cpl_propertylist * plist,
53 const char * star_cat,
54 cpl_image ** pweight2d,
55 cpl_propertylist * qclist,
56 cpl_table * spc_table,
57 const visir_spc_resol resol,
58 const char * dit_key);
59
60cpl_table *
61visir_spc_phot_sensit_from_image(cpl_image **, const irplib_framelist *,
62 const visir_spc_config *, const char *,
63 const char *, const char *, cpl_image **,
64 cpl_propertylist * qclist,
65 cpl_boolean, double , double, double, double,
66 const visir_spc_resol,
67 const char * dit_key);
68
69#endif
cpl_error_code visir_spc_phot_sensit(const irplib_framelist *rawframes, const visir_spc_config *pconfig, const cpl_propertylist *plist, const char *star_cat, cpl_image **pweight2d, cpl_propertylist *qclist, cpl_table *spc_table, const visir_spc_resol resol, const char *dit_key)
Compute the sensitivity from an extracted spectrum.
cpl_table * visir_spc_phot_sensit_from_image(cpl_image **, const irplib_framelist *, const visir_spc_config *, const char *, const char *, const char *, cpl_image **, cpl_propertylist *qclist, cpl_boolean, double, double, double, double, const visir_spc_resol, const char *dit_key)
Extract spectrum from image and compute sensitivity.