sinfo_pfits.h

00001 /* $Id: sinfo_pfits.h,v 1.6 2012/03/22 15:26:10 amodigli Exp $
00002  *
00003  * This file is part of the NACO Pipeline
00004  * Copyright (C) 2002,2003 European Southern Observatory
00005  *
00006  * This program is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; either version 2 of the License, or
00009  * (at your option) any later version.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019  */
00020 
00021 /*
00022  * $Author: amodigli $
00023  * $Date: 2012/03/22 15:26:10 $
00024  * $Revision: 1.6 $
00025  * $Name: HEAD $
00026  */
00027 
00028 #ifndef SINFO_PFITS_H
00029 #define SINFO_PFITS_H
00030 
00031 /*-----------------------------------------------------------------------------
00032                                    Includes
00033  -----------------------------------------------------------------------------*/
00034 #include <cpl.h>
00035 
00036 /*
00037 #include <sinfo_dfs.h>
00038 */
00039 
00040 /*-----------------------------------------------------------------------------
00041                                    Functions prototypes
00042  -----------------------------------------------------------------------------*/
00043 
00044 CPL_BEGIN_DECLS
00045 const char * sinfo_pfits_get_rec1raw1name(const cpl_propertylist * plist) ;
00046 const char * sinfo_pfits_get_band(const cpl_propertylist * plist);
00047 float sinfo_pfits_get_pixelscale (const char * filename );
00048 double sinfo_pfits_get_targ_alpha(const cpl_propertylist * plist);
00049 double sinfo_pfits_get_targ_delta(const cpl_propertylist * plist);
00050 
00051 /*
00052 char * sinfo_pfits_get_rec1raw1name(const char * filename) ;
00053 */
00054 int sinfo_pfits_get_expno(const cpl_propertylist *) ;
00055 double  sinfo_pfits_get_exptime(const char *) ;
00056 char * sinfo_pfits_get_mode(const cpl_propertylist *) ;
00057 
00058 double sinfo_pfits_get_pixscale(const cpl_propertylist * plist);
00059 double sinfo_pfits_get_exp_time(const cpl_propertylist* plist);
00060 double sinfo_pfits_get_DEC(const cpl_propertylist * plist);
00061 double sinfo_pfits_get_posangle(const cpl_propertylist * plist);
00062 int sinfo_pfits_get_rom(const cpl_propertylist * propertylist);
00063 const char * sinfo_pfits_get_ncorrs_name(const cpl_propertylist * plist) ;
00064 const char * sinfo_pfits_get_date_obs(const cpl_propertylist * plist) ;
00065 const char * sinfo_pfits_get_ins_setup(const cpl_propertylist * plist);
00066 double sinfo_pfits_get_airmass_start(const cpl_propertylist * plist) ;
00067 const char * sinfo_pfits_get_templateid(const cpl_propertylist * plist) ;
00068 double sinfo_pfits_get_dit(const cpl_propertylist * plist) ;
00069 int    sinfo_pfits_get_ndit(const cpl_propertylist * plist) ;
00070 const char * sinfo_pfits_get_dpr_catg(const cpl_propertylist * plist) ;
00071 const char * sinfo_pfits_get_dpr_tech(const cpl_propertylist * plist) ;
00072 const char * sinfo_pfits_get_dpr_type(const cpl_propertylist * plist) ;
00073 const char * sinfo_pfits_get_arcfile(const cpl_propertylist * plist) ;
00074 double sinfo_pfits_get_ditndit(const char* name);
00075 /* not used */
00076 int sinfo_pfits_get_nodpos(const cpl_propertylist *) ;
00077 double sinfo_pfits_get_ra(const cpl_propertylist *) ;
00078 double sinfo_pfits_get_resol(const cpl_propertylist *) ;
00079 const char * sinfo_pfits_get_starname(const cpl_propertylist *) ;
00080 const char * sinfo_pfits_get_obs_id(const cpl_propertylist *) ;
00081 const char * sinfo_pfits_get_instrument(const cpl_propertylist *) ;
00082 const char * sinfo_pfits_get_filter_spec(const cpl_propertylist *) ;
00083 const char * sinfo_pfits_get_filter_im(const cpl_propertylist *) ;
00084 const char * sinfo_pfits_get_frame_type(const cpl_propertylist *) ;
00085 int sinfo_pfits_get_numbexp(const cpl_propertylist *) ;
00086 double sinfo_pfits_get_mjdobs(const cpl_propertylist *) ;
00087 double sinfo_pfits_get_focus(const cpl_propertylist *) ;
00088 double sinfo_pfits_get_cumoffsetx(const cpl_propertylist *) ;
00089 double sinfo_pfits_get_cumoffsety(const cpl_propertylist *) ;
00090 double sinfo_pfits_get_alpha(const cpl_propertylist *) ;
00091 double sinfo_pfits_get_airmass_end(const cpl_propertylist *) ;
00092 double sinfo_pfits_get_dec(const cpl_propertylist *) ;
00093 double sinfo_pfits_get_wlen(const cpl_propertylist *) ;
00094 double sinfo_pfits_get_delta(const cpl_propertylist *) ;
00095 int sinfo_pfits_get_naxis1(const cpl_propertylist *) ;
00096 int sinfo_pfits_get_naxis2(const cpl_propertylist *) ;
00097 int sinfo_pfits_get_naxis3(const cpl_propertylist *) ;
00098 
00099 
00100 double sinfo_pfits_get_crval1(const cpl_propertylist *) ;
00101 double sinfo_pfits_get_crval2(const cpl_propertylist *) ;
00102 double sinfo_pfits_get_crval3(const cpl_propertylist *) ;
00103 
00104 double sinfo_pfits_get_crpix1(const cpl_propertylist *) ;
00105 double sinfo_pfits_get_crpix2(const cpl_propertylist *) ;
00106 double sinfo_pfits_get_crpix3(const cpl_propertylist *) ;
00107 
00108 double sinfo_pfits_get_cdelt1(const cpl_propertylist *) ;
00109 double sinfo_pfits_get_cdelt2(const cpl_propertylist *) ;
00110 double sinfo_pfits_get_cdelt3(const cpl_propertylist *) ;
00111 
00112 
00113 /* keys not existent */
00114 int sinfo_pfits_get_chop_ncycles(const cpl_propertylist * plist) ;
00115 double sinfo_pfits_get_monoc_pos(const cpl_propertylist *) ;
00116 cpl_error_code
00117 sinfo_plist_set_extra_keys(cpl_propertylist* plist,
00118              const char* hduclas1,
00119              const char* hduclas2,
00120              const char* hduclas3,
00121              const char* scidata,
00122              const char* errdata,
00123              const char* qualdata,
00124                          const int type);
00125 CPL_END_DECLS
00126 
00127 #endif

Generated on 3 Mar 2013 for SINFONI Pipeline Reference Manual by  doxygen 1.6.1