00001 /* $Id: sinfo_pfits.h,v 1.2 2006/11/11 14:11:47 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: 2006/11/11 14:11:47 $ 00024 * $Revision: 1.2 $ 00025 * $Name: $ 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 /* 00049 char * sinfo_pfits_get_rec1raw1name(const char * filename) ; 00050 */ 00051 int sinfo_pfits_get_expno(const cpl_propertylist *) ; 00052 double sinfo_pfits_get_exptime(const char *) ; 00053 char * sinfo_pfits_get_mode(const cpl_propertylist *) ; 00054 00055 double sinfo_pfits_get_pixscale(const cpl_propertylist * plist); 00056 double sinfo_pfits_get_exp_time(const cpl_propertylist* plist); 00057 double sinfo_pfits_get_DEC(const cpl_propertylist * plist); 00058 double sinfo_pfits_get_posangle(const cpl_propertylist * plist); 00059 int sinfo_pfits_get_rom(const cpl_propertylist * propertylist); 00060 const char * sinfo_pfits_get_ncorrs_name(const cpl_propertylist * plist) ; 00061 const char * sinfo_pfits_get_date_obs(const cpl_propertylist * plist) ; 00062 const char * sinfo_pfits_get_ins_setup(const cpl_propertylist * plist); 00063 double sinfo_pfits_get_airmass_start(const cpl_propertylist * plist) ; 00064 const char * sinfo_pfits_get_templateid(const cpl_propertylist * plist) ; 00065 double sinfo_pfits_get_dit(const cpl_propertylist * plist) ; 00066 int sinfo_pfits_get_ndit(const cpl_propertylist * plist) ; 00067 const char * sinfo_pfits_get_dpr_catg(const cpl_propertylist * plist) ; 00068 const char * sinfo_pfits_get_dpr_tech(const cpl_propertylist * plist) ; 00069 const char * sinfo_pfits_get_dpr_type(const cpl_propertylist * plist) ; 00070 const char * sinfo_pfits_get_arcfile(const cpl_propertylist * plist) ; 00071 double sinfo_pfits_get_ditndit(const char* name); 00072 /* not used */ 00073 int sinfo_pfits_get_nodpos(const cpl_propertylist *) ; 00074 double sinfo_pfits_get_ra(const cpl_propertylist *) ; 00075 double sinfo_pfits_get_resol(const cpl_propertylist *) ; 00076 const char * sinfo_pfits_get_starname(const cpl_propertylist *) ; 00077 const char * sinfo_pfits_get_obs_id(const cpl_propertylist *) ; 00078 const char * sinfo_pfits_get_instrument(const cpl_propertylist *) ; 00079 const char * sinfo_pfits_get_filter_spec(const cpl_propertylist *) ; 00080 const char * sinfo_pfits_get_filter_im(const cpl_propertylist *) ; 00081 const char * sinfo_pfits_get_frame_type(const cpl_propertylist *) ; 00082 int sinfo_pfits_get_numbexp(const cpl_propertylist *) ; 00083 double sinfo_pfits_get_mjdobs(const cpl_propertylist *) ; 00084 double sinfo_pfits_get_focus(const cpl_propertylist *) ; 00085 double sinfo_pfits_get_cumoffsetx(const cpl_propertylist *) ; 00086 double sinfo_pfits_get_cumoffsety(const cpl_propertylist *) ; 00087 double sinfo_pfits_get_alpha(const cpl_propertylist *) ; 00088 double sinfo_pfits_get_airmass_end(const cpl_propertylist *) ; 00089 double sinfo_pfits_get_dec(const cpl_propertylist *) ; 00090 double sinfo_pfits_get_wlen(const cpl_propertylist *) ; 00091 double sinfo_pfits_get_delta(const cpl_propertylist *) ; 00092 int sinfo_pfits_get_naxis1(const cpl_propertylist *) ; 00093 int sinfo_pfits_get_naxis2(const cpl_propertylist *) ; 00094 int sinfo_pfits_get_naxis3(const cpl_propertylist *) ; 00095 00096 00097 double sinfo_pfits_get_crval1(const cpl_propertylist *) ; 00098 double sinfo_pfits_get_crval2(const cpl_propertylist *) ; 00099 double sinfo_pfits_get_crval3(const cpl_propertylist *) ; 00100 00101 int sinfo_pfits_get_crpix1(const cpl_propertylist *) ; 00102 int sinfo_pfits_get_crpix2(const cpl_propertylist *) ; 00103 int sinfo_pfits_get_crpix3(const cpl_propertylist *) ; 00104 00105 double sinfo_pfits_get_cdelt1(const cpl_propertylist *) ; 00106 double sinfo_pfits_get_cdelt2(const cpl_propertylist *) ; 00107 double sinfo_pfits_get_cdelt3(const cpl_propertylist *) ; 00108 00109 00110 /* keys not existent */ 00111 int sinfo_pfits_get_chop_ncycles(const cpl_propertylist * plist) ; 00112 double sinfo_pfits_get_monoc_pos(const cpl_propertylist *) ; 00113 00114 CPL_END_DECLS 00115 00116 #endif
1.4.4