SINFONI Pipeline Reference Manual  2.6.0
sinfo_pfits.h
1 /* $Id: sinfo_pfits.h,v 1.6 2012-03-22 15:26:10 amodigli Exp $
2  *
3  * This file is part of the NACO 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 /*
22  * $Author: amodigli $
23  * $Date: 2012-03-22 15:26:10 $
24  * $Revision: 1.6 $
25  * $Name: not supported by cvs2svn $
26  */
27 
28 #ifndef SINFO_PFITS_H
29 #define SINFO_PFITS_H
30 
31 /*-----------------------------------------------------------------------------
32  Includes
33  -----------------------------------------------------------------------------*/
34 #include <cpl.h>
35 
36 /*
37 #include <sinfo_dfs.h>
38 */
39 
40 /*-----------------------------------------------------------------------------
41  Functions prototypes
42  -----------------------------------------------------------------------------*/
43 
44 CPL_BEGIN_DECLS
45 const char * sinfo_pfits_get_rec1raw1name(const cpl_propertylist * plist) ;
46 const char * sinfo_pfits_get_band(const cpl_propertylist * plist);
47 float sinfo_pfits_get_pixelscale (const char * filename );
48 double sinfo_pfits_get_targ_alpha(const cpl_propertylist * plist);
49 double sinfo_pfits_get_targ_delta(const cpl_propertylist * plist);
50 
51 /*
52 char * sinfo_pfits_get_rec1raw1name(const char * filename) ;
53 */
54 int sinfo_pfits_get_expno(const cpl_propertylist *) ;
55 double sinfo_pfits_get_exptime(const char *) ;
56 char * sinfo_pfits_get_mode(const cpl_propertylist *) ;
57 
58 double sinfo_pfits_get_pixscale(const cpl_propertylist * plist);
59 double sinfo_pfits_get_exp_time(const cpl_propertylist* plist);
60 double sinfo_pfits_get_DEC(const cpl_propertylist * plist);
61 double sinfo_pfits_get_posangle(const cpl_propertylist * plist);
62 int sinfo_pfits_get_rom(const cpl_propertylist * propertylist);
63 const char * sinfo_pfits_get_ncorrs_name(const cpl_propertylist * plist) ;
64 const char * sinfo_pfits_get_date_obs(const cpl_propertylist * plist) ;
65 const char * sinfo_pfits_get_ins_setup(const cpl_propertylist * plist);
66 double sinfo_pfits_get_airmass_start(const cpl_propertylist * plist) ;
67 const char * sinfo_pfits_get_templateid(const cpl_propertylist * plist) ;
68 double sinfo_pfits_get_dit(const cpl_propertylist * plist) ;
69 int sinfo_pfits_get_ndit(const cpl_propertylist * plist) ;
70 const char * sinfo_pfits_get_dpr_catg(const cpl_propertylist * plist) ;
71 const char * sinfo_pfits_get_dpr_tech(const cpl_propertylist * plist) ;
72 const char * sinfo_pfits_get_dpr_type(const cpl_propertylist * plist) ;
73 const char * sinfo_pfits_get_arcfile(const cpl_propertylist * plist) ;
74 double sinfo_pfits_get_ditndit(const char* name);
75 /* not used */
76 int sinfo_pfits_get_nodpos(const cpl_propertylist *) ;
77 double sinfo_pfits_get_ra(const cpl_propertylist *) ;
78 double sinfo_pfits_get_resol(const cpl_propertylist *) ;
79 const char * sinfo_pfits_get_starname(const cpl_propertylist *) ;
80 const char * sinfo_pfits_get_obs_id(const cpl_propertylist *) ;
81 const char * sinfo_pfits_get_instrument(const cpl_propertylist *) ;
82 const char * sinfo_pfits_get_filter_spec(const cpl_propertylist *) ;
83 const char * sinfo_pfits_get_filter_im(const cpl_propertylist *) ;
84 const char * sinfo_pfits_get_frame_type(const cpl_propertylist *) ;
85 int sinfo_pfits_get_numbexp(const cpl_propertylist *) ;
86 double sinfo_pfits_get_mjdobs(const cpl_propertylist *) ;
87 double sinfo_pfits_get_focus(const cpl_propertylist *) ;
88 double sinfo_pfits_get_cumoffsetx(const cpl_propertylist *) ;
89 double sinfo_pfits_get_cumoffsety(const cpl_propertylist *) ;
90 double sinfo_pfits_get_alpha(const cpl_propertylist *) ;
91 double sinfo_pfits_get_airmass_end(const cpl_propertylist *) ;
92 double sinfo_pfits_get_dec(const cpl_propertylist *) ;
93 double sinfo_pfits_get_wlen(const cpl_propertylist *) ;
94 double sinfo_pfits_get_delta(const cpl_propertylist *) ;
95 int sinfo_pfits_get_naxis1(const cpl_propertylist *) ;
96 int sinfo_pfits_get_naxis2(const cpl_propertylist *) ;
97 int sinfo_pfits_get_naxis3(const cpl_propertylist *) ;
98 
99 
100 double sinfo_pfits_get_crval1(const cpl_propertylist *) ;
101 double sinfo_pfits_get_crval2(const cpl_propertylist *) ;
102 double sinfo_pfits_get_crval3(const cpl_propertylist *) ;
103 
104 double sinfo_pfits_get_crpix1(const cpl_propertylist *) ;
105 double sinfo_pfits_get_crpix2(const cpl_propertylist *) ;
106 double sinfo_pfits_get_crpix3(const cpl_propertylist *) ;
107 
108 double sinfo_pfits_get_cdelt1(const cpl_propertylist *) ;
109 double sinfo_pfits_get_cdelt2(const cpl_propertylist *) ;
110 double sinfo_pfits_get_cdelt3(const cpl_propertylist *) ;
111 
112 
113 /* keys not existent */
114 int sinfo_pfits_get_chop_ncycles(const cpl_propertylist * plist) ;
115 double sinfo_pfits_get_monoc_pos(const cpl_propertylist *) ;
116 cpl_error_code
117 sinfo_plist_set_extra_keys(cpl_propertylist* plist,
118  const char* hduclas1,
119  const char* hduclas2,
120  const char* hduclas3,
121  const char* scidata,
122  const char* errdata,
123  const char* qualdata,
124  const int type);
125 CPL_END_DECLS
126 
127 #endif