39#include "sofi_pfits.h"
63 return cpl_propertylist_get_double(plist,
"ESO TEL AIRM START") ;
75 return cpl_propertylist_get_double(plist,
"ESO TEL AIRM END") ;
87 return (
const char *) cpl_propertylist_get_string(plist,
"ARCFILE");
99 return (
const char *) cpl_propertylist_get_string(plist,
100 "ESO DET CHIP NAME");
112 return cpl_propertylist_get_double(plist,
"ESO SEQ CUMOFFSETX") ;
124 return cpl_propertylist_get_double(plist,
"ESO SEQ CUMOFFSETY") ;
136 return cpl_propertylist_get_int(plist,
"ESO TPL EXPNO") ;
148 return (
const char *) cpl_propertylist_get_string(plist,
"DATE") ;
160 return (
const char *) cpl_propertylist_get_string(plist,
"DATE-OBS") ;
172 return cpl_propertylist_get_double(plist,
"DEC") ;
184 return (
const char *) cpl_propertylist_get_string(plist,
185 "ESO DET FRAM TYPE") ;
197 return cpl_propertylist_get_double(plist,
"ESO DET DIT") ;
209 return (
const char *) cpl_propertylist_get_string(plist,
"ESO DPR CATG") ;
221 return (
const char *) cpl_propertylist_get_string(plist,
"ESO DPR TECH") ;
233 return (
const char *) cpl_propertylist_get_string(plist,
"ESO DPR TYPE") ;
247 val = cpl_propertylist_get_string(plist,
"ESO INS FILT1 ID") ;
248 if (val == NULL)
return NULL ;
250 if (strcmp(val,
"open"))
return val ;
252 val = cpl_propertylist_get_string(plist,
"ESO INS FILT2 ID") ;
253 if (val == NULL)
return NULL ;
254 if (strcmp(val,
"open"))
return val ;
267 return cpl_propertylist_get_double(plist,
"ESO TEL AMBI RHUM") ;
279 return (
const char *) cpl_propertylist_get_string(plist,
"INSTRUME") ;
291 return (
const char *) cpl_propertylist_get_string(plist,
292 "ESO INS LAMP1 NAME") ;
304 return cpl_propertylist_get_bool(plist,
"ESO INS LAMP1 ST") ;
316 return (
const char *) cpl_propertylist_get_string(plist,
317 "ESO INS LAMP2 NAME") ;
329 return cpl_propertylist_get_bool(plist,
"ESO INS LAMP2 ST") ;
341 return cpl_propertylist_get_double(plist,
"MJD-OBS") ;
353 return (
const char *) cpl_propertylist_get_string(plist,
"ESO INS MODE") ;
365 return cpl_propertylist_get_int(plist,
"NAXIS2") ;
377 return cpl_propertylist_get_int(plist,
"ESO DET NDIT") ;
389 return cpl_propertylist_get_int(plist,
"ESO TPL NEXP") ;
401 return cpl_propertylist_get_int(plist,
"ESO OBS ID") ;
413 return (
const char *) cpl_propertylist_get_string(plist,
414 "ESO OBS TARG NAME") ;
426 return (
const char *) cpl_propertylist_get_string(plist,
427 "ESO INS OPTI1 ID") ;
439 return (
const char *) cpl_propertylist_get_string(plist,
"ORIGFILE") ;
451 return cpl_propertylist_get_double(plist,
"ESO INS PIXSCALE") ;
463 return cpl_propertylist_get_double(plist,
"RA") ;
475 return (
const char *) cpl_propertylist_get_string(plist,
476 "ESO INS OPTI2 NAME") ;
488 return cpl_propertylist_get_int(plist,
"ESO DET NCORRS") ;
500 return (
const char *) cpl_propertylist_get_string(plist,
501 "ESO DET MODE NAME");
513 return (
const char *) cpl_propertylist_get_string(plist,
514 "ESO DET NCORRS NAME");
526 return cpl_propertylist_get_int(plist,
"ESO DET RSPEED") ;
538 return (
const char *) cpl_propertylist_get_string(plist,
"ESO TPL ID") ;
const char * sofi_pfits_get_rom_name(const cpl_propertylist *plist)
find out the read out mode name
double sofi_pfits_get_ra(const cpl_propertylist *plist)
find out the RA
double sofi_pfits_get_dit(const cpl_propertylist *plist)
find out the DIT value
const char * sofi_pfits_get_opti1_id(const cpl_propertylist *plist)
find out the OPTI1.ID key
const char * sofi_pfits_get_chip(const cpl_propertylist *plist)
find out the chip name
double sofi_pfits_get_dec(const cpl_propertylist *plist)
find out the DEC
const char * sofi_pfits_get_origfile(const cpl_propertylist *plist)
find out the original file name
const char * sofi_pfits_get_instrument(const cpl_propertylist *plist)
find out the instrument
double sofi_pfits_get_humidity_level(const cpl_propertylist *plist)
find out the humidity level
const char * sofi_pfits_get_frame_type(const cpl_propertylist *plist)
find out the frame type
const char * sofi_pfits_get_dpr_catg(const cpl_propertylist *plist)
find out the data category
const char * sofi_pfits_get_mode(const cpl_propertylist *plist)
find out the instrument mode
int sofi_pfits_get_current_exp_nb(const cpl_propertylist *plist)
find out the current exposure number
const char * sofi_pfits_get_lamp2_name(const cpl_propertylist *plist)
find out the lamp2 name
int sofi_pfits_get_lamp2_status(const cpl_propertylist *plist)
find out the lamp2 status
const char * sofi_pfits_get_dpr_type(const cpl_propertylist *plist)
find out the data type
int sofi_pfits_get_numbexp(const cpl_propertylist *plist)
find out the number of exposures
const char * sofi_pfits_get_dpr_tech(const cpl_propertylist *plist)
find out the data technique
double sofi_pfits_get_mjdobs(const cpl_propertylist *plist)
find out the MJD-OBS
double sofi_pfits_get_airmass_start(const cpl_propertylist *plist)
find out airmass start
double sofi_pfits_get_airmass_end(const cpl_propertylist *plist)
find out airmass end
double sofi_pfits_get_cumoffsetx(const cpl_propertylist *plist)
find out the cumulative offset in X
int sofi_pfits_get_rom(const cpl_propertylist *plist)
find out the read out mode
const char * sofi_pfits_get_targ_name(const cpl_propertylist *plist)
find out the target name
const char * sofi_pfits_get_lamp1_name(const cpl_propertylist *plist)
find out the lamp1 name
int sofi_pfits_get_lamp1_status(const cpl_propertylist *plist)
find out the lamp1 status
const char * sofi_pfits_get_arcfile(const cpl_propertylist *plist)
find out the arcfile
int sofi_pfits_get_rspeed(const cpl_propertylist *plist)
find out the read speed
const char * sofi_pfits_get_date(const cpl_propertylist *plist)
find out the date of the file creation
int sofi_pfits_get_naxis2(const cpl_propertylist *plist)
find out the NAXIS2 keyword
const char * sofi_pfits_get_romode_name(const cpl_propertylist *plist)
find out the read out mode name
const char * sofi_pfits_get_filter(const cpl_propertylist *plist)
find out which wave band is active in short wavelength
const char * sofi_pfits_get_templateid(const cpl_propertylist *plist)
find out the template ID
int sofi_pfits_get_obs_id(const cpl_propertylist *plist)
find out the OBS ID
double sofi_pfits_get_cumoffsety(const cpl_propertylist *plist)
find out the cumulative offset in Y
double sofi_pfits_get_pixscale(const cpl_propertylist *plist)
find out the pixel scale
const char * sofi_pfits_get_resolution(const cpl_propertylist *plist)
find out the resolution
const char * sofi_pfits_get_date_obs(const cpl_propertylist *plist)
find out the date of observation
int sofi_pfits_get_ndit(const cpl_propertylist *plist)
find out the NDIT keyword