CR2RE Pipeline Reference Manual 1.6.2
cr2res_photom.h
1/*
2 * This file is part of the CR2RES Pipeline
3 * Copyright (C) 2002,2003 European Southern Observatory
4 *
5 * This program 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, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
18 */
19
20#ifndef CR2RES_PHOTOM_H
21#define CR2RES_PHOTOM_H
22
23/*-----------------------------------------------------------------------------
24 Includes
25 -----------------------------------------------------------------------------*/
26
27#include <cpl.h>
28
29/*-----------------------------------------------------------------------------
30 Define
31 -----------------------------------------------------------------------------*/
32
33#define CR2RES_PHOTOM_STARSDIST_ARCSEC 30.0
34
35/*-----------------------------------------------------------------------------
36 Prototypes
37 -----------------------------------------------------------------------------*/
38
40 const cpl_table * extr,
41 const char * std_star_file,
42 const char * setting,
43 double ra,
44 double dec,
45 double gain,
46 double exptime,
47 int display,
48 int display_order,
49 int display_trace,
50 cpl_table ** throughput,
51 cpl_propertylist ** ext_plist) ;
52
53cpl_bivector * cr2res_photom_conv_get_star(
54 const cpl_table * tab,
55 double ra,
56 double dec) ;
57
58
59#endif
cpl_bivector * cr2res_photom_conv_get_star(const cpl_table *tab, double ra, double dec)
Get the wished std star photospheric flux.
int cr2res_photom_engine(const cpl_table *extr, const char *std_star_file, const char *setting, double ra, double dec, double gain, double exptime, int display, int display_order, int display_trace, cpl_table **throughput, cpl_propertylist **ext_plist)
Compute the conversion/throughput/sensitivity high level.