207 #include <uves_propertylist.h>
208 #include <uves_chip.h>
220 #define UVES_DRS_ID "ESO PRO REC1 DRS ID"
227 #define UVES_PRESCANX(new_format, chip) \
228 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 PRSCX" : "ESO DET OUT1 PRSCX")
229 #define UVES_PRESCANY(new_format, chip) \
230 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 PRSCY" : "ESO DET OUT1 PRSCY")
232 #define UVES_OVRSCANX(new_format, chip) \
233 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 OVSCX" : "ESO DET OUT1 OVSCX")
234 #define UVES_OVRSCANY(new_format, chip) \
235 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 OVSCY" : "ESO DET OUT1 OVSCY")
241 #define UVES_RON(new_format, chip) \
242 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 RON" : "ESO DET OUT1 RON")
243 #define UVES_GAIN(new_format, chip) \
244 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 GAIN" : "ESO DET OUT1 GAIN")
245 #define UVES_CONAD(new_format, chip) \
246 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 CONAD" : "ESO DET OUT1 CONAD")
249 #define UVES_NX(new_format, chip) \
250 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 NX" : "ESO DET OUT1 NX")
251 #define UVES_NY(new_format, chip) \
252 ((!(new_format) && (chip) == UVES_CHIP_REDL) ? "ESO DET OUT4 NY" : "ESO DET OUT1 NY")
257 #define UVES_EXPTIME "EXPTIME"
262 #define UVES_UIT(new_format) "ESO DET WIN1 UIT1"
275 #define UVES_QC_UIT(new_format, chip) \
276 ((chip) == UVES_CHIP_REDL ? "ESO INS DET4 UIT" : "ESO INS DET1 UIT")
283 #define UVES_TPL_START "ESO TPL START"
284 #define UVES_TMSTART "TM-START"
290 #define UVES_AIRMASS_START "ESO TEL AIRM START"
291 #define UVES_AIRMASS_END "ESO TEL AIRM END"
292 #define UVES_AIRMASS "AIRMASS"
297 #define UVES_IMAGETYP "IMAGETYP"
302 #define UVES_UTC "UTC"
309 #define UVES_GEOLAT "ESO TEL GEOLAT"
310 #define UVES_GEOLON "ESO TEL GEOLON"
315 #define UVES_EXTNAME "EXTNAME"
320 #define UVES_MJDOBS "MJD-OBS"
321 #define UVES_DATE "DATE"
324 #define UVES_OS_EXPOI "OS-EXPOI"
330 #define UVES_DEC "DEC"
335 #define UVES_TARG_NAME "ESO OBS TARG NAME"
341 #define UVES_BINX "ESO DET WIN1 BINX"
342 #define UVES_BINY "ESO DET WIN1 BINY"
347 #define UVES_PIXELSCALE "ESO INS PIXSCALE"
353 #define UVES_ENCODER_REF1 "ESO INS SLIT3 X1ENC"
354 #define UVES_ENCODER_REF2 "ESO INS SLIT3 X2ENC"
359 #define UVES_BNOISE "ESO BNOISE"
360 #define UVES_DNOISE "ESO DNOISE"
361 #define UVES_FNOISE "ESO FNOISE"
362 #define UVES_DTIME "ESO DTIME"
365 #define UVES_CD1 "CD1"
366 #define UVES_CD11 "CD1_1"
367 #define UVES_CD12 "CD1_2"
368 #define UVES_CD21 "CD2_1"
369 #define UVES_CD22 "CD2_2"
374 #define UVES_SLIT1NAME "ESO INS SLIT1 NAME"
375 #define UVES_ARM(chip) (((chip) == UVES_CHIP_BLUE) ? "BLUE" : "RED")
376 #define UVES_ARMID(chip) (((chip) == UVES_CHIP_BLUE) ? "b" : "r")
377 #define UVES_DETECTOR(chip) (((chip) == UVES_CHIP_BLUE) ? "EEV" : "MIT-LL")
378 #define UVES_SLITLENGTH(chip) \
379 (((chip) == UVES_CHIP_BLUE) ? "ESO INS SLIT2 LEN" : "ESO INS SLIT3 LEN")
380 #define UVES_SLITWIDTH(chip) \
381 (((chip) == UVES_CHIP_BLUE) ? "ESO INS SLIT2 WID" : "ESO INS SLIT3 WID")
387 #define UVES_GRATWLEN(chip) \
388 (((chip) == UVES_CHIP_BLUE) ? "ESO INS GRAT1 WLEN" : "ESO INS GRAT2 WLEN")
389 #define UVES_GRATID(chip) \
390 (((chip) == UVES_CHIP_BLUE) ? "ESO INS GRAT1 ID" : "ESO INS GRAT2 ID")
391 #define UVES_GRATNAME(chip) \
392 (((chip) == UVES_CHIP_BLUE) ? "ESO INS GRAT1 NAME" : "ESO INS GRAT2 NAME")
402 #define UVES_CHIP_NAME(chip) \
403 (((chip) == UVES_CHIP_REDL) ? "ESO DET CHIP2 NAME" : "ESO DET CHIP1 NAME")
404 #define UVES_CHIP_ID(chip) \
405 (((chip) == UVES_CHIP_REDL) ? "ESO DET CHIP2 ID" : "ESO DET CHIP1 ID")
423 #define UVES_CCDID "ESO DET ID"
424 #define UVES_PRESSURE "ESO INS SENS26 MEAN"
425 #define UVES_TEMPCAM(chip) \
426 (((chip) == UVES_CHIP_BLUE) ? "ESO INS TEMP1 MEAN" : "ESO INS TEMP2 MEAN")
428 #define UVES_HUMIDITY "ESO INS TEMP31 MEAN"
435 #define UVES_ORD_PRED "NBORDI"
437 #define UVES_INSMODE "ESO INS MODE"
438 #define UVES_INSPATH "ESO INS PATH"
442 #define UVES_PRO_DATAAVG "ESO PRO DATAAVG"
443 #define UVES_PRO_DATARMS "ESO PRO DATARMS"
444 #define UVES_PRO_DATAMED "ESO PRO DATAMED"
445 #define UVES_DATAMIN "DATAMIN"
446 #define UVES_DATAMAX "DATAMAX"
447 #define UVES_DATAMEAN "DATAMEAN"
448 #define UVES_DATAMED "DATAMED"
449 #define UVES_DATARMS "DATARMS"
452 #define UVES_OBJECT "OBJECT"
455 #define UVES_TRACEID "TRACEID"
456 #define UVES_TRACE_OFFSET "OFFSET"
457 #define UVES_WINDOWNUMBER "WINDOW"
460 #define UVES_FIRSTABSORDER "FABSORD"
461 #define UVES_LASTABSORDER "LABSORD"
464 #define UVES_BUNIT "BUNIT"
465 #define UVES_BSCALE "BSCALE"
466 #define UVES_TUNIT "TUNIT"
468 #define UVES_CTYPE1 "CTYPE1"
469 #define UVES_CTYPE2 "CTYPE2"
470 #define UVES_CUNIT1 "CUNIT1"
471 #define UVES_CUNIT2 "CUNIT2"
472 #define UVES_CRVAL1 "CRVAL1"
473 #define UVES_CRVAL2 "CRVAL2"
474 #define UVES_CRPIX1 "CRPIX1"
475 #define UVES_CRPIX2 "CRPIX2"
476 #define UVES_CDELT1 "CDELT1"
477 #define UVES_CDELT2 "CDELT2"
479 #define UVES_BITPIX "BITPIX"
480 #define UVES_NAXIS "NAXIS"
481 #define UVES_NAXIS1 "NAXIS1"
482 #define UVES_NAXIS2 "NAXIS2"
483 #define UVES_STARTX "STARTX"
484 #define UVES_STARTY "STARTY"
485 #define UVES_TEL_ALT "ESO TEL ALT"
486 #define UVES_OUT1NX "ESO DET OUT1 NX"
487 #define UVES_OUT1NY "ESO DET OUT1 NY"
488 #define UVES_OUT4NX "ESO DET OUT4 NX"
489 #define UVES_OUT4NY "ESO DET OUT4 NY"
491 #define UVES_READ_SPEED "ESO DET READ SPEED"
497 #define UVES_WSTART "WSTART"
498 #define UVES_WEND "WEND"
501 #define UVES_DATANCOM "ESO PRO DATANCOM"
502 #define UVES_DATANCOM_OLD "ESO PRO QC DATANCOM"
505 #define UVES_QC_BADPIXCORR "ESO QC BADPIX CORR"
508 #define UVES_REDLEVEL "ESO PRO REDLEVEL"
517 #define UVES_STATUS "ESO PRO REC1 STATUS"
519 #define UVES_START "ESO PRO REC1 START"
520 #define UVES_STOP "ESO PRO REC1 STOP"
522 #define UVES_DPR_TECH "ESO DPR TECH"
523 #define UVES_DPR_TYPE "ESO DPR TYPE"
524 #define UVES_DPR_CATG "ESO DPR CATG"
525 #define UVES_OCS_SIMCAL "ESO OCS SIMCAL"
531 #define FLAMES_NFLATS "NFLATS"
533 #define FLAMES_OBS_PLATE_ID "ESO INS SLIT3 PLATE"
534 #define FLAMES_INS_SHUT09 "ESO INS SHUT9 ST"
535 #define FLAMES_INS_SHUT10 "ESO INS SHUT10 ST"
536 #define FLAMES_PLATEID "ESO INS1 TUMB POS"
537 #define FLAMES_NEWPLATEID "ESO INS OBSPLATE"
538 #define FLAMES_DIT "ESO DET WIN1 DIT1"
539 #define FLAMES_CCFPOSMAX "ESO QC CCF POSMAX"
550 __attribute__((format (printf, 3, 4)))
double uves_pfits_get_utc(const uves_propertylist *plist)
Find out the observation time.
int uves_pfits_get_prescanx(const uves_propertylist *plist, enum uves_chip chip)
Find out the x-prescan.
int uves_pfits_get_firstabsorder(const uves_propertylist *plist)
Get first absolute order number.
cpl_error_code uves_pfits_set_wstart(uves_propertylist *plist, int order, double wstart)
Write the wstart keyword.
cpl_error_code uves_pfits_set_data_median(uves_propertylist *plist, double median)
Write the median pixel value.
int uves_pfits_get_datancom(const uves_propertylist *plist)
Find out the number of input raw frames.
double uves_pfits_get_uit(const uves_propertylist *plist)
Find out the user integration time.
int uves_flames_pfits_get_nflats(const uves_propertylist *plist)
Find out the NFLATS.
cpl_error_code uves_pfits_set_crpix2(uves_propertylist *plist, double crpix2)
Write the crpix2 keyword.
const char * uves_pfits_get_dpr_tech(const uves_propertylist *plist)
find out the data tech as defined by the DataFlow
const char * uves_pfits_get_tpl_start(const uves_propertylist *plist)
Find out the tpl start.
double uves_pfits_get_tempcam(const uves_propertylist *plist, enum uves_chip chip)
find out the pressure value
int uves_pfits_get_nx(const uves_propertylist *plist, enum uves_chip chip)
Find out the OUT1 NX or OUT4 NX.
cpl_error_code uves_pfits_set_data_stddev(uves_propertylist *plist, double stddev)
Write the RMS error of pixel values.
int uves_flames_pfits_get_plateid(const uves_propertylist *raw_header)
read the plate id
int uves_pfits_get_ny(const uves_propertylist *plist, enum uves_chip chip)
Find out the OUT1 NY or OUT4 NY.
cpl_error_code uves_pfits_set_ctype1(uves_propertylist *plist, const char *ctype1)
Write the ctype1 keyword.
void uves_pfits_set_dpr_tech(uves_propertylist *plist, const char *tech)
Set DPR TECH value.
int uves_pfits_get_ovrscanx(const uves_propertylist *plist, enum uves_chip chip)
Find out the x-overscan.
void uves_pfits_set_windownumber(uves_propertylist *plist, int window_number)
Write the window number.
void uves_pfits_set_history_val(uves_propertylist *plist, const char *name, const char *format,...)
Write integer value to HISTORY keyword.
void uves_pfits_set_hs(uves_propertylist *plist, int hs)
Write the 2d extractino slit length.
cpl_error_code uves_pfits_set_cdelt1(uves_propertylist *plist, double cdelt1)
Write the cdelt1 keyword.
char uves_pfits_get_chipchoice(const uves_propertylist *plist)
find out the frame
int uves_pfits_get_ocs_simcal(const uves_propertylist *plist)
Read the SIMCAL flag.
double uves_pfits_get_slitlength_pixels(const uves_propertylist *plist, enum uves_chip chip)
Read the slit length in pixels.
double uves_pfits_get_tel_alt_start(const uves_propertylist *plist)
Find out the start telescope altitude.
const char * uves_pfits_get_cunit1(const uves_propertylist *plist)
Find out the cunit1.
double uves_pfits_get_bscale(const uves_propertylist *plist)
Find out the bscale.
const char * uves_pfits_get_arcfile(const uves_propertylist *plist)
find out the arcfile
cpl_error_code uves_pfits_set_stoptime(uves_propertylist *plist, const char *stop_time)
Write the stop time.
cpl_error_code uves_pfits_set_tunit_no(uves_propertylist *plist, const int col_no, const char *tunit)
Write the tunit keyword.
int uves_pfits_get_lastabsorder(const uves_propertylist *plist)
Get last absolute order number.
const char * uves_pfits_get_cunit2(const uves_propertylist *plist)
Find out the cunit2.
const char * uves_pfits_get_badpxframe(const uves_propertylist *plist)
find out the frame
int uves_pfits_get_windownumber(const uves_propertylist *plist)
Get the window number.
double uves_pfits_get_gain(const uves_propertylist *plist, enum uves_chip chip)
Find out the gain.
double uves_pfits_get_geolat(const uves_propertylist *plist)
Find out the telescope latitude.
int uves_pfits_get_ordpred(const uves_propertylist *plist)
Read the predicted number of orders.
cpl_error_code uves_pfits_set_crval1(uves_propertylist *plist, double crval1)
Write the crval1 keyword.
const char * uves_pfits_get_dpr_catg(const uves_propertylist *plist)
find out the data category as defined by the DataFlow
const char * uves_pfits_get_drs_id(const uves_propertylist *plist)
Find out the drs id.
double uves_pfits_get_geolon(const uves_propertylist *plist)
Find out the telescope longitude.
double uves_pfits_get_cdelt2(const uves_propertylist *plist)
Find out the cdelt2.
cpl_error_code uves_pfits_set_bunit_no(uves_propertylist *plist, const int axis_no, const char *bunit)
Write the bunit keyword.
cpl_error_code uves_pfits_set_badpixcorr(uves_propertylist *plist, const char *corr)
Write the object keyword.
cpl_error_code uves_pfits_set_cunit2(uves_propertylist *plist, const char *cunit2)
Write the cunit2 keyword.
cpl_error_code uves_pfits_set_object(uves_propertylist *plist, const char *object)
Write the object keyword.
int uves_pfits_get_out4nx(const uves_propertylist *plist)
Find out the OUT4 NX.
double uves_pfits_get_gratwlen(const uves_propertylist *plist, enum uves_chip chip)
find out the central wavelength
const char * uves_pfits_get_targ_name(const uves_propertylist *plist)
Get target name.
int uves_pfits_get_naxis2(const uves_propertylist *plist)
Find out the NAXIS2.
int uves_pfits_get_slit3_x2encoder(const uves_propertylist *plist)
find out the value of UVES_ENCODER_REF2
double uves_pfits_get_slitwidth(const uves_propertylist *plist, enum uves_chip chip)
find out the slit width
double uves_pfits_get_ambipress(const uves_propertylist *plist)
find out the arcfile
void uves_flames_pfits_set_newplateid(uves_propertylist *plist, int plate_no)
Write the plate number.
const char * uves_pfits_get_pro_catg(const uves_propertylist *plist)
find out the product category as defined by the DataFlow
const char * uves_pfits_get_slit1_name(const uves_propertylist *plist)
Get image slicer name.
int uves_pfits_get_naxis(const uves_propertylist *plist)
Find out the NAXIS.
const char * uves_pfits_get_chip_name(const uves_propertylist *plist, enum uves_chip chip)
Find out the chip name.
double uves_pfits_get_wstart(const uves_propertylist *plist, int order)
Read the wstart keyword.
const char * uves_flames_pfits_get_object(const uves_propertylist *plist)
find out the OBJECT
const char * uves_pfits_get_origfile(const uves_propertylist *plist)
find out the origfile
double uves_pfits_get_crpix2(const uves_propertylist *plist)
Find out the crpix2.
cpl_error_code uves_pfits_set_bscale(uves_propertylist *plist, const double bscale)
Write the bscale keyword.
int uves_pfits_get_binx(const uves_propertylist *plist)
Find out the x binning factor.
void uves_pfits_set_dpr_catg(uves_propertylist *plist, const char *catg)
Set DPR CATG value.
double uves_pfits_get_ra(const uves_propertylist *plist)
Find out the right ascension.
void uves_pfits_set_traceid(uves_propertylist *plist, int trace_id)
Write the trace ID.
cpl_error_code uves_pfits_set_ctype2(uves_propertylist *plist, const char *ctype2)
Write the ctype2 keyword.
const char * uves_pfits_get_bunit(const uves_propertylist *plist)
Find out the bunit.
double uves_pfits_get_mjdobs(const uves_propertylist *plist)
Find out the modified julian observation date.
int uves_pfits_get_slit3_x1encoder(const uves_propertylist *plist)
find out the value of UVES_ENCODER_REF1
cpl_error_code uves_pfits_set_crpix1(uves_propertylist *plist, double crpix1)
Write the crpix1 keyword.
int uves_pfits_get_biny(const uves_propertylist *plist)
Find out the y binning factor.
double uves_pfits_get_starty(const uves_propertylist *plist)
Find out the STARTY.
cpl_error_code uves_pfits_set_data_max(uves_propertylist *plist, double max)
Write the max pixel value.
void uves_pfits_set_cd11(uves_propertylist *plist, double value)
Write the CD1_1 value.
double uves_flames_pfits_get_dit(const uves_propertylist *plist)
Find out the integration time.
double uves_pfits_get_dec(const uves_propertylist *plist)
Find out the declination.
int uves_pfits_get_out1nx(const uves_propertylist *plist)
Find out the OUT1 NX.
bool uves_ccd_is_new(const uves_propertylist *plist)
Find out if CCD header is new.
cpl_error_code uves_pfits_set_starttime(uves_propertylist *plist, const char *start_time)
Write the start time.
const char * uves_pfits_get_gratname(const uves_propertylist *plist, enum uves_chip chip)
find out the grating name value
double uves_pfits_get_pressure(const uves_propertylist *plist)
find out the pressure value
double uves_pfits_get_exptime(const uves_propertylist *plist)
Find out the exposure time in seconds.
cpl_error_code uves_pfits_set_redlevel(uves_propertylist *plist, const char *redlevel)
Write the reduction level.
void uves_pfits_set_cd12(uves_propertylist *plist, double value)
Write the CD1_2 value.
const char * uves_pfits_get_ccdid(const uves_propertylist *plist)
find out the ccd id
const char * uves_pfits_get_insmode(const uves_propertylist *plist)
find out the chip name value
const char * uves_pfits_get_inspath(const uves_propertylist *plist)
find out the chip name value
cpl_error_code uves_pfits_set_cdelt2(uves_propertylist *plist, double cdelt2)
Write the cdelt2 keyword.
const char * uves_pfits_get_readspeed(const uves_propertylist *plist)
find out the readout speed
void uves_pfits_set_ra(uves_propertylist *plist, double ra)
Write the right ascension.
double uves_pfits_get_startx(const uves_propertylist *plist)
Find out the START1.
cpl_error_code uves_pfits_set_extname(uves_propertylist *plist, const char *extname)
Write the EXTNAME keyword.
int uves_pfits_get_prescany(const uves_propertylist *plist, enum uves_chip chip)
Find out the y-prescan.
cpl_error_code uves_pfits_set_status(uves_propertylist *plist, const char *status)
Write the status.
cpl_error_code uves_pfits_set_data_average(uves_propertylist *plist, double average)
Write the average pixel value.
const char * uves_pfits_get_date_obs(const uves_propertylist *plist)
find out the date of observation
double uves_pfits_get_airmass_end(const uves_propertylist *plist)
Find out the end airmass.
cpl_error_code uves_pfits_set_exptime(uves_propertylist *plist, double exptime)
Write the exposure time.
int uves_pfits_get_out4ny(const uves_propertylist *plist)
Find out the OUT4 NY.
bool uves_format_is_new(const uves_propertylist *plist)
Find out FITS header format.
void uves_pfits_set_lastabsorder(uves_propertylist *plist, int last_abs_order)
Write the last absolute order number.
cpl_error_code uves_pfits_set_cunit1(uves_propertylist *plist, const char *cunit1)
Write the cunit1 keyword.
double uves_pfits_get_pixelscale(const uves_propertylist *plist)
Get pixel scale.
const char * uves_pfits_get_dpr_type(const uves_propertylist *plist)
find out the data type as defined by the DataFlow
double uves_pfits_get_cdelt1(const uves_propertylist *plist)
Find out the cdelt1.
double uves_pfits_get_humidity(const uves_propertylist *plist)
find out the humidity value
const char * uves_flames_pfits_get_ident(const uves_propertylist *plist)
find out the ident
double uves_pfits_get_crval1(const uves_propertylist *plist)
Find out the crval1.
cpl_error_code uves_pfits_set_bunit(uves_propertylist *plist, const char *bunit)
Write the bunit keyword.
int uves_pfits_get_maxfibres(const uves_propertylist *plist)
find out the frame
cpl_error_code uves_pfits_set_wend(uves_propertylist *plist, int order, double wend)
Write the wend keyword.
const char * uves_pfits_get_gratid(const uves_propertylist *plist, enum uves_chip chip)
find out the grating ID value
int uves_pfits_get_out1ny(const uves_propertylist *plist)
Find out the OUT1 NY.
int uves_pfits_get_naxis1(const uves_propertylist *plist)
Find out the NAXIS1.
cpl_error_code uves_pfits_set_wlen1(uves_propertylist *plist, double wlen1)
Write the WLEN1 value.
cpl_error_code uves_pfits_set_ordpred(uves_propertylist *plist, int nord)
Write the predicted number of order.
const char * uves_pfits_get_templateid(const uves_propertylist *plist)
find out the template id
const char * uves_pfits_get_rec1raw1name(const uves_propertylist *plist)
find out the arcfile
cpl_error_code uves_pfits_set_data_min(uves_propertylist *plist, double min)
Write the min pixel value.
int uves_pfits_get_traceid(const uves_propertylist *plist)
Get the trace ID number.
double uves_pfits_get_crval2(const uves_propertylist *plist)
Find out the crval2.
void uves_pfits_set_dec(uves_propertylist *plist, double dec)
Write the declination.
const char * uves_chop_eso_prefix(const char *key)
chop the "ESO " prefix
void uves_pfits_set_ocs_simcal(uves_propertylist *plist, int simcal)
Set the SIMCAL flag.
int uves_pfits_get_bitpix(const uves_propertylist *plist)
Find out the BITPIX.
void uves_pfits_set_cd22(uves_propertylist *plist, double value)
Write the CD2_2 value.
const char * uves_pfits_get_chipid(const uves_propertylist *plist, enum uves_chip chip)
Find out the chip ID.
void uves_pfits_set_firstabsorder(uves_propertylist *plist, int first_abs_order)
Write the first absolute order number.
void uves_pfits_set_cd21(uves_propertylist *plist, double value)
Write the CD2_1 value.
double uves_pfits_get_slitlength(const uves_propertylist *plist, enum uves_chip chip)
find out the slit length
double uves_pfits_get_offset(const uves_propertylist *plist)
Get the trace offset.
double uves_pfits_get_crpix1(const uves_propertylist *plist)
Find out the crpix1.
double uves_pfits_get_wlen1(const uves_propertylist *plist)
find out the WLEN1 wavelength value
void uves_flames_pfits_set_ccfposmax(uves_propertylist *plist, double ccfposmax)
Write the ccfposmax keyword (what is it?)
const char * uves_pfits_get_ctype2(const uves_propertylist *plist)
Find out the ctype2.
const char * uves_pfits_get_pipefile(const uves_propertylist *plist)
find out the pipefile
void uves_pfits_set_dpr_type(uves_propertylist *plist, const char *type)
Set DPR TYPE value.
double uves_pfits_get_airmass_start(const uves_propertylist *plist)
Find out the start airmass.
double uves_pfits_get_ron_adu(const uves_propertylist *plist, enum uves_chip chip)
Find out the readout noise in ADU.
void uves_pfits_set_offset(uves_propertylist *plist, double trace_offset)
Write the trace offset.
double uves_pfits_get_wend(const uves_propertylist *plist, int order)
Read the wend keyword.
double uves_pfits_get_conad(const uves_propertylist *plist, enum uves_chip chip)
Find out the conad.
const char * uves_pfits_get_ctype1(const uves_propertylist *plist)
Find out the ctype1.
int uves_pfits_get_ovrscany(const uves_propertylist *plist, enum uves_chip chip)
Find out the y-overscan.
cpl_error_code uves_pfits_set_crval2(uves_propertylist *plist, double crval2)
Write the crval2 keyword.