UVES Pipeline Reference Manual
5.4.6
|
Functions | |
void | uves_pfits_set_cd1 (uves_propertylist *plist, double value) |
Write the CD1 value. More... | |
void | uves_pfits_set_cd11 (uves_propertylist *plist, double value) |
Write the CD1_1 value. More... | |
void | uves_pfits_set_cd12 (uves_propertylist *plist, double value) |
Write the CD1_2 value. More... | |
void | uves_pfits_set_cd21 (uves_propertylist *plist, double value) |
Write the CD2_1 value. More... | |
void | uves_pfits_set_cd22 (uves_propertylist *plist, double value) |
Write the CD2_2 value. More... | |
int | uves_pfits_get_slit3_x1encoder (const uves_propertylist *plist) |
find out the value of UVES_ENCODER_REF1 More... | |
int | uves_pfits_get_slit3_x2encoder (const uves_propertylist *plist) |
find out the value of UVES_ENCODER_REF2 More... | |
int | uves_pfits_get_maxfibres (const uves_propertylist *plist) |
find out the frame More... | |
char | uves_pfits_get_chipchoice (const uves_propertylist *plist) |
find out the frame More... | |
const char * | uves_pfits_get_badpxframe (const uves_propertylist *plist) |
find out the frame More... | |
double | uves_pfits_get_ambipress (const uves_propertylist *plist) |
find out the arcfile More... | |
const char * | uves_pfits_get_arcfile (const uves_propertylist *plist) |
find out the arcfile More... | |
const char * | uves_flames_pfits_get_ident (const uves_propertylist *plist) |
find out the ident More... | |
const char * | uves_flames_pfits_get_object (const uves_propertylist *plist) |
find out the OBJECT More... | |
const char * | uves_pfits_get_origfile (const uves_propertylist *plist) |
find out the origfile More... | |
const char * | uves_pfits_get_pipefile (const uves_propertylist *plist) |
find out the pipefile More... | |
const char * | uves_pfits_get_rec1raw1name (const uves_propertylist *plist) |
find out the arcfile More... | |
const char * | uves_pfits_get_templateid (const uves_propertylist *plist) |
find out the template id More... | |
const char * | uves_pfits_get_date_obs (const uves_propertylist *plist) |
find out the date of observation More... | |
const char * | uves_pfits_get_dpr_catg (const uves_propertylist *plist) |
find out the data category as defined by the DataFlow More... | |
int | uves_pfits_get_ocs_simcal (const uves_propertylist *plist) |
Read the SIMCAL flag. More... | |
void | uves_pfits_set_ocs_simcal (uves_propertylist *plist, int simcal) |
Set the SIMCAL flag. More... | |
const char * | uves_pfits_get_pro_catg (const uves_propertylist *plist) |
find out the product category as defined by the DataFlow More... | |
const char * | uves_pfits_get_dpr_tech (const uves_propertylist *plist) |
find out the data tech as defined by the DataFlow More... | |
const char * | uves_pfits_get_dpr_type (const uves_propertylist *plist) |
find out the data type as defined by the DataFlow More... | |
bool | uves_ccd_is_new (const uves_propertylist *plist) |
Find out if CCD header is new. More... | |
bool | uves_format_is_new (const uves_propertylist *plist) |
Find out FITS header format. More... | |
int | uves_pfits_get_prescanx (const uves_propertylist *plist, enum uves_chip chip) |
Find out the x-prescan. More... | |
const char * | uves_pfits_get_chipid (const uves_propertylist *plist, enum uves_chip chip) |
Find out the chip ID. More... | |
const char * | uves_pfits_get_chip_name (const uves_propertylist *plist, enum uves_chip chip) |
Find out the chip name. More... | |
int | uves_pfits_get_ovrscanx (const uves_propertylist *plist, enum uves_chip chip) |
Find out the x-overscan. More... | |
int | uves_pfits_get_prescany (const uves_propertylist *plist, enum uves_chip chip) |
Find out the y-prescan. More... | |
int | uves_pfits_get_ovrscany (const uves_propertylist *plist, enum uves_chip chip) |
Find out the y-overscan. More... | |
double | uves_pfits_get_ron_adu (const uves_propertylist *plist, enum uves_chip chip) |
Find out the readout noise in ADU. More... | |
double | uves_pfits_get_tel_alt_start (const uves_propertylist *plist) |
Find out the start telescope altitude. More... | |
double | uves_pfits_get_airmass_start (const uves_propertylist *plist) |
Find out the start airmass. More... | |
double | uves_pfits_get_airmass_end (const uves_propertylist *plist) |
Find out the end airmass. More... | |
double | uves_pfits_get_conad (const uves_propertylist *plist, enum uves_chip chip) |
Find out the conad. More... | |
const char * | uves_pfits_get_targ_name (const uves_propertylist *plist) |
Get target name. More... | |
double | uves_pfits_get_gain (const uves_propertylist *plist, enum uves_chip chip) |
Find out the gain. More... | |
double | uves_pfits_get_exptime (const uves_propertylist *plist) |
Find out the exposure time in seconds. More... | |
cpl_error_code | uves_pfits_set_exptime (uves_propertylist *plist, double exptime) |
Write the exposure time. More... | |
void | uves_pfits_set_dec (uves_propertylist *plist, double dec) |
Write the declination. More... | |
void | uves_pfits_set_ra (uves_propertylist *plist, double ra) |
Write the right ascension. More... | |
cpl_error_code | uves_pfits_set_ordpred (uves_propertylist *plist, int nord) |
Write the predicted number of order. More... | |
const char * | uves_pfits_get_drs_id (const uves_propertylist *plist) |
Find out the drs id. More... | |
const char * | uves_pfits_get_tpl_start (const uves_propertylist *plist) |
Find out the tpl start. More... | |
double | uves_pfits_get_utc (const uves_propertylist *plist) |
Find out the observation time. More... | |
double | uves_pfits_get_mjdobs (const uves_propertylist *plist) |
Find out the modified julian observation date. More... | |
double | uves_pfits_get_geolat (const uves_propertylist *plist) |
Find out the telescope latitude. More... | |
double | uves_pfits_get_geolon (const uves_propertylist *plist) |
Find out the telescope longitude. More... | |
double | uves_pfits_get_ra (const uves_propertylist *plist) |
Find out the right ascension. More... | |
double | uves_pfits_get_dec (const uves_propertylist *plist) |
Find out the declination. More... | |
int | uves_pfits_get_binx (const uves_propertylist *plist) |
Find out the x binning factor. More... | |
int | uves_pfits_get_biny (const uves_propertylist *plist) |
Find out the y binning factor. More... | |
int | uves_pfits_get_datancom (const uves_propertylist *plist) |
Find out the number of input raw frames. More... | |
const char * | uves_pfits_get_ccdid (const uves_propertylist *plist) |
find out the ccd id More... | |
double | uves_pfits_get_pressure (const uves_propertylist *plist) |
find out the pressure value More... | |
const char * | uves_chop_eso_prefix (const char *key) |
chop the "ESO " prefix More... | |
double | uves_pfits_get_tempcam (const uves_propertylist *plist, enum uves_chip chip) |
find out the pressure value More... | |
double | uves_pfits_get_humidity (const uves_propertylist *plist) |
find out the humidity value More... | |
double | uves_pfits_get_wlen1 (const uves_propertylist *plist) |
find out the WLEN1 wavelength value More... | |
double | uves_pfits_get_gratwlen (const uves_propertylist *plist, enum uves_chip chip) |
find out the central wavelength More... | |
const char * | uves_pfits_get_insmode (const uves_propertylist *plist) |
find out the chip name value More... | |
const char * | uves_pfits_get_inspath (const uves_propertylist *plist) |
find out the chip name value More... | |
const char * | uves_pfits_get_gratname (const uves_propertylist *plist, enum uves_chip chip) |
find out the grating name value More... | |
const char * | uves_pfits_get_readspeed (const uves_propertylist *plist) |
find out the readout speed More... | |
const char * | uves_pfits_get_gratid (const uves_propertylist *plist, enum uves_chip chip) |
find out the grating ID value More... | |
double | uves_pfits_get_slitlength (const uves_propertylist *plist, enum uves_chip chip) |
find out the slit length More... | |
double | uves_pfits_get_slitwidth (const uves_propertylist *plist, enum uves_chip chip) |
find out the slit width More... | |
int | uves_pfits_get_ordpred (const uves_propertylist *plist) |
Read the predicted number of orders. More... | |
void | uves_pfits_set_history_val (uves_propertylist *plist, const char *name, const char *format,...) |
Write integer value to HISTORY keyword. More... | |
static double | parse_history (const uves_propertylist *plist, const char *name, cpl_type type) |
Parse the value of a HISTORY keyword. More... | |
void | uves_pfits_set_firstabsorder (uves_propertylist *plist, int first_abs_order) |
Write the first absolute order number. More... | |
int | uves_pfits_get_firstabsorder (const uves_propertylist *plist) |
Get first absolute order number. More... | |
void | uves_pfits_set_lastabsorder (uves_propertylist *plist, int last_abs_order) |
Write the last absolute order number. More... | |
int | uves_pfits_get_lastabsorder (const uves_propertylist *plist) |
Get last absolute order number. More... | |
cpl_error_code | uves_pfits_set_data_average (uves_propertylist *plist, double average) |
Write the average pixel value. More... | |
cpl_error_code | uves_pfits_set_data_stddev (uves_propertylist *plist, double stddev) |
Write the RMS error of pixel values. More... | |
cpl_error_code | uves_pfits_set_data_median (uves_propertylist *plist, double median) |
Write the median pixel value. More... | |
cpl_error_code | uves_pfits_set_data_min (uves_propertylist *plist, double min) |
Write the min pixel value. More... | |
cpl_error_code | uves_pfits_set_data_max (uves_propertylist *plist, double max) |
Write the max pixel value. More... | |
cpl_error_code | uves_pfits_set_wlen1 (uves_propertylist *plist, double wlen1) |
Write the WLEN1 value. More... | |
void | uves_pfits_set_traceid (uves_propertylist *plist, int trace_id) |
Write the trace ID. More... | |
double | uves_pfits_get_offset (const uves_propertylist *plist) |
Get the trace offset. More... | |
void | uves_pfits_set_offset (uves_propertylist *plist, double trace_offset) |
Write the trace offset. More... | |
void | uves_pfits_set_windownumber (uves_propertylist *plist, int window_number) |
Write the window number. More... | |
int | uves_pfits_get_traceid (const uves_propertylist *plist) |
Get the trace ID number. More... | |
int | uves_pfits_get_windownumber (const uves_propertylist *plist) |
Get the window number. More... | |
const char * | uves_pfits_get_bunit (const uves_propertylist *plist) |
Find out the bunit. More... | |
double | uves_pfits_get_bscale (const uves_propertylist *plist) |
Find out the bscale. More... | |
const char * | uves_pfits_get_cunit1 (const uves_propertylist *plist) |
Find out the cunit1. More... | |
const char * | uves_pfits_get_cunit2 (const uves_propertylist *plist) |
Find out the cunit2. More... | |
const char * | uves_pfits_get_ctype1 (const uves_propertylist *plist) |
Find out the ctype1. More... | |
const char * | uves_pfits_get_ctype2 (const uves_propertylist *plist) |
Find out the ctype2. More... | |
double | uves_pfits_get_uit (const uves_propertylist *plist) |
Find out the user integration time. More... | |
int | uves_pfits_get_nx (const uves_propertylist *plist, enum uves_chip chip) |
Find out the OUT1 NX or OUT4 NX. More... | |
int | uves_pfits_get_ny (const uves_propertylist *plist, enum uves_chip chip) |
Find out the OUT1 NY or OUT4 NY. More... | |
int | uves_pfits_get_out1nx (const uves_propertylist *plist) |
Find out the OUT1 NX. More... | |
int | uves_pfits_get_out1ny (const uves_propertylist *plist) |
Find out the OUT1 NY. More... | |
int | uves_pfits_get_out4nx (const uves_propertylist *plist) |
Find out the OUT4 NX. More... | |
int | uves_pfits_get_out4ny (const uves_propertylist *plist) |
Find out the OUT4 NY. More... | |
int | uves_pfits_get_naxis (const uves_propertylist *plist) |
Find out the NAXIS. More... | |
int | uves_flames_pfits_get_nflats (const uves_propertylist *plist) |
Find out the NFLATS. More... | |
int | uves_pfits_get_bitpix (const uves_propertylist *plist) |
Find out the BITPIX. More... | |
int | uves_pfits_get_naxis1 (const uves_propertylist *plist) |
Find out the NAXIS1. More... | |
double | uves_pfits_get_startx (const uves_propertylist *plist) |
Find out the START1. More... | |
double | uves_pfits_get_starty (const uves_propertylist *plist) |
Find out the STARTY. More... | |
int | uves_pfits_get_naxis2 (const uves_propertylist *plist) |
Find out the NAXIS2. More... | |
double | uves_pfits_get_crval1 (const uves_propertylist *plist) |
Find out the crval1. More... | |
double | uves_pfits_get_crval2 (const uves_propertylist *plist) |
Find out the crval2. More... | |
double | uves_pfits_get_crpix1 (const uves_propertylist *plist) |
Find out the crpix1. More... | |
double | uves_pfits_get_crpix2 (const uves_propertylist *plist) |
Find out the crpix2. More... | |
double | uves_pfits_get_cdelt1 (const uves_propertylist *plist) |
Find out the cdelt1. More... | |
double | uves_pfits_get_cdelt2 (const uves_propertylist *plist) |
Find out the cdelt2. More... | |
void | uves_pfits_set_dpr_catg (uves_propertylist *plist, const char *catg) |
Set DPR CATG value. More... | |
void | uves_pfits_set_dpr_tech (uves_propertylist *plist, const char *tech) |
Set DPR TECH value. More... | |
void | uves_pfits_set_dpr_type (uves_propertylist *plist, const char *type) |
Set DPR TYPE value. More... | |
cpl_error_code | uves_pfits_set_object (uves_propertylist *plist, const char *object) |
Write the object keyword. More... | |
cpl_error_code | uves_pfits_set_badpixcorr (uves_propertylist *plist, const char *corr) |
Write the object keyword. More... | |
cpl_error_code | uves_pfits_set_redlevel (uves_propertylist *plist, const char *redlevel) |
Write the reduction level. More... | |
cpl_error_code | uves_pfits_set_status (uves_propertylist *plist, const char *status) |
Write the status. More... | |
cpl_error_code | uves_pfits_set_starttime (uves_propertylist *plist, const char *start_time) |
Write the start time. More... | |
cpl_error_code | uves_pfits_set_stoptime (uves_propertylist *plist, const char *stop_time) |
Write the stop time. More... | |
cpl_error_code | uves_pfits_set_bunit (uves_propertylist *plist, const char *bunit) |
Write the bunit keyword. More... | |
cpl_error_code | uves_pfits_set_bscale (uves_propertylist *plist, const double bscale) |
Write the bscale keyword. More... | |
cpl_error_code | uves_pfits_set_tunit_no (uves_propertylist *plist, const int col_no, const char *tunit) |
Write the tunit keyword. More... | |
cpl_error_code | uves_pfits_set_bunit_no (uves_propertylist *plist, const int axis_no, const char *bunit) |
Write the bunit keyword. More... | |
cpl_error_code | uves_pfits_set_extname (uves_propertylist *plist, const char *extname) |
Write the EXTNAME keyword. More... | |
cpl_error_code | uves_pfits_set_ctype1 (uves_propertylist *plist, const char *ctype1) |
Write the ctype1 keyword. More... | |
cpl_error_code | uves_pfits_set_ctype2 (uves_propertylist *plist, const char *ctype2) |
Write the ctype2 keyword. More... | |
cpl_error_code | uves_pfits_set_cunit1 (uves_propertylist *plist, const char *cunit1) |
Write the cunit1 keyword. More... | |
cpl_error_code | uves_pfits_set_cunit2 (uves_propertylist *plist, const char *cunit2) |
Write the cunit2 keyword. More... | |
cpl_error_code | uves_pfits_set_crval1 (uves_propertylist *plist, double crval1) |
Write the crval1 keyword. More... | |
cpl_error_code | uves_pfits_set_crval2 (uves_propertylist *plist, double crval2) |
Write the crval2 keyword. More... | |
cpl_error_code | uves_pfits_set_crpix1 (uves_propertylist *plist, double crpix1) |
Write the crpix1 keyword. More... | |
cpl_error_code | uves_pfits_set_crpix2 (uves_propertylist *plist, double crpix2) |
Write the crpix2 keyword. More... | |
cpl_error_code | uves_pfits_set_cdelt1 (uves_propertylist *plist, double cdelt1) |
Write the cdelt1 keyword. More... | |
void | uves_flames_pfits_set_ccfposmax (uves_propertylist *plist, double ccfposmax) |
Write the ccfposmax keyword (what is it?) More... | |
cpl_error_code | uves_pfits_set_cdelt2 (uves_propertylist *plist, double cdelt2) |
Write the cdelt2 keyword. More... | |
void | uves_pfits_set_hs (uves_propertylist *plist, int hs) |
Write the 2d extractino slit length. More... | |
cpl_error_code | uves_pfits_set_wstart (uves_propertylist *plist, int order, double wstart) |
Write the wstart keyword. More... | |
double | uves_pfits_get_wstart (const uves_propertylist *plist, int order) |
Read the wstart keyword. More... | |
cpl_error_code | uves_pfits_set_wend (uves_propertylist *plist, int order, double wend) |
Write the wend keyword. More... | |
double | uves_pfits_get_wend (const uves_propertylist *plist, int order) |
Read the wend keyword. More... | |
double | uves_pfits_get_pixelscale (const uves_propertylist *plist) |
Get pixel scale. More... | |
const char * | uves_pfits_get_slit1_name (const uves_propertylist *plist) |
Get image slicer name. More... | |
double | uves_pfits_get_slitlength_pixels (const uves_propertylist *plist, enum uves_chip chip) |
Read the slit length in pixels. More... | |
int | uves_flames_pfits_get_plateid (const uves_propertylist *raw_header) |
read the plate id More... | |
double | uves_flames_pfits_get_dit (const uves_propertylist *plist) |
Find out the integration time. More... | |
void | uves_flames_pfits_set_newplateid (uves_propertylist *plist, int plate_no) |
Write the plate number. More... | |
Interface for reading/writing FITS keywords.
void uves_pfits_set_cd1 | ( | uves_propertylist * | plist, |
double | value | ||
) |
Write the CD1 value.
plist | Property list to write to |
value | The value to write |
Definition at line 79 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
void uves_pfits_set_cd11 | ( | uves_propertylist * | plist, |
double | value | ||
) |
Write the CD1_1 value.
plist | Property list to write to |
value | The value to write |
Definition at line 95 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
void uves_pfits_set_cd12 | ( | uves_propertylist * | plist, |
double | value | ||
) |
Write the CD1_2 value.
plist | Property list to write to |
value | The value to write |
Definition at line 110 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
void uves_pfits_set_cd21 | ( | uves_propertylist * | plist, |
double | value | ||
) |
Write the CD2_1 value.
plist | Property list to write to |
value | The value to write |
Definition at line 125 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
void uves_pfits_set_cd22 | ( | uves_propertylist * | plist, |
double | value | ||
) |
Write the CD2_2 value.
plist | Property list to write to |
value | The value to write |
Definition at line 140 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
int uves_pfits_get_slit3_x1encoder | ( | const uves_propertylist * | plist | ) |
find out the value of UVES_ENCODER_REF1
plist | FITS header |
Definition at line 156 of file uves_pfits.c.
References check, and uves_propertylist_get_int().
Referenced by uves_mflat_at_ypos().
int uves_pfits_get_slit3_x2encoder | ( | const uves_propertylist * | plist | ) |
find out the value of UVES_ENCODER_REF2
plist | FITS header |
Definition at line 174 of file uves_pfits.c.
References check, and uves_propertylist_get_int().
Referenced by uves_mflat_at_ypos().
int uves_pfits_get_maxfibres | ( | const uves_propertylist * | plist | ) |
find out the frame
plist | FITS header |
Definition at line 193 of file uves_pfits.c.
References check.
char uves_pfits_get_chipchoice | ( | const uves_propertylist * | plist | ) |
find out the frame
plist | FITS header |
Definition at line 212 of file uves_pfits.c.
References check, and uves_propertylist_get_char().
const char * uves_pfits_get_badpxframe | ( | const uves_propertylist * | plist | ) |
find out the frame
plist | FITS header |
Definition at line 229 of file uves_pfits.c.
References check.
double uves_pfits_get_ambipress | ( | const uves_propertylist * | plist | ) |
find out the arcfile
plist | FITS header |
Definition at line 251 of file uves_pfits.c.
References check.
const char * uves_pfits_get_arcfile | ( | const uves_propertylist * | plist | ) |
find out the arcfile
plist | FITS header |
Definition at line 272 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common(), and uves_save_paf().
const char * uves_flames_pfits_get_ident | ( | const uves_propertylist * | plist | ) |
find out the ident
plist | FITS header |
Definition at line 294 of file uves_pfits.c.
References check, and uves_propertylist_get_string().
const char * uves_flames_pfits_get_object | ( | const uves_propertylist * | plist | ) |
find out the OBJECT
plist | FITS header |
Definition at line 314 of file uves_pfits.c.
References check, and uves_propertylist_get_string().
const char * uves_pfits_get_origfile | ( | const uves_propertylist * | plist | ) |
find out the origfile
plist | FITS header |
Definition at line 334 of file uves_pfits.c.
References check.
Referenced by uves_physmod_plotmod().
const char * uves_pfits_get_pipefile | ( | const uves_propertylist * | plist | ) |
find out the pipefile
plist | FITS header |
Definition at line 355 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common().
const char * uves_pfits_get_rec1raw1name | ( | const uves_propertylist * | plist | ) |
find out the arcfile
plist | FITS header |
Definition at line 380 of file uves_pfits.c.
References check.
Referenced by uves_save_paf().
const char * uves_pfits_get_templateid | ( | const uves_propertylist * | plist | ) |
find out the template id
plist | FITS header |
Definition at line 399 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common(), and uves_save_paf().
const char * uves_pfits_get_date_obs | ( | const uves_propertylist * | plist | ) |
find out the date of observation
plist | FITS file name |
Definition at line 421 of file uves_pfits.c.
References check.
const char * uves_pfits_get_dpr_catg | ( | const uves_propertylist * | plist | ) |
find out the data category as defined by the DataFlow
plist | source FITS header |
Definition at line 440 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common(), and uves_save_paf().
int uves_pfits_get_ocs_simcal | ( | const uves_propertylist * | plist | ) |
Read the SIMCAL flag.
plist | source FITS header |
Definition at line 459 of file uves_pfits.c.
References check.
void uves_pfits_set_ocs_simcal | ( | uves_propertylist * | plist, |
int | simcal | ||
) |
Set the SIMCAL flag.
plist | FITS header |
simcal | value to write |
Definition at line 477 of file uves_pfits.c.
References check, and uves_propertylist_update_int().
const char * uves_pfits_get_pro_catg | ( | const uves_propertylist * | plist | ) |
find out the product category as defined by the DataFlow
plist | source FITS header |
Definition at line 494 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common().
const char * uves_pfits_get_dpr_tech | ( | const uves_propertylist * | plist | ) |
find out the data tech as defined by the DataFlow
plist | source FITS header |
Definition at line 513 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), and uves_save_paf().
const char * uves_pfits_get_dpr_type | ( | const uves_propertylist * | plist | ) |
find out the data type as defined by the DataFlow
plist | source FITS header |
Definition at line 532 of file uves_pfits.c.
References check.
Referenced by uves_save_paf().
bool uves_ccd_is_new | ( | const uves_propertylist * | plist | ) |
Find out if CCD header is new.
plist | Header to read from |
Definition at line 553 of file uves_pfits.c.
References check, and uves_pfits_get_mjdobs().
Referenced by uves_physmod_create_table(), and uves_reduce_scired().
bool uves_format_is_new | ( | const uves_propertylist * | plist | ) |
Find out FITS header format.
plist | Header to read from |
Definition at line 573 of file uves_pfits.c.
References check, and uves_pfits_get_mjdobs().
Referenced by uves_pfits_get_conad(), uves_pfits_get_gain(), uves_pfits_get_nx(), uves_pfits_get_ny(), uves_pfits_get_ovrscanx(), uves_pfits_get_ovrscany(), uves_pfits_get_prescanx(), uves_pfits_get_prescany(), uves_pfits_get_ron_adu(), and uves_pfits_get_uit().
int uves_pfits_get_prescanx | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the x-prescan.
plist | Header to read from |
chip | CCD chip |
Definition at line 594 of file uves_pfits.c.
References check, and uves_format_is_new().
const char * uves_pfits_get_chipid | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the chip ID.
plist | Header to read from |
chip | CCD chip |
Definition at line 619 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), uves_qclog_dump_common(), uves_reduce_mflat(), and uves_reduce_scired().
const char * uves_pfits_get_chip_name | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the chip name.
plist | Header to read from |
chip | CCD chip |
Definition at line 639 of file uves_pfits.c.
References check.
Referenced by uves_qclog_init().
int uves_pfits_get_ovrscanx | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the x-overscan.
plist | Header to read from |
chip | CCD chip |
Definition at line 659 of file uves_pfits.c.
References check, and uves_format_is_new().
int uves_pfits_get_prescany | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the y-prescan.
plist | Header to read from |
chip | CCD chip |
Definition at line 684 of file uves_pfits.c.
References check, and uves_format_is_new().
int uves_pfits_get_ovrscany | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the y-overscan.
plist | Header to read from |
chip | CCD chip |
Definition at line 710 of file uves_pfits.c.
References check, and uves_format_is_new().
double uves_pfits_get_ron_adu | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the readout noise in ADU.
plist | Header to read from |
chip | CCD chip |
The function reads the readout noise in electrons and multiplies by the gain (conversion factor from electrons to ADU).
An error is set if the readout noise is not positive.
Definition at line 740 of file uves_pfits.c.
References check, uves_format_is_new(), uves_msg_warning, and uves_pfits_get_gain().
Referenced by uves_define_noise().
double uves_pfits_get_tel_alt_start | ( | const uves_propertylist * | plist | ) |
Find out the start telescope altitude.
plist | Header to read from |
Definition at line 781 of file uves_pfits.c.
References check.
Referenced by uves_normalize_spectrum().
double uves_pfits_get_airmass_start | ( | const uves_propertylist * | plist | ) |
Find out the start airmass.
plist | Header to read from |
Definition at line 801 of file uves_pfits.c.
References check.
Referenced by uves_normalize_spectrum().
double uves_pfits_get_airmass_end | ( | const uves_propertylist * | plist | ) |
Find out the end airmass.
plist | Header to read from |
Definition at line 820 of file uves_pfits.c.
References check.
Referenced by uves_normalize_spectrum().
double uves_pfits_get_conad | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the conad.
plist | Header to read from |
chip | CCD chip |
Definition at line 840 of file uves_pfits.c.
References check, and uves_format_is_new().
const char * uves_pfits_get_targ_name | ( | const uves_propertylist * | plist | ) |
Get target name.
plist | Header to read from |
Definition at line 865 of file uves_pfits.c.
References check.
double uves_pfits_get_gain | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the gain.
plist | Header to read from |
chip | CCD chip |
The gain is in units of (ADU / el-).
Definition at line 887 of file uves_pfits.c.
References check, uves_format_is_new(), and uves_msg_warning.
Referenced by uves_define_noise(), uves_mflat_process_chip(), uves_normalize_spectrum(), and uves_pfits_get_ron_adu().
double uves_pfits_get_exptime | ( | const uves_propertylist * | plist | ) |
Find out the exposure time in seconds.
plist | Header to read from |
An error is set if the exposure time is negative. In that case this negative value is returned.
Definition at line 922 of file uves_pfits.c.
References check.
Referenced by tflat_qclog(), uves_define_noise(), uves_mflat_process_chip(), uves_normalize_spectrum(), uves_reduce(), and uves_subtract_dark().
cpl_error_code uves_pfits_set_exptime | ( | uves_propertylist * | plist, |
double | exptime | ||
) |
Write the exposure time.
plist | Property list to write to |
exptime | The value to write |
Definition at line 944 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
Referenced by uves_mflat_process_chip().
void uves_pfits_set_dec | ( | uves_propertylist * | plist, |
double | dec | ||
) |
Write the declination.
plist | Property list to write to |
dec | The value to write |
Definition at line 964 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by test_3dtable().
void uves_pfits_set_ra | ( | uves_propertylist * | plist, |
double | ra | ||
) |
Write the right ascension.
plist | Property list to write to |
ra | The value to write |
Definition at line 982 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by test_3dtable().
cpl_error_code uves_pfits_set_ordpred | ( | uves_propertylist * | plist, |
int | nord | ||
) |
Write the predicted number of order.
plist | Property list to write to |
nord | The value to write |
Definition at line 1000 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_int().
const char * uves_pfits_get_drs_id | ( | const uves_propertylist * | plist | ) |
Find out the drs id.
plist | Header to read from |
Definition at line 1017 of file uves_pfits.c.
References check.
const char * uves_pfits_get_tpl_start | ( | const uves_propertylist * | plist | ) |
Find out the tpl start.
plist | Header to read from |
Definition at line 1043 of file uves_pfits.c.
References check.
Referenced by uves_physmod_plotmod().
double uves_pfits_get_utc | ( | const uves_propertylist * | plist | ) |
Find out the observation time.
plist | Header to read from |
Definition at line 1067 of file uves_pfits.c.
References check.
Referenced by uves_baryvel().
double uves_pfits_get_mjdobs | ( | const uves_propertylist * | plist | ) |
Find out the modified julian observation date.
plist | Header to read from |
Definition at line 1086 of file uves_pfits.c.
References check.
Referenced by uves_baryvel(), uves_ccd_is_new(), and uves_format_is_new().
double uves_pfits_get_geolat | ( | const uves_propertylist * | plist | ) |
Find out the telescope latitude.
plist | Header to read from |
Definition at line 1104 of file uves_pfits.c.
References check.
Referenced by uves_baryvel().
double uves_pfits_get_geolon | ( | const uves_propertylist * | plist | ) |
Find out the telescope longitude.
plist | Header to read from |
Definition at line 1122 of file uves_pfits.c.
References check.
Referenced by uves_baryvel().
double uves_pfits_get_ra | ( | const uves_propertylist * | plist | ) |
Find out the right ascension.
plist | Header to read from |
Definition at line 1140 of file uves_pfits.c.
References check.
Referenced by uves_align(), and uves_baryvel().
double uves_pfits_get_dec | ( | const uves_propertylist * | plist | ) |
Find out the declination.
plist | Header to read from |
Definition at line 1158 of file uves_pfits.c.
References check.
Referenced by uves_align(), and uves_baryvel().
int uves_pfits_get_binx | ( | const uves_propertylist * | plist | ) |
Find out the x binning factor.
plist | Header to read from |
Definition at line 1176 of file uves_pfits.c.
References check.
Referenced by uves_image_mflat_detect_blemishes(), uves_pfits_get_slitlength_pixels(), uves_physmod_create_table(), uves_physmod_msrawxy(), uves_qclog_dump_common(), uves_qclog_init(), and uves_reduce_scired().
int uves_pfits_get_biny | ( | const uves_propertylist * | plist | ) |
Find out the y binning factor.
plist | Header to read from |
Definition at line 1194 of file uves_pfits.c.
References check.
Referenced by uves_image_mflat_detect_blemishes(), uves_normalize_spectrum(), uves_physmod_create_table(), uves_physmod_msrawxy(), uves_qclog_dump_common(), uves_qclog_init(), and uves_reduce_scired().
int uves_pfits_get_datancom | ( | const uves_propertylist * | plist | ) |
Find out the number of input raw frames.
plist | Header to read from |
Definition at line 1212 of file uves_pfits.c.
References check, uves_msg_warning, and uves_propertylist_contains().
Referenced by uves_reduce().
const char * uves_pfits_get_ccdid | ( | const uves_propertylist * | plist | ) |
find out the ccd id
plist | property list to read from |
Definition at line 1251 of file uves_pfits.c.
References check.
double uves_pfits_get_pressure | ( | const uves_propertylist * | plist | ) |
find out the pressure value
plist | property list to read from |
Definition at line 1269 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table().
const char * uves_chop_eso_prefix | ( | const char * | key | ) |
chop the "ESO " prefix
key | keyword name |
The function fails if the provided keyword does not start with "ESO "
Definition at line 1288 of file uves_pfits.c.
double uves_pfits_get_tempcam | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the pressure value
plist | property list to read from |
chip | CCD chip |
Definition at line 1313 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), uves_physmod_plotmod(), uves_qclog_add_common_wave(), and uves_qclog_dump_common_wave().
double uves_pfits_get_humidity | ( | const uves_propertylist * | plist | ) |
find out the humidity value
plist | property list to read from |
Definition at line 1332 of file uves_pfits.c.
References check.
double uves_pfits_get_wlen1 | ( | const uves_propertylist * | plist | ) |
find out the WLEN1 wavelength value
plist | property list to read from |
Definition at line 1350 of file uves_pfits.c.
References check.
double uves_pfits_get_gratwlen | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the central wavelength
plist | property list to read from |
chip | CCD chip |
Definition at line 1371 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), uves_physmod_plotmod(), uves_qclog_add_common_wave(), and uves_qclog_dump_common_wave().
const char * uves_pfits_get_insmode | ( | const uves_propertylist * | plist | ) |
find out the chip name value
plist | property list to read from |
Definition at line 1391 of file uves_pfits.c.
References check.
Referenced by tflat_qclog(), uves_qclog_dump_common(), and uves_qclog_init().
const char * uves_pfits_get_inspath | ( | const uves_propertylist * | plist | ) |
find out the chip name value
plist | property list to read from |
Definition at line 1409 of file uves_pfits.c.
References check.
Referenced by tflat_qclog(), uves_qclog_dump_common(), and uves_qclog_init().
const char * uves_pfits_get_gratname | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the grating name value
plist | property list to read from |
chip | CCD chip |
Definition at line 1427 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common(), and uves_qclog_init().
const char * uves_pfits_get_readspeed | ( | const uves_propertylist * | plist | ) |
find out the readout speed
plist | property list to read from |
chip | CCD chip |
Definition at line 1446 of file uves_pfits.c.
References check.
Referenced by uves_qclog_dump_common(), and uves_qclog_init().
const char * uves_pfits_get_gratid | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the grating ID value
plist | property list to read from |
chip | CCD chip |
Definition at line 1465 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table().
double uves_pfits_get_slitlength | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the slit length
plist | property list to read from |
chip | CCD chip |
Definition at line 1484 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), and uves_physmod_plotmod().
double uves_pfits_get_slitwidth | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
find out the slit width
plist | property list to read from |
chip | CCD chip |
Definition at line 1504 of file uves_pfits.c.
References check.
Referenced by uves_physmod_create_table(), uves_physmod_plotmod(), uves_qclog_add_common_wave(), and uves_qclog_dump_common_wave().
int uves_pfits_get_ordpred | ( | const uves_propertylist * | plist | ) |
Read the predicted number of orders.
plist | Header to read from |
Definition at line 1522 of file uves_pfits.c.
References check, uves_propertylist_contains(), uves_propertylist_get_type(), and uves_tostring_cpl_type().
void uves_pfits_set_history_val | ( | uves_propertylist * | plist, |
const char * | name, | ||
const char * | format, | ||
... | |||
) |
Write integer value to HISTORY keyword.
plist | property list to write to |
name | name |
format | printf-style argument, value to write |
This function adds a HISTORY keyword with value "[name] [value]". If a HISTORY entry with value prefix "[name] " already exists, the value will be changed (first match is used).
See also parse_history()
.
Definition at line 1579 of file uves_pfits.c.
References check, and uves_propertylist_get_size().
Referenced by uves_pfits_set_firstabsorder(), uves_pfits_set_lastabsorder(), uves_pfits_set_offset(), uves_pfits_set_traceid(), and uves_pfits_set_windownumber().
|
static |
Parse the value of a HISTORY keyword.
plist | property list to read from |
name | name |
type | integer or double |
This function will search for a HISTORY keyword containing the value "[name] [number]" where [name] is the specified name and number is an integer or double (the value to read).
The first "HISTORY [name] ..." entry will be read and it is an error if this doesn't contain a valid number string (also if a valid entry exists at a later point in the propertylist).
Definition at line 1653 of file uves_pfits.c.
References check, uves_propertylist_get_const(), uves_propertylist_get_size(), and uves_tostring_cpl_type().
Referenced by uves_pfits_get_firstabsorder(), uves_pfits_get_lastabsorder(), uves_pfits_get_offset(), uves_pfits_get_traceid(), and uves_pfits_get_windownumber().
void uves_pfits_set_firstabsorder | ( | uves_propertylist * | plist, |
int | first_abs_order | ||
) |
Write the first absolute order number.
plist | Property list to write to |
first_abs_order | The value to write |
Definition at line 1717 of file uves_pfits.c.
References uves_pfits_set_history_val().
Referenced by test_load_linetable().
int uves_pfits_get_firstabsorder | ( | const uves_propertylist * | plist | ) |
Get first absolute order number.
plist | Property list to read from |
Definition at line 1734 of file uves_pfits.c.
References parse_history().
Referenced by extract_ff_rebin_merge(), and uves_response_efficiency().
void uves_pfits_set_lastabsorder | ( | uves_propertylist * | plist, |
int | last_abs_order | ||
) |
Write the last absolute order number.
plist | Property list to write to |
last_abs_order | The value to write |
Definition at line 1750 of file uves_pfits.c.
References uves_pfits_set_history_val().
Referenced by test_load_linetable().
int uves_pfits_get_lastabsorder | ( | const uves_propertylist * | plist | ) |
Get last absolute order number.
plist | Property list to read from |
Definition at line 1764 of file uves_pfits.c.
References parse_history().
Referenced by extract_ff_rebin_merge(), and uves_response_efficiency().
cpl_error_code uves_pfits_set_data_average | ( | uves_propertylist * | plist, |
double | average | ||
) |
Write the average pixel value.
plist | Property list to write to |
average | The value to write |
Definition at line 1778 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_data_stddev | ( | uves_propertylist * | plist, |
double | stddev | ||
) |
Write the RMS error of pixel values.
plist | Property list to write to |
stddev | The value to write |
Definition at line 1796 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_data_median | ( | uves_propertylist * | plist, |
double | median | ||
) |
Write the median pixel value.
plist | Property list to write to |
median | The value to write |
Definition at line 1816 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_data_min | ( | uves_propertylist * | plist, |
double | min | ||
) |
Write the min pixel value.
plist | Property list to write to |
min | The value to write |
Definition at line 1834 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_data_max | ( | uves_propertylist * | plist, |
double | max | ||
) |
Write the max pixel value.
plist | Property list to write to |
max | The value to write |
Definition at line 1852 of file uves_pfits.c.
References check, uves_propertylist_set_comment(), and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_wlen1 | ( | uves_propertylist * | plist, |
double | wlen1 | ||
) |
Write the WLEN1 value.
plist | Property list to write to |
wlen1 | The value to write |
Definition at line 1873 of file uves_pfits.c.
References uves_propertylist_update_double().
void uves_pfits_set_traceid | ( | uves_propertylist * | plist, |
int | trace_id | ||
) |
Write the trace ID.
plist | Property list to write to |
trace_id | The value to write |
Definition at line 1888 of file uves_pfits.c.
References uves_pfits_set_history_val().
Referenced by test_load_linetable().
double uves_pfits_get_offset | ( | const uves_propertylist * | plist | ) |
Get the trace offset.
plist | Property list to read |
Definition at line 1902 of file uves_pfits.c.
References check, parse_history(), and uves_propertylist_contains().
Referenced by interpolate_wave().
void uves_pfits_set_offset | ( | uves_propertylist * | plist, |
double | trace_offset | ||
) |
Write the trace offset.
plist | Property list to write to |
trace_offset | The value to write |
Definition at line 1929 of file uves_pfits.c.
References uves_pfits_set_history_val().
void uves_pfits_set_windownumber | ( | uves_propertylist * | plist, |
int | window_number | ||
) |
Write the window number.
plist | Property list to write to |
window_number | The value to write |
Definition at line 1944 of file uves_pfits.c.
References uves_pfits_set_history_val().
Referenced by test_load_linetable().
int uves_pfits_get_traceid | ( | const uves_propertylist * | plist | ) |
Get the trace ID number.
plist | Property list to read from |
Definition at line 1959 of file uves_pfits.c.
References parse_history().
int uves_pfits_get_windownumber | ( | const uves_propertylist * | plist | ) |
Get the window number.
plist | Property list to read from |
Definition at line 1972 of file uves_pfits.c.
References parse_history().
const char * uves_pfits_get_bunit | ( | const uves_propertylist * | plist | ) |
Find out the bunit.
plist | Property list to read from |
Definition at line 1985 of file uves_pfits.c.
References check.
Referenced by uves_save_vector().
double uves_pfits_get_bscale | ( | const uves_propertylist * | plist | ) |
Find out the bscale.
plist | Property list to read from |
Definition at line 2004 of file uves_pfits.c.
References check.
const char * uves_pfits_get_cunit1 | ( | const uves_propertylist * | plist | ) |
Find out the cunit1.
plist | Property list to read from |
Definition at line 2024 of file uves_pfits.c.
References check.
const char * uves_pfits_get_cunit2 | ( | const uves_propertylist * | plist | ) |
Find out the cunit2.
plist | Property list to read from |
Definition at line 2043 of file uves_pfits.c.
References check.
const char * uves_pfits_get_ctype1 | ( | const uves_propertylist * | plist | ) |
Find out the ctype1.
plist | Property list to read from |
Definition at line 2062 of file uves_pfits.c.
References check.
const char * uves_pfits_get_ctype2 | ( | const uves_propertylist * | plist | ) |
Find out the ctype2.
plist | Property list to read from |
Definition at line 2081 of file uves_pfits.c.
References check.
double uves_pfits_get_uit | ( | const uves_propertylist * | plist | ) |
Find out the user integration time.
plist | Property list to read from |
Definition at line 2100 of file uves_pfits.c.
References check, and uves_format_is_new().
int uves_pfits_get_nx | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the OUT1 NX or OUT4 NX.
plist | Property list to read from |
chip | CCD chip |
Definition at line 2126 of file uves_pfits.c.
References check, and uves_format_is_new().
Referenced by uves_physmod_chop_otab(), and uves_physmod_regress_echelle().
int uves_pfits_get_ny | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Find out the OUT1 NY or OUT4 NY.
plist | Property list to read from |
chip | CCD chip |
Definition at line 2155 of file uves_pfits.c.
References check, and uves_format_is_new().
Referenced by uves_physmod_chop_otab(), and uves_physmod_regress_echelle().
int uves_pfits_get_out1nx | ( | const uves_propertylist * | plist | ) |
Find out the OUT1 NX.
plist | Property list to read from |
Definition at line 2182 of file uves_pfits.c.
References check.
int uves_pfits_get_out1ny | ( | const uves_propertylist * | plist | ) |
Find out the OUT1 NY.
plist | Property list to read from |
Definition at line 2201 of file uves_pfits.c.
References check.
int uves_pfits_get_out4nx | ( | const uves_propertylist * | plist | ) |
Find out the OUT4 NX.
plist | Property list to read from |
Definition at line 2220 of file uves_pfits.c.
References check.
int uves_pfits_get_out4ny | ( | const uves_propertylist * | plist | ) |
Find out the OUT4 NY.
plist | Property list to read from |
Definition at line 2239 of file uves_pfits.c.
References check.
int uves_pfits_get_naxis | ( | const uves_propertylist * | plist | ) |
Find out the NAXIS.
plist | Property list to read from |
Definition at line 2259 of file uves_pfits.c.
References check.
Referenced by flames_utl_unpack().
int uves_flames_pfits_get_nflats | ( | const uves_propertylist * | plist | ) |
Find out the NFLATS.
plist | Property list to read from |
Definition at line 2278 of file uves_pfits.c.
References check.
int uves_pfits_get_bitpix | ( | const uves_propertylist * | plist | ) |
Find out the BITPIX.
plist | Property list to read from |
Definition at line 2298 of file uves_pfits.c.
References check.
Referenced by flames_midas_scfinf().
int uves_pfits_get_naxis1 | ( | const uves_propertylist * | plist | ) |
Find out the NAXIS1.
plist | Property list to read from |
Definition at line 2316 of file uves_pfits.c.
References check.
Referenced by uves_physmod_regress_echelle().
double uves_pfits_get_startx | ( | const uves_propertylist * | plist | ) |
Find out the START1.
plist | Property list to read from |
Definition at line 2336 of file uves_pfits.c.
References check.
double uves_pfits_get_starty | ( | const uves_propertylist * | plist | ) |
Find out the STARTY.
plist | Property list to read from |
Definition at line 2356 of file uves_pfits.c.
References check.
int uves_pfits_get_naxis2 | ( | const uves_propertylist * | plist | ) |
Find out the NAXIS2.
plist | Property list to read from |
Definition at line 2375 of file uves_pfits.c.
References check.
Referenced by uves_physmod_regress_echelle().
double uves_pfits_get_crval1 | ( | const uves_propertylist * | plist | ) |
Find out the crval1.
plist | Property list to read from |
Definition at line 2393 of file uves_pfits.c.
References check.
Referenced by subtract_sky(), uves_calculate_response(), uves_normalize_spectrum(), uves_physmod_regress_echelle(), and uves_scired_process_chip().
double uves_pfits_get_crval2 | ( | const uves_propertylist * | plist | ) |
Find out the crval2.
plist | Property list to read from |
Definition at line 2411 of file uves_pfits.c.
References check.
Referenced by detect_lines(), and uves_physmod_regress_echelle().
double uves_pfits_get_crpix1 | ( | const uves_propertylist * | plist | ) |
Find out the crpix1.
plist | Property list to read from |
Definition at line 2429 of file uves_pfits.c.
References check.
double uves_pfits_get_crpix2 | ( | const uves_propertylist * | plist | ) |
Find out the crpix2.
plist | Property list to read from |
Definition at line 2447 of file uves_pfits.c.
References check.
double uves_pfits_get_cdelt1 | ( | const uves_propertylist * | plist | ) |
Find out the cdelt1.
plist | Property list to read from |
Definition at line 2465 of file uves_pfits.c.
References check.
Referenced by subtract_sky(), uves_calculate_response(), uves_merge_orders(), uves_normalize_spectrum(), uves_physmod_regress_echelle(), uves_response_efficiency(), and uves_scired_process_chip().
double uves_pfits_get_cdelt2 | ( | const uves_propertylist * | plist | ) |
Find out the cdelt2.
plist | Property list to read from |
Definition at line 2483 of file uves_pfits.c.
References check.
Referenced by uves_physmod_regress_echelle().
void uves_pfits_set_dpr_catg | ( | uves_propertylist * | plist, |
const char * | catg | ||
) |
Set DPR CATG value.
plist | Property list to read from |
catg | key value |
Definition at line 2504 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
void uves_pfits_set_dpr_tech | ( | uves_propertylist * | plist, |
const char * | tech | ||
) |
Set DPR TECH value.
plist | Property list to read from |
catg | key value |
Definition at line 2521 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
void uves_pfits_set_dpr_type | ( | uves_propertylist * | plist, |
const char * | type | ||
) |
Set DPR TYPE value.
plist | Property list to read from |
catg | key value |
Definition at line 2537 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_object | ( | uves_propertylist * | plist, |
const char * | object | ||
) |
Write the object keyword.
plist | Property list to write to |
object | The value to write |
Definition at line 2554 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_badpixcorr | ( | uves_propertylist * | plist, |
const char * | corr | ||
) |
Write the object keyword.
plist | Property list to write to |
corr | The value to write |
Definition at line 2571 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_correct_badpix().
cpl_error_code uves_pfits_set_redlevel | ( | uves_propertylist * | plist, |
const char * | redlevel | ||
) |
Write the reduction level.
plist | Property list to write to |
redlevel | The value to write |
Definition at line 2589 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_status | ( | uves_propertylist * | plist, |
const char * | status | ||
) |
Write the status.
plist | Property list to write to |
status | The value to write |
Definition at line 2607 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_starttime | ( | uves_propertylist * | plist, |
const char * | start_time | ||
) |
Write the start time.
plist | Property list to write to |
start_time | The value to write |
Definition at line 2625 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_stoptime | ( | uves_propertylist * | plist, |
const char * | stop_time | ||
) |
Write the stop time.
plist | Property list to write to |
stop_time | The value to write |
Definition at line 2642 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_bunit | ( | uves_propertylist * | plist, |
const char * | bunit | ||
) |
Write the bunit keyword.
plist | Property list to write to |
bunit | The value to write |
Definition at line 2660 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_initialize_image_header(), uves_reduce_scired(), and uves_save_vector().
cpl_error_code uves_pfits_set_bscale | ( | uves_propertylist * | plist, |
const double | bscale | ||
) |
Write the bscale keyword.
plist | Property list to write to |
bscale | The value to write |
Definition at line 2678 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header(), and uves_save_vector().
cpl_error_code uves_pfits_set_tunit_no | ( | uves_propertylist * | plist, |
const int | col_no, | ||
const char * | tunit | ||
) |
Write the tunit keyword.
plist | Property list to write to |
bunit | The value to write |
Definition at line 2697 of file uves_pfits.c.
References check, uves_msg, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_bunit_no | ( | uves_propertylist * | plist, |
const int | axis_no, | ||
const char * | bunit | ||
) |
Write the bunit keyword.
plist | Property list to write to |
bunit | The value to write |
Definition at line 2718 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
cpl_error_code uves_pfits_set_extname | ( | uves_propertylist * | plist, |
const char * | extname | ||
) |
Write the EXTNAME keyword.
plist | Property list to write to |
extname | The value to write |
Definition at line 2736 of file uves_pfits.c.
References check.
Referenced by uves_mflat_process_chip(), uves_reduce_mflat(), and uves_reduce_scired().
cpl_error_code uves_pfits_set_ctype1 | ( | uves_propertylist * | plist, |
const char * | ctype1 | ||
) |
Write the ctype1 keyword.
plist | Property list to write to |
ctype1 | The value to write |
Definition at line 2756 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_initialize_image_header(), and uves_reduce_scired().
cpl_error_code uves_pfits_set_ctype2 | ( | uves_propertylist * | plist, |
const char * | ctype2 | ||
) |
Write the ctype2 keyword.
plist | Property list to write to |
ctype2 | The value to write |
Definition at line 2773 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_initialize_image_header(), and uves_reduce_scired().
cpl_error_code uves_pfits_set_cunit1 | ( | uves_propertylist * | plist, |
const char * | cunit1 | ||
) |
Write the cunit1 keyword.
plist | Property list to write to |
cunit1 | The value to write |
Definition at line 2793 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_initialize_image_header().
cpl_error_code uves_pfits_set_cunit2 | ( | uves_propertylist * | plist, |
const char * | cunit2 | ||
) |
Write the cunit2 keyword.
plist | Property list to write to |
cunit2 | The value to write |
Definition at line 2811 of file uves_pfits.c.
References check, and uves_propertylist_update_string().
Referenced by uves_initialize_image_header().
cpl_error_code uves_pfits_set_crval1 | ( | uves_propertylist * | plist, |
double | crval1 | ||
) |
Write the crval1 keyword.
plist | Property list to write to |
crval1 | The value to write |
Definition at line 2829 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by subtract_sky(), and uves_initialize_image_header().
cpl_error_code uves_pfits_set_crval2 | ( | uves_propertylist * | plist, |
double | crval2 | ||
) |
Write the crval2 keyword.
plist | Property list to write to |
crval2 | The value to write |
Definition at line 2847 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header().
cpl_error_code uves_pfits_set_crpix1 | ( | uves_propertylist * | plist, |
double | crpix1 | ||
) |
Write the crpix1 keyword.
plist | Property list to write to |
crpix1 | The value to write |
Definition at line 2864 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header().
cpl_error_code uves_pfits_set_crpix2 | ( | uves_propertylist * | plist, |
double | crpix2 | ||
) |
Write the crpix2 keyword.
plist | Property list to write to |
crpix2 | The value to write |
Definition at line 2882 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header().
cpl_error_code uves_pfits_set_cdelt1 | ( | uves_propertylist * | plist, |
double | cdelt1 | ||
) |
Write the cdelt1 keyword.
plist | Property list to write to |
cdelt1 | The value to write |
Definition at line 2899 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header().
void uves_flames_pfits_set_ccfposmax | ( | uves_propertylist * | plist, |
double | ccfposmax | ||
) |
Write the ccfposmax keyword (what is it?)
plist | Property list to write to |
ccfposmax | The value to write |
Definition at line 2917 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
cpl_error_code uves_pfits_set_cdelt2 | ( | uves_propertylist * | plist, |
double | cdelt2 | ||
) |
Write the cdelt2 keyword.
plist | Property list to write to |
cdelt2 | The value to write |
Definition at line 2935 of file uves_pfits.c.
References check, and uves_propertylist_update_double().
Referenced by uves_initialize_image_header().
void uves_pfits_set_hs | ( | uves_propertylist * | plist, |
int | hs | ||
) |
Write the 2d extractino slit length.
plist | Property list to write to |
hs | The value to write |
Definition at line 2952 of file uves_pfits.c.
References check, and uves_propertylist_update_int().
Referenced by uves_reduce().
cpl_error_code uves_pfits_set_wstart | ( | uves_propertylist * | plist, |
int | order, | ||
double | wstart | ||
) |
Write the wstart keyword.
plist | Property list to write to |
order | Write WSTART keyword for this order number |
wstart | The value to write |
Definition at line 2972 of file uves_pfits.c.
References assure_mem, check, and uves_propertylist_update_double().
Referenced by subtract_sky(), and uves_rebin().
double uves_pfits_get_wstart | ( | const uves_propertylist * | plist, |
int | order | ||
) |
Read the wstart keyword.
plist | Property list to read |
order | Read WSTART keyword for this order number |
Definition at line 3004 of file uves_pfits.c.
References assure_mem, and check.
Referenced by subtract_sky(), uves_calculate_response(), uves_merge_orders(), uves_normalize_spectrum(), uves_rebin(), and uves_response_efficiency().
cpl_error_code uves_pfits_set_wend | ( | uves_propertylist * | plist, |
int | order, | ||
double | wend | ||
) |
Write the wend keyword.
plist | Property list to write to |
order | Write WEND keyword for this order number |
wend | The value to write |
Definition at line 3035 of file uves_pfits.c.
References assure_mem, check, and uves_propertylist_update_double().
Referenced by subtract_sky(), and uves_rebin().
double uves_pfits_get_wend | ( | const uves_propertylist * | plist, |
int | order | ||
) |
Read the wend keyword.
plist | Property list to read |
order | Read WEND keyword for this order number |
Definition at line 3067 of file uves_pfits.c.
References assure_mem, and check.
Referenced by subtract_sky(), uves_merge_orders(), and uves_response_efficiency().
double uves_pfits_get_pixelscale | ( | const uves_propertylist * | plist | ) |
Get pixel scale.
plist | Property list to read from |
Definition at line 3097 of file uves_pfits.c.
References check.
Referenced by uves_pfits_get_slitlength_pixels().
const char * uves_pfits_get_slit1_name | ( | const uves_propertylist * | plist | ) |
Get image slicer name.
plist | Property list to read from |
Definition at line 3116 of file uves_pfits.c.
References check.
Referenced by tflat_qclog(), uves_pfits_get_slitlength_pixels(), and uves_reduce().
double uves_pfits_get_slitlength_pixels | ( | const uves_propertylist * | plist, |
enum uves_chip | chip | ||
) |
Read the slit length in pixels.
plist | Property list to read |
chip | CCD chip |
The function returns the slit length in pixels taking into account the possible existence of an image slicer
Definition at line 3141 of file uves_pfits.c.
References check, check_nomsg, uves_pfits_get_binx(), uves_pfits_get_pixelscale(), and uves_pfits_get_slit1_name().
Referenced by uves_reduce().
int uves_flames_pfits_get_plateid | ( | const uves_propertylist * | raw_header | ) |
read the plate id
raw_header | FITS header |
Definition at line 3201 of file uves_pfits.c.
References check, uves_msg_warning, and uves_propertylist_contains().
Referenced by uves_physmod_create_table().
double uves_flames_pfits_get_dit | ( | const uves_propertylist * | plist | ) |
Find out the integration time.
plist | Header to read from |
Definition at line 3254 of file uves_pfits.c.
References check.
void uves_flames_pfits_set_newplateid | ( | uves_propertylist * | plist, |
int | plate_no | ||
) |
Write the plate number.
plist | Property list to write to |
plate_no | The value to write |
Definition at line 3273 of file uves_pfits.c.
References check, and uves_propertylist_update_int().