00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef MUSE_PFITS_H
00023 #define MUSE_PFITS_H
00024
00025
00026
00027
00028 #include <cpl.h>
00029
00030 #include "muse_instrument.h"
00031
00032
00033
00034
00035
00036 #define KEYWORD_LENGTH 81
00037
00038
00039
00040
00041
00042 const char *muse_pfits_get_arcfile(const cpl_propertylist *);
00043 const char *muse_pfits_get_origfile(const cpl_propertylist *);
00044 const char *muse_pfits_get_pipefile(const cpl_propertylist *);
00045 const char *muse_pfits_get_ancestor(const cpl_propertylist *);
00046 const char *muse_pfits_get_dpr_type(const cpl_propertylist *);
00047 const char *muse_pfits_get_dpr_catg(const cpl_propertylist *);
00048 const char *muse_pfits_get_pro_type(const cpl_propertylist *);
00049 const char *muse_pfits_get_pro_catg(const cpl_propertylist *);
00050 const char *muse_pfits_get_raw_filename(const cpl_propertylist *, unsigned int);
00051 const char *muse_pfits_get_pipe_id(const cpl_propertylist *, unsigned int);
00052 const char *muse_pfits_get_progid(const cpl_propertylist *);
00053 long muse_pfits_get_obsid(const cpl_propertylist *);
00054
00055
00056 muse_ins_mode muse_pfits_get_mode(const cpl_propertylist *);
00057 const char *muse_pfits_get_insmode(const cpl_propertylist *);
00058 cpl_boolean muse_pfits_has_ifu(const cpl_propertylist *, unsigned char);
00059 const char *muse_pfits_get_drot_mode(const cpl_propertylist *);
00060 double muse_pfits_get_drot_posang(const cpl_propertylist *);
00061 double muse_pfits_get_drot_start(const cpl_propertylist *);
00062 double muse_pfits_get_drot_end(const cpl_propertylist *);
00063
00064 const char *muse_pfits_get_extname(const cpl_propertylist *);
00065 const char *muse_pfits_get_bunit(const cpl_propertylist *);
00066
00067
00068 cpl_size muse_pfits_get_naxis(const cpl_propertylist *, unsigned int);
00069 double muse_pfits_get_ra(const cpl_propertylist *);
00070 double muse_pfits_get_dec(const cpl_propertylist *);
00071 double muse_pfits_get_equinox(const cpl_propertylist *);
00072 double muse_pfits_get_lst(const cpl_propertylist *);
00073 double muse_pfits_get_mjdobs(const cpl_propertylist *);
00074 const char *muse_pfits_get_dateobs(const cpl_propertylist *);
00075 double muse_pfits_get_exptime(const cpl_propertylist *);
00076
00077
00078 double muse_pfits_get_crpix(const cpl_propertylist *, unsigned int);
00079 double muse_pfits_get_crval(const cpl_propertylist *, unsigned int);
00080 double muse_pfits_get_cd(const cpl_propertylist *, unsigned int, unsigned int);
00081 const char *muse_pfits_get_ctype(const cpl_propertylist *, unsigned int);
00082 const char *muse_pfits_get_cunit(const cpl_propertylist *, unsigned int);
00083
00084
00085 int muse_pfits_get_read_id(const cpl_propertylist *);
00086 const char *muse_pfits_get_read_name(const cpl_propertylist *);
00087 int muse_pfits_get_binx(const cpl_propertylist *);
00088 int muse_pfits_get_biny(const cpl_propertylist *);
00089 const char *muse_pfits_get_chip_name(const cpl_propertylist *);
00090 const char *muse_pfits_get_chip_id(const cpl_propertylist *);
00091 const char *muse_pfits_get_chip_date(const cpl_propertylist *);
00092 cpl_boolean muse_pfits_get_chip_live(const cpl_propertylist *);
00093 double muse_pfits_get_ron(const cpl_propertylist *, unsigned char);
00094 double muse_pfits_get_gain(const cpl_propertylist *, unsigned char);
00095 int muse_pfits_get_out_output_x(const cpl_propertylist *, unsigned char);
00096 int muse_pfits_get_out_output_y(const cpl_propertylist *, unsigned char);
00097 int muse_pfits_get_out_nx(const cpl_propertylist *, unsigned char);
00098 int muse_pfits_get_out_ny(const cpl_propertylist *, unsigned char);
00099 int muse_pfits_get_out_prescan_x(const cpl_propertylist *, unsigned char);
00100 int muse_pfits_get_out_prescan_y(const cpl_propertylist *, unsigned char);
00101 int muse_pfits_get_out_overscan_x(const cpl_propertylist *, unsigned char);
00102 int muse_pfits_get_out_overscan_y(const cpl_propertylist *, unsigned char);
00103
00104
00105 double muse_pfits_get_geolat(const cpl_propertylist *);
00106 double muse_pfits_get_geolon(const cpl_propertylist *);
00107 double muse_pfits_get_geoelev(const cpl_propertylist *);
00108 double muse_pfits_get_focu_scale(const cpl_propertylist *);
00109 double muse_pfits_get_airmass_start(const cpl_propertylist *);
00110 double muse_pfits_get_airmass_end(const cpl_propertylist *);
00111 double muse_pfits_get_altang(const cpl_propertylist *);
00112 double muse_pfits_get_parang_start(const cpl_propertylist *);
00113 double muse_pfits_get_parang_end(const cpl_propertylist *);
00114
00115
00116 double muse_pfits_get_agx_avg(const cpl_propertylist *);
00117 double muse_pfits_get_agx_rms(const cpl_propertylist *);
00118 double muse_pfits_get_agy_avg(const cpl_propertylist *);
00119 double muse_pfits_get_agy_rms(const cpl_propertylist *);
00120 double muse_pfits_get_ia_fwhm(const cpl_propertylist *);
00121 double muse_pfits_get_ia_fwhmlin(const cpl_propertylist *aHeaders);
00122
00123
00124 double muse_pfits_get_temp(const cpl_propertylist *);
00125 double muse_pfits_get_rhum(const cpl_propertylist *);
00126 double muse_pfits_get_pres_start(const cpl_propertylist *);
00127 double muse_pfits_get_pres_end(const cpl_propertylist *);
00128 double muse_pfits_get_fwhm_start(const cpl_propertylist *);
00129 double muse_pfits_get_fwhm_end(const cpl_propertylist *);
00130
00131
00132 double muse_pfits_get_pam_intensity(const cpl_propertylist *, int);
00133 double muse_pfits_get_pam_stdev(const cpl_propertylist *, int);
00134 const char *muse_pfits_get_pam2_filter(const cpl_propertylist *);
00135 int muse_pfits_get_lampnum(const cpl_propertylist *);
00136 const char *muse_pfits_get_lamp_name(const cpl_propertylist *, int);
00137 int muse_pfits_get_lamp_status(const cpl_propertylist *, int);
00138 const char *muse_pfits_get_shut_name(const cpl_propertylist *, int);
00139 int muse_pfits_get_shut_status(const cpl_propertylist *, int);
00140
00141
00142 int muse_pfits_get_posenc(const cpl_propertylist *, unsigned short);
00143 double muse_pfits_get_pospos(const cpl_propertylist *, unsigned short);
00144
00145 #endif