FITS header general KW access
[Tools: FITS header access]

Functions

double xsh_pfits_get_geolat (const cpl_propertylist *plist)
 Find out the telescope latitude.
double xsh_pfits_get_geolon (const cpl_propertylist *plist)
 Find out the telescope longitude.
double xsh_pfits_get_utc (const cpl_propertylist *plist)
 Find out the observation time.
double xsh_pfits_get_pixscale (const cpl_propertylist *plist)
 find out the number of chopping cycles
double xsh_pfits_get_posangle (const cpl_propertylist *plist)
 find out the value of the CUMOFFSETX keyword in a header
double xsh_pfits_get_mjdobs (const cpl_propertylist *plist)
 Find out the modified julian observation date.
int xsh_pfits_get_naxis (const cpl_propertylist *plist)
 find out the NAXIS value
int xsh_pfits_get_naxis1 (const cpl_propertylist *plist)
 find out the NAXIS1 value
int xsh_pfits_get_naxis2 (const cpl_propertylist *plist)
 find out the NAXIS2 value
int xsh_pfits_get_naxis3 (const cpl_propertylist *plist)
 find out the NAXIS3 value
XSH_ARM xsh_pfits_get_arm (const cpl_propertylist *plist)
int xsh_pfits_get_binx (const cpl_propertylist *plist)
 find out the BINX value
int xsh_pfits_get_biny (const cpl_propertylist *plist)
 find out the BINY value
int xsh_pfits_get_chip_nx (const cpl_propertylist *plist)
 find out the CHIP NX value
int xsh_pfits_get_chip_ny (const cpl_propertylist *plist)
 find out the CHIP NY value
int xsh_pfits_get_out_nx (const cpl_propertylist *plist)
 find out the OUT NX value
int xsh_pfits_get_out_ny (const cpl_propertylist *plist)
 find out the OUT NY value
int xsh_pfits_get_ovscx (const cpl_propertylist *plist)
 find out the OVSCX value
int xsh_pfits_get_ovscy (const cpl_propertylist *plist)
 find out the OVSCY value
int xsh_pfits_get_prscx (const cpl_propertylist *plist)
 find out the PRSCX value
int xsh_pfits_get_prscy (const cpl_propertylist *plist)
 find out the PRSCY value
double xsh_pfits_get_ron (const cpl_propertylist *plist)
 find out the RON value
double xsh_pfits_get_lst (const cpl_propertylist *plist)
 find out the LST value
double xsh_pfits_get_airm_start (const cpl_propertylist *plist)
 find out the TEL AIRM START value
double xsh_pfits_get_airm_mean (const cpl_propertylist *plist)
 find out the mean airmass value
double xsh_pfits_get_airm_end (const cpl_propertylist *plist)
 find out the TEL AIRM END value
double xsh_pfits_get_seeing_start (const cpl_propertylist *plist)
 find out the TEL AMBI START value (Seeing)
double xsh_pfits_get_seeing_end (const cpl_propertylist *plist)
 find out the TEL AMBI END value (Seeing)
double xsh_pfits_get_slit_width (const cpl_propertylist *plist, xsh_instrument *instrument)
 find out the INS OPTIx NAME value (the width of the slit)
char * xsh_pfits_get_slit_value (const cpl_propertylist *plist, xsh_instrument *instrument)
 find out the INS OPTIx NAME value (the width of the slit)
const char * xsh_pfits_get_telescop (const cpl_propertylist *plist)
 find out the TELESCOP value (telescope ID)
double xsh_pfits_get_gain (const cpl_propertylist *plist)
 find out the GAIN value
double xsh_pfits_get_conad (const cpl_propertylist *plist)
 find out the CONAD value
int xsh_pfits_get_datancom (const cpl_propertylist *plist)
 find out the DATANCOM value
double xsh_pfits_get_det_gain (const cpl_propertylist *plist)
 find out the ESO DET OUT1 GAIN value
double xsh_pfits_get_bias_left_median (cpl_propertylist *plist)
 find out the BIAS LEFT MEDIAN value
double xsh_pfits_get_bias_right_median (cpl_propertylist *plist)
 find out the BIAS RIGHT MEDIAN value
double xsh_pfits_get_bias_up_median (cpl_propertylist *plist)
 find out the BIAS UP MEDIAN value
double xsh_pfits_get_bias_down_median (cpl_propertylist *plist)
 find out the BIAS DOWN MEDIAN value
double xsh_pfits_get_bias_left_stdev (cpl_propertylist *plist)
 find out the BIAS LEFT STDEV value
double xsh_pfits_get_bias_right_stdev (cpl_propertylist *plist)
 find out the BIAS RIGHT STDEV value
double xsh_pfits_get_bias_up_stdev (cpl_propertylist *plist)
 find out the BIAS UP STDEV value
double xsh_pfits_get_bias_down_stdev (cpl_propertylist *plist)
 find out the BIAS DOWN STDEV value
cpl_error_code xsh_frame_force_pro_catg (const char *fname, const char *tag)
 Force a frame PRO.CATG to a given value.
void xsh_pfits_set_extname (cpl_propertylist *plist, const char *value)
 Write the EXTNAME value.
void xsh_pfits_set_arm (cpl_propertylist *plist, xsh_instrument *instr)
void xsh_pfits_set_pcatg (cpl_propertylist *plist, const char *value)
 Write the PCATG value.
void xsh_pfits_set_dpr_type (cpl_propertylist *plist, const char *value)
 Write the DPR TYPE value.
void xsh_pfits_set_dpr_catg (cpl_propertylist *plist, const char *value)
 Write the DPR CATG value.
void xsh_pfits_set_dpr_tech (cpl_propertylist *plist, const char *value)
 Write the DPR TECH value.
void xsh_pfits_set_nsat (cpl_propertylist *plist, int value)
 Write the number of saturated pixels value.
void xsh_pfits_set_frac_sat (cpl_propertylist *plist, double value)
 Write the fraction of saturated pixels value.
void xsh_pfits_set_n_range_pix (cpl_propertylist *plist, int value)
 Write the number of range pixels value.
void xsh_pfits_set_frac_range_pix (cpl_propertylist *plist, double value)
 Write the fraction of range pixels value.
void xsh_pfits_set_bias_left_median (cpl_propertylist *plist, double value)
 Write the BIAS LEFT MEDIAN value.
void xsh_pfits_set_bias_right_median (cpl_propertylist *plist, double value)
 Write the BIAS RIGHT MEDIAN value.
void xsh_pfits_set_bias_up_median (cpl_propertylist *plist, double value)
 Write the BIAS UP MEDIAN value.
void xsh_pfits_set_datancom (cpl_propertylist *plist, int value)
void xsh_pfits_set_bias_down_median (cpl_propertylist *plist, double value)
 Write the BIAS DOWN MEDIAN value.
void xsh_pfits_set_bias_left_stdev (cpl_propertylist *plist, double value)
 Write the BIAS LEFT STDEV value.
void xsh_pfits_set_bias_right_stdev (cpl_propertylist *plist, double value)
 Write the BIAS RIGHT STDEV value.
void xsh_pfits_set_bias_up_stdev (cpl_propertylist *plist, double value)
 Write the BIAS UP STDEV value.
void xsh_pfits_set_bias_down_stdev (cpl_propertylist *plist, double value)
 Write the BIAS DOWN STDEV value.
void xsh_pfits_set_dit (cpl_propertylist *plist, double dit)
 Write the DIT value.
void xsh_pfits_set_ndit (cpl_propertylist *plist, int ndit)
 Write the NDIT value.
double xsh_pfits_get_win1_dit1 (const cpl_propertylist *plist)
 find out the DET WIN1 DIT1 value
double xsh_pfits_get_dit (const cpl_propertylist *plist)
 find out the DIT value
int xsh_pfits_get_ndit (const cpl_propertylist *plist)
 find out the NDIT value
const char * xsh_pfits_get_raw1name (const cpl_propertylist *plist)
 find out the ESO.RAW1.NAME
const char * xsh_pfits_get_bunit (const cpl_propertylist *plist)
 find out the BUNIT
const char * xsh_pfits_get_cunit1 (const cpl_propertylist *plist)
 find out the CUNIT1
const char * xsh_pfits_get_cunit2 (const cpl_propertylist *plist)
 find out the CUNIT2
const char * xsh_pfits_get_cunit3 (const cpl_propertylist *plist)
 find out the CUNIT3
const char * xsh_pfits_get_raw1catg (const cpl_propertylist *plist)
 find out the ESO.RAW1.CATG
const char * xsh_pfits_get_obs_targ_name (const cpl_propertylist *plist)
 find out the ESO.OBS.TARG.NAME
const char * xsh_pfits_get_arcfile (const cpl_propertylist *plist)
 find out the arcfile
bool xsh_pfits_get_lamp_on_off (const cpl_propertylist *plist)
 find out the Lamp status (ON/OFF)
const char * xsh_pfits_get_pcatg (const cpl_propertylist *plist)
 find out the pcatg
const char * xsh_pfits_get_dpr_tech (const cpl_propertylist *plist)
 find out the DPR TECH
const char * xsh_pfits_get_dpr_type (const cpl_propertylist *plist)
 find out the DPR TECH
const char * xsh_pfits_get_dpr_catg (const cpl_propertylist *plist)
 find out the DPR CATG
const char * xsh_pfits_get_extname (const cpl_propertylist *plist)
 find out the EXTNAME
const char * xsh_pfits_get_date (const cpl_propertylist *plist)
 find out the DATE
const char * xsh_pfits_get_date_obs (const cpl_propertylist *plist)
 find out the DATE
double xsh_pfits_get_pszx (const cpl_propertylist *plist)
 find out the PSZX (size of 1 pixel in Microns)
double xsh_pfits_get_pszy (const cpl_propertylist *plist)
 find out the PSZY (size of 1 pixel in Microns)
double xsh_pfits_get_det_pxspace (const cpl_propertylist *plist)
 find out the DET CHIP PXSPACE
int xsh_pfits_get_FOCU1ENC (const cpl_propertylist *plist)
 find out the FOCU1 POS (UVB prism auto-focus temperature)
double xsh_pfits_get_temp5 (const cpl_propertylist *plist)
 find out the temp5 (VIS prism)
double xsh_pfits_get_temp2 (const cpl_propertylist *plist)
 find out the temp2 (UVB prism)
double xsh_pfits_get_temp82 (const cpl_propertylist *plist)
 find out the temp82 (NIR prisms)
double xsh_pfits_get_crval1 (const cpl_propertylist *plist)
 find out the crval1
double xsh_pfits_get_crval2 (const cpl_propertylist *plist)
 find out the crval2
double xsh_pfits_get_crval3 (const cpl_propertylist *plist)
 find out the crval3
double xsh_pfits_get_crpix1 (const cpl_propertylist *plist)
 find out the CRPIX1 value
double xsh_pfits_get_crpix2 (const cpl_propertylist *plist)
 find out the CRPIX2 value
double xsh_pfits_get_crpix3 (const cpl_propertylist *plist)
 find out the CRPIX3 value
double xsh_pfits_get_cd11 (const cpl_propertylist *plist)
 find out the cd1_1
double xsh_pfits_get_cd12 (const cpl_propertylist *plist)
 find out the cd1_2
double xsh_pfits_get_cd21 (const cpl_propertylist *plist)
 find out the cd2_1
double xsh_pfits_get_cd22 (const cpl_propertylist *plist)
 find out the cd2_2
double xsh_pfits_get_cd13 (const cpl_propertylist *plist)
 find out the cd1_3
double xsh_pfits_get_cd23 (const cpl_propertylist *plist)
 find out the cd2_3
double xsh_pfits_get_cd33 (const cpl_propertylist *plist)
 find out the cd3_3
double xsh_pfits_get_cd31 (const cpl_propertylist *plist)
 find out the cd3_1
double xsh_pfits_get_cd32 (const cpl_propertylist *plist)
 find out the cd3_2
double xsh_pfits_get_cdelt1 (const cpl_propertylist *plist)
 find out the cdelt1
double xsh_pfits_get_cdelt2 (const cpl_propertylist *plist)
 find out the cdelt2
double xsh_pfits_get_cdelt3 (const cpl_propertylist *plist)
 find out the cdelt3
double xsh_pfits_get_exptime (const cpl_propertylist *plist)
 find out the exposure time
double xsh_pfits_get_det_win1_uit1 (const cpl_propertylist *plist)
 find out the user defined exposure time
void xsh_pfits_set_exptime (cpl_propertylist *plist, double value)
 Write the EXPTIME value.
void xsh_pfits_set_cd1 (cpl_propertylist *plist, double value)
 Write the CD1 value.
void xsh_pfits_set_cd11 (cpl_propertylist *plist, double value)
 Write the CD1_1 value.
void xsh_pfits_set_cd12 (cpl_propertylist *plist, double value)
 Write the CD1_2 value.
void xsh_pfits_set_cd21 (cpl_propertylist *plist, double value)
 Write the CD2_1 value.
void xsh_pfits_set_cd22 (cpl_propertylist *plist, double value)
 Write the CD2_2 value.
void xsh_pfits_set_cd13 (cpl_propertylist *plist, double value)
 Write the CD1_3 value.
void xsh_pfits_set_cd23 (cpl_propertylist *plist, double value)
 Write the CD2_3 value.
void xsh_pfits_set_cd33 (cpl_propertylist *plist, double value)
 Write the CD3_3 value.
void xsh_pfits_set_cd32 (cpl_propertylist *plist, double value)
 Write the CD3_2 value.
void xsh_pfits_set_cd31 (cpl_propertylist *plist, double value)
 Write the CD3_2 value.
void xsh_pfits_set_crpix1 (cpl_propertylist *plist, double value)
 Write the CRPIX1 value.
void xsh_pfits_set_crval1 (cpl_propertylist *plist, double value)
 Write the CRVAL1 value.
void xsh_pfits_set_cdelt1 (cpl_propertylist *plist, double value)
 Write the CDELT1 value.
void xsh_pfits_set_crpix2 (cpl_propertylist *plist, double value)
 Write the CRPIX2 value.
void xsh_pfits_set_crpix3 (cpl_propertylist *plist, double value)
 Write the CRPIX3 value.
void xsh_pfits_set_crval2 (cpl_propertylist *plist, double value)
 Write the CRVAL2 value.
void xsh_pfits_set_crval3 (cpl_propertylist *plist, double value)
 Write the CRVAL3 value.
void xsh_pfits_set_cdelt2 (cpl_propertylist *plist, double value)
 Write the CDELT2 value.
void xsh_pfits_set_cdelt3 (cpl_propertylist *plist, double value)
 Write the CDELT3 value.
void xsh_pfits_set_bunit (cpl_propertylist *plist, const char *value)
 Write the BUNIT value.
void xsh_pfits_set_cunit1 (cpl_propertylist *plist, const char *value)
 Write the CUNIT1 value.
void xsh_pfits_set_cunit2 (cpl_propertylist *plist, const char *value)
 Write the CUNIT2 value.
void xsh_pfits_set_cunit3 (cpl_propertylist *plist, const char *value)
 Write the CUNIT1 value.
void xsh_pfits_set_ctype1 (cpl_propertylist *plist, const char *value)
 Write the CTYPE1 value.
void xsh_pfits_set_ctype2 (cpl_propertylist *plist, const char *value)
 Write the CTYPE2 value.
void xsh_pfits_set_ctype3 (cpl_propertylist *plist, const char *value)
 Write the CTYPE3 value.
void xsh_pfits_set_wavesol_lambda_min (cpl_propertylist *plist, double value)
 WRITE the min lambda.
void xsh_pfits_set_wavesol_lambda_max (cpl_propertylist *plist, double value)
 WRITE the max lambda.
void xsh_pfits_set_wavesol_order_min (cpl_propertylist *plist, double value)
 WRITE the min order.
void xsh_pfits_set_wavesol_order_max (cpl_propertylist *plist, double value)
 WRITE the max order.
void xsh_pfits_set_wavesol_slit_min (cpl_propertylist *plist, double value)
 WRITE the min slit.
void xsh_pfits_set_wavesol_slit_max (cpl_propertylist *plist, double value)
 WRITE the max slit.
void xsh_pfits_set_extract_slit_min (cpl_propertylist *plist, double value)
 WRITE the min slit for extraction.
void xsh_pfits_set_extract_slit_max (cpl_propertylist *plist, double value)
 WRITE the min slit for extraction.
void xsh_pfits_set_wavesol_x_min (cpl_propertylist *plist, double value)
 WRITE the min x.
void xsh_pfits_set_wavesol_x_max (cpl_propertylist *plist, double value)
 WRITE the max x position.
void xsh_pfits_set_wavesol_y_min (cpl_propertylist *plist, double value)
 WRITE the min y.
void xsh_pfits_set_wavesol_y_max (cpl_propertylist *plist, double value)
 WRITE the max y position.
double xsh_pfits_get_wavesol_lambda_min (cpl_propertylist *plist)
 find out the min lambda
double xsh_pfits_get_wavesol_lambda_max (cpl_propertylist *plist)
 find out the wavesol max lambda
double xsh_pfits_get_wavesol_order_min (cpl_propertylist *plist)
 find out the min order
double xsh_pfits_get_wavesol_order_max (cpl_propertylist *plist)
 find out the wavesol max order
double xsh_pfits_get_wavesol_slit_min (cpl_propertylist *plist)
 find out the min slit
double xsh_pfits_get_wavesol_slit_max (cpl_propertylist *plist)
 find out the wavesol max slit
double xsh_pfits_get_extract_slit_min (cpl_propertylist *plist)
 find out the extraction min slit
double xsh_pfits_get_extract_slit_max (cpl_propertylist *plist)
 find out the extraction min slit
double xsh_pfits_get_wavesol_x_min (cpl_propertylist *plist)
 find out the min x position
double xsh_pfits_get_wavesol_x_max (cpl_propertylist *plist)
 find out the wavesol max x position
double xsh_pfits_get_wavesol_y_min (cpl_propertylist *plist)
 find out the min y position
double xsh_pfits_get_wavesol_y_max (cpl_propertylist *plist)
 find out the wavesol max y position
const char * xsh_pfits_get_wavesoltype (const cpl_propertylist *plist)
 Find out the WAVESOL TYPE.
void xsh_pfits_set_wavesoltype (cpl_propertylist *plist, const char *value)
 Write the WAVESOL TYPE value.
void xsh_pfits_set_rectify_bin_lambda (cpl_propertylist *plist, double value)
 WRITE the lambda binning.
void xsh_pfits_set_rectify_bin_space (cpl_propertylist *plist, double value)
 WRITE the space (slit) binning.
void xsh_pfits_set_rectify_lambda_min (cpl_propertylist *plist, double value)
 WRITE the lambda min value.
void xsh_pfits_set_rectify_lambda_max (cpl_propertylist *plist, double value)
 WRITE the lambda max value.
void xsh_pfits_set_rectify_space_min (cpl_propertylist *plist, double value)
 WRITE the space (slit) min value.
void xsh_pfits_set_rectify_space_max (cpl_propertylist *plist, double value)
 WRITE the space (slit) max value.
double xsh_pfits_get_rectify_bin_lambda (cpl_propertylist *plist)
 find out the rectify lambda binning
double xsh_pfits_get_rectify_bin_space (cpl_propertylist *plist)
 find out the rectify space (slit) binning
double xsh_pfits_get_rectify_lambda_min (cpl_propertylist *plist)
 find out the rectify lambda min
double xsh_pfits_get_rectify_lambda_max (cpl_propertylist *plist)
 find out the rectify lambda max
double xsh_pfits_get_rectify_space_min (cpl_propertylist *plist)
 find out the rectify space min
double xsh_pfits_get_rectify_space_max (cpl_propertylist *plist)
 find out the rectify SPACE max
int xsh_pfits_get_obs_id (cpl_propertylist *plist)
 find out the OBS ID
int xsh_pfits_get_nb_pinhole (const cpl_propertylist *plist)
 Get the number of pinhole.
double xsh_pfits_get_tel_targ_alpha (const cpl_propertylist *plist)
 Get the TEL TARG ALPHA.
double xsh_pfits_get_tel_targ_delta (const cpl_propertylist *plist)
 Get the TEL TARG DELTA.
double xsh_pfits_get_ra (const cpl_propertylist *plist)
 Get the Right Ascension.
double xsh_pfits_get_dec (const cpl_propertylist *plist)
 Get the Right Ascension.
double xsh_pfits_get_posang (const cpl_propertylist *plist)
double xsh_pfits_get_ra_reloffset (const cpl_propertylist *plist)
double xsh_pfits_get_dec_reloffset (const cpl_propertylist *plist)
double xsh_pfits_get_cumoffsetx (const cpl_propertylist *plist)
double xsh_pfits_get_cumoffsety (const cpl_propertylist *plist)
double xsh_pfits_get_ra_cumoffset (const cpl_propertylist *plist)
double xsh_pfits_get_dec_cumoffset (const cpl_propertylist *plist)
double xsh_pfits_get_b_ra_reloffset (const cpl_propertylist *plist)
double xsh_pfits_get_b_dec_reloffset (const cpl_propertylist *plist)
double xsh_pfits_get_b_ra_cumoffset (const cpl_propertylist *plist)
double xsh_pfits_get_b_dec_cumoffset (const cpl_propertylist *plist)
void xsh_pfits_set_b_ra_reloffset (cpl_propertylist *plist, double value)
void xsh_pfits_set_b_dec_reloffset (cpl_propertylist *plist, double value)
void xsh_pfits_set_b_ra_cumoffset (cpl_propertylist *plist, double value)
void xsh_pfits_set_b_dec_cumoffset (cpl_propertylist *plist, double value)
void xsh_pfits_set_slitmap_order_edgup (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_slitmap_order_edglo (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_slitmap_order_slicup (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_slitmap_order_sliclo (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_slitmap_order_cen (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_slitmap_median_edgup (cpl_propertylist *plist, double value)
void xsh_pfits_set_slitmap_median_edglo (cpl_propertylist *plist, double value)
void xsh_pfits_set_slitmap_median_sliclo (cpl_propertylist *plist, double value)
void xsh_pfits_set_slitmap_median_slicup (cpl_propertylist *plist, double value)
void xsh_pfits_set_slitmap_median_cen (cpl_propertylist *plist, double value)
double xsh_pfits_get_slitmap_median_edgup (const cpl_propertylist *plist)
double xsh_pfits_get_slitmap_median_edglo (const cpl_propertylist *plist)
double xsh_pfits_get_slitmap_median_cen (const cpl_propertylist *plist)
double xsh_pfits_get_slitmap_median_slicup (const cpl_propertylist *plist)
double xsh_pfits_get_slitmap_median_sliclo (const cpl_propertylist *plist)
void xsh_pfits_set_wavemap_order_lambda_min (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_wavemap_order_lambda_max (cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_shiftifu_lambdaref (cpl_propertylist *plist, double value)
double xsh_pfits_get_shiftifu_lambdaref (cpl_propertylist *plist)
void xsh_pfits_set_shiftifu_slitref (cpl_propertylist *plist, double value)
void xsh_pfits_set_shiftifu_slitdownref (cpl_propertylist *plist, double value)
void xsh_pfits_set_shiftifu_slitcenref (cpl_propertylist *plist, double value)
void xsh_pfits_set_shiftifu_slitupref (cpl_propertylist *plist, double value)
double xsh_pfits_get_shiftifu_slitref (cpl_propertylist *plist)
double xsh_pfits_get_nod_reloffset (const cpl_propertylist *plist)
 Get the Relative Jitter Offset.
double xsh_pfits_get_nod_cumoffset (const cpl_propertylist *plist)
 Get the Cumulative Jitter Offset.
double xsh_pfits_get_nod_jitterwidth (const cpl_propertylist *plist)
 Get the Jitter Box size.
double xsh_pfits_get_nodthrow (const cpl_propertylist *plist)
 Get the Nod Throw value.
static cpl_error_code xsh_plist_set_extra_common_keys (cpl_propertylist *plist)
 set hdu keys
cpl_error_code xsh_plist_set_extra_keys (cpl_propertylist *plist, const char *hduclas1, const char *hduclas2, const char *hduclas3, const char *scidata, const char *errdata, const char *qualdata, const int type)
 set hdu keys
cpl_error_code xsh_pfits_set_wcs (cpl_propertylist *header, const double crpix1, const double crval1, const double cdelt1, const double crpix2, const double crval2, const double cdelt2)
static cpl_error_code xsh_key_bin_mult_by_fct (cpl_propertylist **plist, const char *kname, const int fct)
static cpl_error_code xsh_key_scan_div_by_fct (cpl_propertylist **plist, const char *kname, const int fct)
cpl_error_code xsh_plist_div_by_fct (cpl_propertylist **plist, const int fctx, const int fcty)

Function Documentation

cpl_error_code xsh_frame_force_pro_catg ( const char *  fname,
const char *  tag 
)

Force a frame PRO.CATG to a given value.

Parameters:
fname frame filename
tag frame tag
Returns:
0 if no error is detected,-1 else

Definition at line 864 of file xsh_pfits.c.

References check, xsh_free_image(), xsh_free_imagelist(), xsh_free_propertylist(), xsh_free_table(), xsh_msg_error, XSH_PCATG, and xsh_pfits_get_naxis().

static cpl_error_code xsh_key_bin_mult_by_fct ( cpl_propertylist **  plist,
const char *  kname,
const int  fct 
) [static]

Definition at line 4230 of file xsh_pfits.c.

References check, and xsh_get_property_value().

Referenced by xsh_plist_div_by_fct().

static cpl_error_code xsh_key_scan_div_by_fct ( cpl_propertylist **  plist,
const char *  kname,
const int  fct 
) [static]

Definition at line 4250 of file xsh_pfits.c.

References check, and xsh_get_property_value().

Referenced by xsh_plist_div_by_fct().

double xsh_pfits_get_airm_end ( const cpl_propertylist *  plist  ) 

find out the TEL AIRM END value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 487 of file xsh_pfits.c.

References XSH_AIRM_END, and xsh_get_property_value().

Referenced by xsh_calibrate_flux(), xsh_pfits_get_airm_mean(), xsh_util_efficiency2d(), and xsh_utils_compute_airm_eff().

double xsh_pfits_get_airm_mean ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_airm_start ( const cpl_propertylist *  plist  ) 

find out the TEL AIRM START value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 456 of file xsh_pfits.c.

References XSH_AIRM_START, and xsh_get_property_value().

Referenced by xsh_calibrate_flux(), xsh_pfits_get_airm_mean(), xsh_util_efficiency2d(), and xsh_utils_compute_airm_eff().

const char* xsh_pfits_get_arcfile ( const cpl_propertylist *  plist  ) 

find out the arcfile

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1505 of file xsh_pfits.c.

References check_msg, XSH_ARCFILE, and xsh_get_property_value().

Referenced by xsh_add_product_image(), xsh_add_product_imagelist(), and xsh_add_product_pre().

XSH_ARM xsh_pfits_get_arm ( const cpl_propertylist *  plist  ) 

Definition at line 230 of file xsh_pfits.c.

References xsh_arm_get(), XSH_ARM_UNDEFINED, XSH_PFITS_GET, and XSH_SEQ_ARM.

Referenced by main().

double xsh_pfits_get_b_dec_cumoffset ( const cpl_propertylist *  plist  ) 

Definition at line 3576 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_CUMULATIVE_B_OFFSET_DEC.

Referenced by compute_shift_with_kw().

double xsh_pfits_get_b_dec_reloffset ( const cpl_propertylist *  plist  ) 

Definition at line 3546 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_RELATIVE_B_OFFSET_DEC.

Referenced by compute_shift_with_kw().

double xsh_pfits_get_b_ra_cumoffset ( const cpl_propertylist *  plist  ) 

Definition at line 3561 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_CUMULATIVE_B_OFFSET_RA.

Referenced by compute_shift_with_kw().

double xsh_pfits_get_b_ra_reloffset ( const cpl_propertylist *  plist  ) 

Definition at line 3531 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_RELATIVE_B_OFFSET_RA.

Referenced by compute_shift_with_kw().

double xsh_pfits_get_bias_down_median ( cpl_propertylist *  plist  ) 

find out the BIAS DOWN MEDIAN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 766 of file xsh_pfits.c.

References check_msg, XSH_BIAS_DOWN_MEDIAN, and xsh_get_property_value().

double xsh_pfits_get_bias_down_stdev ( cpl_propertylist *  plist  ) 

find out the BIAS DOWN STDEV value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 844 of file xsh_pfits.c.

References check_msg, XSH_BIAS_DOWN_STDEV, and xsh_get_property_value().

double xsh_pfits_get_bias_left_median ( cpl_propertylist *  plist  ) 

find out the BIAS LEFT MEDIAN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 707 of file xsh_pfits.c.

References check_msg, XSH_BIAS_LEFT_MEDIAN, and xsh_get_property_value().

double xsh_pfits_get_bias_left_stdev ( cpl_propertylist *  plist  ) 

find out the BIAS LEFT STDEV value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 786 of file xsh_pfits.c.

References check_msg, XSH_BIAS_LEFT_STDEV, and xsh_get_property_value().

double xsh_pfits_get_bias_right_median ( cpl_propertylist *  plist  ) 

find out the BIAS RIGHT MEDIAN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 727 of file xsh_pfits.c.

References check_msg, XSH_BIAS_RIGHT_MEDIAN, and xsh_get_property_value().

double xsh_pfits_get_bias_right_stdev ( cpl_propertylist *  plist  ) 

find out the BIAS RIGHT STDEV value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 805 of file xsh_pfits.c.

References check_msg, XSH_BIAS_RIGHT_STDEV, and xsh_get_property_value().

double xsh_pfits_get_bias_up_median ( cpl_propertylist *  plist  ) 

find out the BIAS UP MEDIAN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 746 of file xsh_pfits.c.

References check_msg, XSH_BIAS_UP_MEDIAN, and xsh_get_property_value().

double xsh_pfits_get_bias_up_stdev ( cpl_propertylist *  plist  ) 

find out the BIAS UP STDEV value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 825 of file xsh_pfits.c.

References check_msg, XSH_BIAS_UP_STDEV, and xsh_get_property_value().

int xsh_pfits_get_binx ( const cpl_propertylist *  plist  ) 
int xsh_pfits_get_biny ( const cpl_propertylist *  plist  ) 
const char* xsh_pfits_get_bunit ( const cpl_propertylist *  plist  ) 

find out the BUNIT

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1383 of file xsh_pfits.c.

References check_msg, XSH_BUNIT, and xsh_get_property_value().

Referenced by xsh_merge_ord_with_tag().

double xsh_pfits_get_cd11 ( const cpl_propertylist *  plist  ) 

find out the cd1_1

Parameters:
plist property list to read from
Returns:
cd1_1

Definition at line 1933 of file xsh_pfits.c.

References check_msg, XSH_CD11, and xsh_get_property_value().

double xsh_pfits_get_cd12 ( const cpl_propertylist *  plist  ) 

find out the cd1_2

Parameters:
plist property list to read from
Returns:
cd1_2

Definition at line 1954 of file xsh_pfits.c.

References check_msg, XSH_CD12, and xsh_get_property_value().

double xsh_pfits_get_cd13 ( const cpl_propertylist *  plist  ) 

find out the cd1_3

Parameters:
plist property list to read from
Returns:
cd1_3

Definition at line 2012 of file xsh_pfits.c.

References check_msg, XSH_CD13, and xsh_get_property_value().

double xsh_pfits_get_cd21 ( const cpl_propertylist *  plist  ) 

find out the cd2_1

Parameters:
plist property list to read from
Returns:
cd2_1

Definition at line 1973 of file xsh_pfits.c.

References check_msg, XSH_CD21, and xsh_get_property_value().

double xsh_pfits_get_cd22 ( const cpl_propertylist *  plist  ) 

find out the cd2_2

Parameters:
plist property list to read from
Returns:
cd2_2

Definition at line 1993 of file xsh_pfits.c.

References check_msg, XSH_CD22, and xsh_get_property_value().

double xsh_pfits_get_cd23 ( const cpl_propertylist *  plist  ) 

find out the cd2_3

Parameters:
plist property list to read from
Returns:
cd2_3

Definition at line 2032 of file xsh_pfits.c.

References check_msg, XSH_CD23, and xsh_get_property_value().

double xsh_pfits_get_cd31 ( const cpl_propertylist *  plist  ) 

find out the cd3_1

Parameters:
plist property list to read from
Returns:
cd3_1

Definition at line 2071 of file xsh_pfits.c.

References check_msg, XSH_CD31, and xsh_get_property_value().

double xsh_pfits_get_cd32 ( const cpl_propertylist *  plist  ) 

find out the cd3_2

Parameters:
plist property list to read from
Returns:
cd3_2

Definition at line 2091 of file xsh_pfits.c.

References check_msg, XSH_CD32, and xsh_get_property_value().

double xsh_pfits_get_cd33 ( const cpl_propertylist *  plist  ) 

find out the cd3_3

Parameters:
plist property list to read from
Returns:
cd3_3

Definition at line 2052 of file xsh_pfits.c.

References check_msg, XSH_CD33, and xsh_get_property_value().

double xsh_pfits_get_cdelt1 ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_cdelt2 ( const cpl_propertylist *  plist  ) 

find out the cdelt2

Parameters:
plist property list to read from
Returns:
cdelt2

Definition at line 2132 of file xsh_pfits.c.

References check_msg, XSH_CDELT2, and xsh_get_property_value().

Referenced by main(), xsh_center_cube(), xsh_cube(), xsh_extract_local_clean(), xsh_format(), xsh_rec_list_load_eso(), xsh_set_cd_matrix2d(), xsh_spectrum_load(), xsh_spectrum_load_order(), xsh_spectrum_save(), and xsh_util_ima_rebin().

double xsh_pfits_get_cdelt3 ( const cpl_propertylist *  plist  ) 

find out the cdelt3

Parameters:
plist property list to read from
Returns:
cdelt3

Definition at line 2151 of file xsh_pfits.c.

References check_msg, XSH_CDELT3, and xsh_get_property_value().

Referenced by main(), xsh_center_cube(), xsh_cube_qc_trace_window(), and xsh_set_cd_matrix3d().

int xsh_pfits_get_chip_nx ( const cpl_propertylist *  plist  ) 

find out the CHIP NX value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 283 of file xsh_pfits.c.

References XSH_CHIP_NX, and XSH_PFITS_GET.

int xsh_pfits_get_chip_ny ( const cpl_propertylist *  plist  ) 

find out the CHIP NY value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 300 of file xsh_pfits.c.

References XSH_CHIP_NY, and XSH_PFITS_GET.

Referenced by xsh_pre_init().

double xsh_pfits_get_conad ( const cpl_propertylist *  plist  ) 

find out the CONAD value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 650 of file xsh_pfits.c.

References XSH_CONAD, and XSH_PFITS_GET.

Referenced by xsh_frame_sci_get_gain_airmass_exptime_naxis1_biny(), xsh_pre_init(), and xsh_util_efficiency2d().

double xsh_pfits_get_crpix1 ( const cpl_propertylist *  plist  ) 

find out the CRPIX1 value

Parameters:
plist Property list to write to

Definition at line 1881 of file xsh_pfits.c.

References check_msg, XSH_CRPIX1, and xsh_get_property_value().

Referenced by main(), xsh_cube(), xsh_spectrum_save(), and xsh_util_efficiency().

double xsh_pfits_get_crpix2 ( const cpl_propertylist *  plist  ) 

find out the CRPIX2 value

Parameters:
plist Property list to write to

Definition at line 1898 of file xsh_pfits.c.

References check_msg, XSH_CRPIX2, and xsh_get_property_value().

Referenced by main(), xsh_cube(), and xsh_spectrum_save().

double xsh_pfits_get_crpix3 ( const cpl_propertylist *  plist  ) 

find out the CRPIX3 value

Parameters:
plist Property list to write to

Definition at line 1915 of file xsh_pfits.c.

References check_msg, XSH_CRPIX3, and xsh_get_property_value().

Referenced by main().

double xsh_pfits_get_crval1 ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_crval2 ( const cpl_propertylist *  plist  ) 

find out the crval2

Parameters:
plist property list to read from
Returns:
crval2

Definition at line 1842 of file xsh_pfits.c.

References check_msg, XSH_CRVAL2, and xsh_get_property_value().

Referenced by main(), xsh_center_cube(), xsh_cube(), xsh_extract_local_clean(), xsh_format(), xsh_rec_list_load_eso(), xsh_spectrum_load(), xsh_spectrum_load_order(), and xsh_spectrum_save().

double xsh_pfits_get_crval3 ( const cpl_propertylist *  plist  ) 

find out the crval3

Parameters:
plist property list to read from
Returns:
crval3

Definition at line 1862 of file xsh_pfits.c.

References check_msg, XSH_CRVAL3, and xsh_get_property_value().

Referenced by main(), xsh_center_cube(), and xsh_cube_qc_trace_window().

double xsh_pfits_get_cumoffsetx ( const cpl_propertylist *  plist  ) 

Definition at line 3474 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_CUMULATIVE_OFFSETX.

double xsh_pfits_get_cumoffsety ( const cpl_propertylist *  plist  ) 
const char* xsh_pfits_get_cunit1 ( const cpl_propertylist *  plist  ) 

find out the CUNIT1

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1403 of file xsh_pfits.c.

References check_msg, XSH_CUNIT1, and xsh_get_property_value().

const char* xsh_pfits_get_cunit2 ( const cpl_propertylist *  plist  ) 

find out the CUNIT2

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1423 of file xsh_pfits.c.

References check_msg, XSH_CUNIT2, and xsh_get_property_value().

const char* xsh_pfits_get_cunit3 ( const cpl_propertylist *  plist  ) 

find out the CUNIT3

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1443 of file xsh_pfits.c.

References check_msg, XSH_CUNIT3, and xsh_get_property_value().

int xsh_pfits_get_datancom ( const cpl_propertylist *  plist  ) 

find out the DATANCOM value

Parameters:
plist The property list to read from
Returns:
The requested value

Definition at line 670 of file xsh_pfits.c.

References XSH_DATANCOM, and XSH_PFITS_GET.

const char* xsh_pfits_get_date ( const cpl_propertylist *  plist  ) 

find out the DATE

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1642 of file xsh_pfits.c.

References check_msg, XSH_DATE, and xsh_get_property_value().

Referenced by xsh_create_order_table().

const char* xsh_pfits_get_date_obs ( const cpl_propertylist *  plist  ) 

find out the DATE

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1662 of file xsh_pfits.c.

References check_msg, XSH_DATE_OBS, and xsh_get_property_value().

Referenced by xsh_order_frameset_by_date().

double xsh_pfits_get_dec ( const cpl_propertylist *  plist  ) 

Get the Right Ascension.

Parameters:
[in] plist property list to read from
Returns:
right ascension

Definition at line 3416 of file xsh_pfits.c.

References check_msg, XSH_DEC, and xsh_get_property_value().

Referenced by xsh_baryvel(), xsh_cube_set_wcs(), xsh_frame_sci_get_ra_dec_airmass(), xsh_get_std_obs_values(), and xsh_utils_get_airm().

double xsh_pfits_get_dec_cumoffset ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_dec_reloffset ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_det_gain ( const cpl_propertylist *  plist  ) 

find out the ESO DET OUT1 GAIN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 688 of file xsh_pfits.c.

References check_msg, XSH_DET_GAIN, and xsh_get_property_value().

Referenced by xsh_pre_init().

double xsh_pfits_get_det_pxspace ( const cpl_propertylist *  plist  ) 

find out the DET CHIP PXSPACE

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1719 of file xsh_pfits.c.

References check_msg, XSH_DET_PXSPACE, and xsh_get_property_value().

Referenced by xsh_pre_init().

double xsh_pfits_get_det_win1_uit1 ( const cpl_propertylist *  plist  ) 

find out the user defined exposure time

Parameters:
plist property list to read from
Returns:
Exposure time

Definition at line 2190 of file xsh_pfits.c.

References check_msg, XSH_DET_WIN1_UIT1, and xsh_get_property_value().

Referenced by xsh_frameset_check_uniform_exptime().

double xsh_pfits_get_dit ( const cpl_propertylist *  plist  ) 
const char* xsh_pfits_get_dpr_catg ( const cpl_propertylist *  plist  ) 

find out the DPR CATG

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1604 of file xsh_pfits.c.

References check_msg, XSH_DPR_CATG, and xsh_get_property_value().

Referenced by xsh_set_recipe_file_prefix().

const char* xsh_pfits_get_dpr_tech ( const cpl_propertylist *  plist  ) 

find out the DPR TECH

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1563 of file xsh_pfits.c.

References check_msg, XSH_DPR_TECH, and xsh_get_property_value().

Referenced by xsh_pfits_get_nb_pinhole().

const char* xsh_pfits_get_dpr_type ( const cpl_propertylist *  plist  ) 

find out the DPR TECH

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1583 of file xsh_pfits.c.

References check_msg, XSH_DPR_TYPE, and xsh_get_property_value().

Referenced by xsh_detect_arclines(), xsh_detect_arclines_dan(), and xsh_set_recipe_file_prefix().

double xsh_pfits_get_exptime ( const cpl_propertylist *  plist  ) 
const char* xsh_pfits_get_extname ( const cpl_propertylist *  plist  ) 

find out the EXTNAME

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1623 of file xsh_pfits.c.

References check_msg, XSH_EXTNAME, and xsh_get_property_value().

Referenced by xsh_pre_load(), and xsh_rec_list_load_eso().

double xsh_pfits_get_extract_slit_max ( cpl_propertylist *  plist  ) 

find out the extraction min slit

Parameters:
plist property list to read from
Returns:
the request value

Definition at line 2968 of file xsh_pfits.c.

References check_msg, XSH_EXTRACT_SLIT_MAX, and xsh_get_property_value().

Referenced by xsh_extract_clean_with_tag(), and xsh_extract_with_tag().

double xsh_pfits_get_extract_slit_min ( cpl_propertylist *  plist  ) 

find out the extraction min slit

Parameters:
plist property list to read from
Returns:
the request value

Definition at line 2949 of file xsh_pfits.c.

References check_msg, XSH_EXTRACT_SLIT_MIN, and xsh_get_property_value().

Referenced by xsh_extract_clean_with_tag(), and xsh_extract_with_tag().

int xsh_pfits_get_FOCU1ENC ( const cpl_propertylist *  plist  ) 

find out the FOCU1 POS (UVB prism auto-focus temperature)

Parameters:
plist property list to read from
Returns:
temp5

Definition at line 1740 of file xsh_pfits.c.

References check_msg, XSH_FOCU1ENC_VAL, and xsh_get_property_value().

Referenced by xsh_model_temperature_update_frame(), and xsh_model_temperature_update_structure().

double xsh_pfits_get_gain ( const cpl_propertylist *  plist  ) 

find out the GAIN value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 633 of file xsh_pfits.c.

References XSH_DET_GAIN, and XSH_PFITS_GET.

Referenced by xsh_compute_response(), xsh_compute_response_ord(), xsh_normalize_spectrum(), xsh_normalize_spectrum_ord(), xsh_obs_std_correct(), and xsh_subtract_sky_single().

double xsh_pfits_get_geolat ( const cpl_propertylist *  plist  ) 

Find out the telescope latitude.

Parameters:
plist Header to read from
Returns:
The requested value, or undefined on error

Definition at line 74 of file xsh_pfits.c.

References XSH_GEOLAT.

Referenced by xsh_baryvel().

double xsh_pfits_get_geolon ( const cpl_propertylist *  plist  ) 

Find out the telescope longitude.

Parameters:
plist Header to read from
Returns:
The requested value, or undefined on error

Definition at line 88 of file xsh_pfits.c.

References XSH_GEOLON.

Referenced by xsh_baryvel().

bool xsh_pfits_get_lamp_on_off ( const cpl_propertylist *  plist  ) 

find out the Lamp status (ON/OFF)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1523 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_LAMP_ON_OFF.

Referenced by xsh_linear_group_by_exptime().

double xsh_pfits_get_lst ( const cpl_propertylist *  plist  ) 

find out the LST value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 438 of file xsh_pfits.c.

References XSH_LST, and XSH_PFITS_GET.

Referenced by xsh_utils_get_airm().

double xsh_pfits_get_mjdobs ( const cpl_propertylist *  plist  ) 

Find out the modified julian observation date.

Parameters:
plist Header to read from
Returns:
The requested value, or undefined on error

Definition at line 146 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_MJDOBS.

Referenced by xsh_baryvel(), xsh_extract_nod_pairs(), xsh_extract_obj_and_sky_pairs(), xsh_gain(), and xsh_validate_model_cfg().

int xsh_pfits_get_naxis ( const cpl_propertylist *  plist  ) 
int xsh_pfits_get_naxis1 ( const cpl_propertylist *  plist  ) 
int xsh_pfits_get_naxis2 ( const cpl_propertylist *  plist  ) 

find out the NAXIS2 value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 204 of file xsh_pfits.c.

References XSH_NAXIS2, and XSH_PFITS_GET.

Referenced by xsh_absorp(), xsh_extract_local_clean(), xsh_geom_ifu(), xsh_pre_3d_init(), xsh_pre_create(), xsh_pre_init(), xsh_preoverscan_corr(), xsh_rec_list_load_eso(), xsh_spectrum_load(), and xsh_spectrum_load_order().

int xsh_pfits_get_naxis3 ( const cpl_propertylist *  plist  ) 

find out the NAXIS3 value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 220 of file xsh_pfits.c.

References XSH_NAXIS3, and XSH_PFITS_GET.

Referenced by xsh_pre_3d_init().

int xsh_pfits_get_nb_pinhole ( const cpl_propertylist *  plist  ) 

Get the number of pinhole.

Parameters:
[in] plist property list to read from
Returns:
Number of pinhole

Definition at line 3325 of file xsh_pfits.c.

References check, XSH_ASSURE_NOT_NULL, XSH_DPR_TECH_MULTI_PINHOLE, XSH_DPR_TECH_SINGLE_PINHOLE, xsh_error_msg, XSH_NB_PINHOLE, and xsh_pfits_get_dpr_tech().

Referenced by xsh_detect_arclines(), and xsh_detect_arclines_dan().

int xsh_pfits_get_ndit ( const cpl_propertylist *  plist  ) 

find out the NDIT value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1342 of file xsh_pfits.c.

References check_msg, XSH_DET_NDIT, and xsh_get_property_value().

Referenced by xsh_badpixelmap_flag_saturated_pixels().

double xsh_pfits_get_nod_cumoffset ( const cpl_propertylist *  plist  ) 

Get the Cumulative Jitter Offset.

Parameters:
[in] plist property list to read from
Returns:
cumoffset

Definition at line 4067 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), xsh_msg_dbg_high, XSH_NOD_CUMULATIVE_OFFSET_DEC, and XSH_NOD_CUMULATIVE_OFFSET_RA.

Referenced by xsh_rec_get_nod_kw().

double xsh_pfits_get_nod_jitterwidth ( const cpl_propertylist *  plist  ) 

Get the Jitter Box size.

Parameters:
[in] plist property list to read from
Returns:
cumoffset

Definition at line 4094 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_JITTER_BOX.

Referenced by xsh_frameset_dump_nod_info(), and xsh_rec_get_nod_kw().

double xsh_pfits_get_nod_reloffset ( const cpl_propertylist *  plist  ) 

Get the Relative Jitter Offset.

Parameters:
[in] plist property list to read from
Returns:
reloffset

Definition at line 4041 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), xsh_msg_dbg_high, XSH_NOD_RELATIVE_OFFSET_DEC, and XSH_NOD_RELATIVE_OFFSET_RA.

Referenced by xsh_rec_get_nod_kw().

double xsh_pfits_get_nodthrow ( const cpl_propertylist *  plist  ) 

Get the Nod Throw value.

Parameters:
[in] plist property list to read from
Returns:
nodthrow

Definition at line 4115 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_NOD_THROW.

Referenced by xsh_frameset_dump_nod_info(), and xsh_rec_get_nod_kw().

int xsh_pfits_get_obs_id ( cpl_propertylist *  plist  ) 

find out the OBS ID

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3304 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_OBS_ID.

Referenced by xsh_frame_check_model_cfg_is_proper_for_sci().

const char* xsh_pfits_get_obs_targ_name ( const cpl_propertylist *  plist  ) 

find out the ESO.OBS.TARG.NAME

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1485 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_OBS_TARG_NAME.

Referenced by xsh_frame_check_model_cfg_is_proper_for_sci().

int xsh_pfits_get_out_nx ( const cpl_propertylist *  plist  ) 

find out the OUT NX value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 317 of file xsh_pfits.c.

References XSH_OUT_NX, and XSH_PFITS_GET.

int xsh_pfits_get_out_ny ( const cpl_propertylist *  plist  ) 

find out the OUT NY value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 334 of file xsh_pfits.c.

References XSH_OUT_NY, and XSH_PFITS_GET.

int xsh_pfits_get_ovscx ( const cpl_propertylist *  plist  ) 

find out the OVSCX value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 351 of file xsh_pfits.c.

References XSH_OVSCX, and XSH_PFITS_GET.

Referenced by xsh_frame_image_div_by_fct(), xsh_frame_image_mult_by_fct(), xsh_pre_init(), xsh_preoverscan_corr(), and xsh_util_ima_rebin().

int xsh_pfits_get_ovscy ( const cpl_propertylist *  plist  ) 

find out the OVSCY value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 368 of file xsh_pfits.c.

References XSH_OVSCY, and XSH_PFITS_GET.

Referenced by xsh_frame_image_div_by_fct(), xsh_frame_image_mult_by_fct(), xsh_pre_init(), and xsh_util_ima_rebin().

const char* xsh_pfits_get_pcatg ( const cpl_propertylist *  plist  ) 

find out the pcatg

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1543 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_PCATG.

Referenced by create_instrument(), main(), xsh_ifu_trace_object_calibrate(), xsh_merge_ord_slitlet(), xsh_merge_ord_with_tag(), xsh_model_reduce(), and xsh_pre_save_product().

double xsh_pfits_get_pixscale ( const cpl_propertylist *  plist  ) 

find out the number of chopping cycles

Parameters:
plist FITS header
Returns:
pointer to statically allocated character string

Definition at line 118 of file xsh_pfits.c.

double xsh_pfits_get_posang ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_posangle ( const cpl_propertylist *  plist  ) 

find out the value of the CUMOFFSETX keyword in a header

Parameters:
plist FITS header
Returns:
keyword value

Definition at line 132 of file xsh_pfits.c.

Referenced by xsh_cube_set_wcs().

int xsh_pfits_get_prscx ( const cpl_propertylist *  plist  ) 

find out the PRSCX value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 385 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_PRSCX.

Referenced by xsh_frame_image_div_by_fct(), xsh_frame_image_mult_by_fct(), xsh_pre_init(), xsh_preoverscan_corr(), and xsh_util_ima_rebin().

int xsh_pfits_get_prscy ( const cpl_propertylist *  plist  ) 

find out the PRSCY value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 402 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_PRSCY.

Referenced by xsh_frame_image_div_by_fct(), xsh_frame_image_mult_by_fct(), xsh_pre_init(), and xsh_util_ima_rebin().

double xsh_pfits_get_pszx ( const cpl_propertylist *  plist  ) 

find out the PSZX (size of 1 pixel in Microns)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1681 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_PSZX.

Referenced by xsh_pre_init().

double xsh_pfits_get_pszy ( const cpl_propertylist *  plist  ) 

find out the PSZY (size of 1 pixel in Microns)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1700 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_PSZY.

Referenced by xsh_pre_init().

double xsh_pfits_get_ra ( const cpl_propertylist *  plist  ) 

Get the Right Ascension.

Parameters:
[in] plist property list to read from
Returns:
right ascension

Definition at line 3395 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RA.

Referenced by xsh_baryvel(), xsh_cube_set_wcs(), xsh_frame_sci_get_ra_dec_airmass(), xsh_get_std_obs_values(), and xsh_utils_get_airm().

double xsh_pfits_get_ra_cumoffset ( const cpl_propertylist *  plist  ) 
double xsh_pfits_get_ra_reloffset ( const cpl_propertylist *  plist  ) 
const char* xsh_pfits_get_raw1catg ( const cpl_propertylist *  plist  ) 

find out the ESO.RAW1.CATG

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1464 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RAW1_CATG.

Referenced by xsh_frame_check_model_cfg_is_afc_corrected().

const char* xsh_pfits_get_raw1name ( const cpl_propertylist *  plist  ) 

find out the ESO.RAW1.NAME

Parameters:
plist property list to read from
Returns:
pointer to statically allocated character string

Definition at line 1362 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RAW1_NAME.

double xsh_pfits_get_rectify_bin_lambda ( cpl_propertylist *  plist  ) 

find out the rectify lambda binning

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3200 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_BIN_LAMBDA.

Referenced by xsh_combine_nod(), xsh_format(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_rectify_bin_space ( cpl_propertylist *  plist  ) 

find out the rectify space (slit) binning

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3218 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_BIN_SPACE.

Referenced by shift_with_kw(), xsh_combine_nod(), xsh_extract_clean_with_tag(), xsh_extract_with_tag(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_rectify_lambda_max ( cpl_propertylist *  plist  ) 

find out the rectify lambda max

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3252 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_LAMBDA_MAX.

Referenced by xsh_combine_nod(), xsh_format(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_rectify_lambda_min ( cpl_propertylist *  plist  ) 

find out the rectify lambda min

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3235 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_LAMBDA_MIN.

Referenced by xsh_combine_nod(), xsh_format(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_rectify_space_max ( cpl_propertylist *  plist  ) 

find out the rectify SPACE max

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3286 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_SPACE_MAX.

Referenced by xsh_localize_ifu(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_rectify_space_min ( cpl_propertylist *  plist  ) 

find out the rectify space min

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3269 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_SPACE_MIN.

Referenced by xsh_localize_ifu(), and xsh_merge_ord_with_tag().

double xsh_pfits_get_ron ( const cpl_propertylist *  plist  ) 

find out the RON value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 419 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_RON.

Referenced by xsh_pre_init(), and xsh_subtract_sky_single().

double xsh_pfits_get_seeing_end ( const cpl_propertylist *  plist  ) 

find out the TEL AMBI END value (Seeing)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 521 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_SEEING_END.

Referenced by xsh_calibrate_flux(), and xsh_convert_seeing().

double xsh_pfits_get_seeing_start ( const cpl_propertylist *  plist  ) 

find out the TEL AMBI START value (Seeing)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 504 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_SEEING_START.

Referenced by xsh_calibrate_flux(), and xsh_convert_seeing().

double xsh_pfits_get_shiftifu_lambdaref ( cpl_propertylist *  plist  ) 
double xsh_pfits_get_shiftifu_slitref ( cpl_propertylist *  plist  ) 
char* xsh_pfits_get_slit_value ( const cpl_propertylist *  plist,
xsh_instrument instrument 
)

find out the INS OPTIx NAME value (the width of the slit)

Parameters:
plist property list to read from
instrument uinstrument arm setting
Returns:
the requested value

Definition at line 578 of file xsh_pfits.c.

References XSH_ARM_NIR, XSH_ARM_UNDEFINED, XSH_ARM_UVB, XSH_ARM_VIS, xsh_instrument_get_arm(), xsh_msg, XSH_PFITS_GET, XSH_SLIT_NIR, XSH_SLIT_UVB, and XSH_SLIT_VIS.

Referenced by xsh_frame_check_is_right_afcatt(), xsh_frame_check_model_cfg_is_proper_for_sci(), and xsh_instrument_nir_is_JH().

double xsh_pfits_get_slit_width ( const cpl_propertylist *  plist,
xsh_instrument instrument 
)

find out the INS OPTIx NAME value (the width of the slit)

Parameters:
plist property list to read from
instrument uinstrument arm setting
Returns:
the requested value

Definition at line 540 of file xsh_pfits.c.

References XSH_ARM_NIR, XSH_ARM_UNDEFINED, XSH_ARM_UVB, XSH_ARM_VIS, xsh_instrument_get_arm(), xsh_msg, XSH_PFITS_GET, XSH_SLIT_NIR, XSH_SLIT_UVB, and XSH_SLIT_VIS.

Referenced by xsh_calibrate_flux(), xsh_compute_absorp(), xsh_localize_ifu_slitlet(), and xsh_localize_obj_auto().

double xsh_pfits_get_slitmap_median_cen ( const cpl_propertylist *  plist  ) 

Definition at line 3846 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_SLITMAP_MEDIAN_CEN.

double xsh_pfits_get_slitmap_median_edglo ( const cpl_propertylist *  plist  ) 

Definition at line 3830 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_SLITMAP_MEDIAN_EDGLO.

Referenced by xsh_get_slit_edges().

double xsh_pfits_get_slitmap_median_edgup ( const cpl_propertylist *  plist  ) 

Definition at line 3814 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_SLITMAP_MEDIAN_EDGUP.

Referenced by xsh_get_slit_edges().

double xsh_pfits_get_slitmap_median_sliclo ( const cpl_propertylist *  plist  ) 

Definition at line 3878 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_SLITMAP_MEDIAN_SLICLO.

Referenced by xsh_get_slit_edges().

double xsh_pfits_get_slitmap_median_slicup ( const cpl_propertylist *  plist  ) 

Definition at line 3862 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_SLITMAP_MEDIAN_SLICUP.

Referenced by xsh_get_slit_edges().

double xsh_pfits_get_tel_targ_alpha ( const cpl_propertylist *  plist  ) 

Get the TEL TARG ALPHA.

Parameters:
[in] plist property list to read from
Returns:
right ascension of telescoce FOV centre

Definition at line 3355 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEL_TARG_ALPHA.

Referenced by xsh_build_ifu_map(), and xsh_cube_set_wcs().

double xsh_pfits_get_tel_targ_delta ( const cpl_propertylist *  plist  ) 

Get the TEL TARG DELTA.

Parameters:
[in] plist property list to read from
Returns:
declination of telescope centre

Definition at line 3375 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEL_TARG_DELTA.

Referenced by xsh_build_ifu_map(), and xsh_cube_set_wcs().

const char* xsh_pfits_get_telescop ( const cpl_propertylist *  plist  ) 

find out the TELESCOP value (telescope ID)

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 615 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TELESCOP.

Referenced by xsh_utils_get_airm().

double xsh_pfits_get_temp2 ( const cpl_propertylist *  plist  ) 

find out the temp2 (UVB prism)

Parameters:
plist property list to read from
Returns:
temp5

Definition at line 1782 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEMP2_VAL.

Referenced by xsh_model_temperature_update_frame(), and xsh_model_temperature_update_structure().

double xsh_pfits_get_temp5 ( const cpl_propertylist *  plist  ) 

find out the temp5 (VIS prism)

Parameters:
plist property list to read from
Returns:
temp5

Definition at line 1761 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEMP5_VAL.

Referenced by xsh_model_temperature_update_frame(), and xsh_model_temperature_update_structure().

double xsh_pfits_get_temp82 ( const cpl_propertylist *  plist  ) 

find out the temp82 (NIR prisms)

Parameters:
plist property list to read from
Returns:
temp5

Definition at line 1803 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEMP82_VAL.

Referenced by xsh_model_temperature_update_frame(), and xsh_model_temperature_update_structure().

double xsh_pfits_get_utc ( const cpl_propertylist *  plist  ) 

Find out the observation time.

Parameters:
plist Header to read from
Returns:
The requested value, or undefined on error

Definition at line 102 of file xsh_pfits.c.

References XSH_UTC.

Referenced by xsh_baryvel().

double xsh_pfits_get_wavesol_lambda_max ( cpl_propertylist *  plist  ) 

find out the wavesol max lambda

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 2854 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_LAMBDA_MAX.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_lambda_min ( cpl_propertylist *  plist  ) 

find out the min lambda

Parameters:
plist property list to read from
Returns:
The requested value

Definition at line 2835 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_LAMBDA_MIN.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_order_max ( cpl_propertylist *  plist  ) 

find out the wavesol max order

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 2892 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_ORDER_MAX.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_order_min ( cpl_propertylist *  plist  ) 

find out the min order

Parameters:
plist property list to read from
Returns:
the request value

Definition at line 2873 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_ORDER_MIN.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_slit_max ( cpl_propertylist *  plist  ) 

find out the wavesol max slit

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 2930 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_SLIT_MAX.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_slit_min ( cpl_propertylist *  plist  ) 

find out the min slit

Parameters:
plist property list to read from
Returns:
the request value

Definition at line 2911 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_SLIT_MIN.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_x_max ( cpl_propertylist *  plist  ) 

find out the wavesol max x position

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 3006 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_X_MAX.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_x_min ( cpl_propertylist *  plist  ) 

find out the min x position

Parameters:
plist property list to read from
Returns:
the request value

Definition at line 2987 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_X_MIN.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_y_max ( cpl_propertylist *  plist  ) 

find out the wavesol max y position

Parameters:
plist property list to read from
Returns:
double the requested value

Definition at line 3044 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_Y_MAX.

Referenced by xsh_wavesol_load().

double xsh_pfits_get_wavesol_y_min ( cpl_propertylist *  plist  ) 

find out the min y position

Parameters:
plist property list to read from
Returns:
double the request value

Definition at line 3025 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOL_Y_MIN.

Referenced by xsh_wavesol_load().

const char* xsh_pfits_get_wavesoltype ( const cpl_propertylist *  plist  ) 

Find out the WAVESOL TYPE.

Parameters:
plist The property list to read from
Returns:
The pointer to statically allocated character string

Definition at line 3067 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_WAVESOLTYPE.

Referenced by xsh_resid_tab_load().

double xsh_pfits_get_win1_dit1 ( const cpl_propertylist *  plist  ) 

find out the DET WIN1 DIT1 value

Parameters:
plist property list to read from
Returns:
the requested value

Definition at line 1301 of file xsh_pfits.c.

References check_msg, XSH_DET_WIN1_DIT1, and xsh_get_property_value().

Referenced by xsh_frame_sci_get_gain_airmass_exptime_naxis1_biny(), and xsh_util_efficiency2d().

void xsh_pfits_set_arm ( cpl_propertylist *  plist,
xsh_instrument instr 
)

Definition at line 946 of file xsh_pfits.c.

References check, check_msg, xsh_instrument_arm_tostring(), and XSH_SEQ_ARM.

Referenced by xsh_pre_init().

void xsh_pfits_set_b_dec_cumoffset ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3628 of file xsh_pfits.c.

References check_msg, and XSH_NOD_CUMULATIVE_B_OFFSET_DEC.

Referenced by save_pre_frame().

void xsh_pfits_set_b_dec_reloffset ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3603 of file xsh_pfits.c.

References check_msg, and XSH_NOD_RELATIVE_B_OFFSET_DEC.

Referenced by save_pre_frame().

void xsh_pfits_set_b_ra_cumoffset ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3616 of file xsh_pfits.c.

References check_msg, and XSH_NOD_CUMULATIVE_B_OFFSET_RA.

Referenced by save_pre_frame().

void xsh_pfits_set_b_ra_reloffset ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3591 of file xsh_pfits.c.

References check_msg, and XSH_NOD_RELATIVE_B_OFFSET_RA.

Referenced by save_pre_frame().

void xsh_pfits_set_bias_down_median ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS DOWN MEDIAN value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1184 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_DOWN_MEDIAN.

void xsh_pfits_set_bias_down_stdev ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS DOWN STDEV value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1252 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_DOWN_STDEV.

void xsh_pfits_set_bias_left_median ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS LEFT MEDIAN value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1111 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_LEFT_MEDIAN.

void xsh_pfits_set_bias_left_stdev ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS LEFT STDEV value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1201 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_LEFT_STDEV.

void xsh_pfits_set_bias_right_median ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS RIGHT MEDIAN value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1128 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_RIGHT_MEDIAN.

void xsh_pfits_set_bias_right_stdev ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS RIGHT STDEV value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1218 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_RIGHT_STDEV.

void xsh_pfits_set_bias_up_median ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS UP MEDIAN value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1145 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_UP_MEDIAN.

void xsh_pfits_set_bias_up_stdev ( cpl_propertylist *  plist,
double  value 
)

Write the BIAS UP STDEV value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1235 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_UP_STDEV.

void xsh_pfits_set_bunit ( cpl_propertylist *  plist,
const char *  value 
)

Write the BUNIT value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2522 of file xsh_pfits.c.

References check_msg, and XSH_BUNIT.

Referenced by xsh_merge_ord_with_tag(), xsh_pre_save(), xsh_preoverscan_corr(), xsh_rec_list_save(), xsh_rec_list_save2(), xsh_spectrum_save(), xsh_util_multiply_by_response(), and xsh_util_multiply_by_response_ord().

void xsh_pfits_set_cd1 ( cpl_propertylist *  plist,
double  value 
)

Write the CD1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2224 of file xsh_pfits.c.

References check_msg, and XSH_CD1.

Referenced by xsh_set_cd_matrix1d().

void xsh_pfits_set_cd11 ( cpl_propertylist *  plist,
double  value 
)

Write the CD1_1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2240 of file xsh_pfits.c.

References check_msg, and XSH_CD11.

Referenced by xsh_pfits_set_wcs(), xsh_set_cd_matrix2d(), and xsh_set_wcs().

void xsh_pfits_set_cd12 ( cpl_propertylist *  plist,
double  value 
)

Write the CD1_2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2255 of file xsh_pfits.c.

References check_msg, and XSH_CD12.

Referenced by xsh_pfits_set_wcs(), xsh_set_cd_matrix2d(), and xsh_set_wcs().

void xsh_pfits_set_cd13 ( cpl_propertylist *  plist,
double  value 
)

Write the CD1_3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2300 of file xsh_pfits.c.

References check_msg, and XSH_CD13.

Referenced by xsh_set_cd_matrix3d().

void xsh_pfits_set_cd21 ( cpl_propertylist *  plist,
double  value 
)

Write the CD2_1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2270 of file xsh_pfits.c.

References check_msg, and XSH_CD21.

Referenced by xsh_pfits_set_wcs(), xsh_set_cd_matrix2d(), and xsh_set_wcs().

void xsh_pfits_set_cd22 ( cpl_propertylist *  plist,
double  value 
)

Write the CD2_2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2285 of file xsh_pfits.c.

References check_msg, and XSH_CD22.

Referenced by xsh_pfits_set_wcs(), xsh_set_cd_matrix2d(), and xsh_set_wcs().

void xsh_pfits_set_cd23 ( cpl_propertylist *  plist,
double  value 
)

Write the CD2_3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2315 of file xsh_pfits.c.

References check_msg, and XSH_CD23.

Referenced by xsh_set_cd_matrix3d().

void xsh_pfits_set_cd31 ( cpl_propertylist *  plist,
double  value 
)

Write the CD3_2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2362 of file xsh_pfits.c.

References check_msg, and XSH_CD31.

Referenced by xsh_set_cd_matrix3d().

void xsh_pfits_set_cd32 ( cpl_propertylist *  plist,
double  value 
)

Write the CD3_2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2346 of file xsh_pfits.c.

References check_msg, and XSH_CD32.

Referenced by xsh_set_cd_matrix3d().

void xsh_pfits_set_cd33 ( cpl_propertylist *  plist,
double  value 
)

Write the CD3_3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2331 of file xsh_pfits.c.

References check_msg, and XSH_CD33.

Referenced by xsh_set_cd_matrix3d().

void xsh_pfits_set_cdelt1 ( cpl_propertylist *  plist,
double  value 
)

Write the CDELT1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2412 of file xsh_pfits.c.

References check_msg, and XSH_CDELT1.

Referenced by xsh_cube(), xsh_format(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), xsh_spectrum_save(), and xsh_util_ifu_build_cube().

void xsh_pfits_set_cdelt2 ( cpl_propertylist *  plist,
double  value 
)

Write the CDELT2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2491 of file xsh_pfits.c.

References check_msg, and XSH_CDELT2.

Referenced by xsh_cube(), and xsh_spectrum_2D_create().

void xsh_pfits_set_cdelt3 ( cpl_propertylist *  plist,
double  value 
)

Write the CDELT3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2507 of file xsh_pfits.c.

References check_msg, and XSH_CDELT3.

Referenced by xsh_cube(), and xsh_format().

void xsh_pfits_set_crpix1 ( cpl_propertylist *  plist,
double  value 
)

Write the CRPIX1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2379 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX1.

Referenced by xsh_cube(), xsh_format(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), and xsh_spectrum_save().

void xsh_pfits_set_crpix2 ( cpl_propertylist *  plist,
double  value 
)

Write the CRPIX2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2429 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX2.

Referenced by xsh_cube(), and xsh_spectrum_2D_create().

void xsh_pfits_set_crpix3 ( cpl_propertylist *  plist,
double  value 
)

Write the CRPIX3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2444 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX3.

Referenced by xsh_cube(), and xsh_format().

void xsh_pfits_set_crval1 ( cpl_propertylist *  plist,
double  value 
)

Write the CRVAL1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2396 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL1.

Referenced by xsh_cube(), xsh_format(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), xsh_spectrum_save(), and xsh_util_ifu_build_cube().

void xsh_pfits_set_crval2 ( cpl_propertylist *  plist,
double  value 
)

Write the CRVAL2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2460 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL2.

Referenced by xsh_cube(), xsh_format(), and xsh_spectrum_2D_create().

void xsh_pfits_set_crval3 ( cpl_propertylist *  plist,
double  value 
)

Write the CRVAL3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2475 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL3.

Referenced by xsh_cube(), and xsh_format().

void xsh_pfits_set_ctype1 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CTYPE1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2583 of file xsh_pfits.c.

References check_msg, and XSH_CTYPE1.

Referenced by xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), and xsh_spectrum_save().

void xsh_pfits_set_ctype2 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CTYPE2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2598 of file xsh_pfits.c.

References check_msg, and XSH_CTYPE2.

Referenced by xsh_spectrum_2D_create().

void xsh_pfits_set_ctype3 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CTYPE3 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2614 of file xsh_pfits.c.

References check_msg, and XSH_CTYPE3.

Referenced by xsh_cube(), and xsh_format().

void xsh_pfits_set_cunit1 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CUNIT1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2538 of file xsh_pfits.c.

References check_msg, and XSH_CUNIT1.

Referenced by xsh_cube(), and xsh_spectrum_save().

void xsh_pfits_set_cunit2 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CUNIT2 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2553 of file xsh_pfits.c.

References check_msg, and XSH_CUNIT2.

Referenced by xsh_cube().

void xsh_pfits_set_cunit3 ( cpl_propertylist *  plist,
const char *  value 
)

Write the CUNIT1 value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2568 of file xsh_pfits.c.

References check_msg, and XSH_CUNIT3.

Referenced by xsh_cube().

void xsh_pfits_set_datancom ( cpl_propertylist *  plist,
int  value 
)

Definition at line 1165 of file xsh_pfits.c.

References check_msg, and XSH_DATANCOM.

Referenced by xsh_create_master_bias2(), and xsh_remove_cosmics().

void xsh_pfits_set_dit ( cpl_propertylist *  plist,
double  dit 
)

Write the DIT value.

Parameters:
plist Property list to write to
dit The value to write

Definition at line 1268 of file xsh_pfits.c.

References check_msg, and XSH_DET_DIT.

Referenced by create_frame().

void xsh_pfits_set_dpr_catg ( cpl_propertylist *  plist,
const char *  value 
)

Write the DPR CATG value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1000 of file xsh_pfits.c.

References check_msg, and XSH_DPR_CATG.

void xsh_pfits_set_dpr_tech ( cpl_propertylist *  plist,
const char *  value 
)

Write the DPR TECH value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1017 of file xsh_pfits.c.

References check_msg, and XSH_DPR_TECH.

Referenced by xsh_pre_create().

void xsh_pfits_set_dpr_type ( cpl_propertylist *  plist,
const char *  value 
)

Write the DPR TYPE value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 983 of file xsh_pfits.c.

References check_msg, and XSH_DPR_TYPE.

void xsh_pfits_set_exptime ( cpl_propertylist *  plist,
double  value 
)

Write the EXPTIME value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2208 of file xsh_pfits.c.

References check_msg, and XSH_EXPTIME.

Referenced by xsh_create_master_dark(), and xsh_create_master_dark2().

void xsh_pfits_set_extname ( cpl_propertylist *  plist,
const char *  value 
)
void xsh_pfits_set_extract_slit_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the min slit for extraction.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2750 of file xsh_pfits.c.

References check_msg, and XSH_EXTRACT_SLIT_MAX.

Referenced by xsh_combine_nod(), and xsh_rec_list_save2().

void xsh_pfits_set_extract_slit_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min slit for extraction.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2731 of file xsh_pfits.c.

References check_msg, and XSH_EXTRACT_SLIT_MIN.

Referenced by xsh_combine_nod(), and xsh_rec_list_save2().

void xsh_pfits_set_frac_range_pix ( cpl_propertylist *  plist,
double  value 
)

Write the fraction of range pixels value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1092 of file xsh_pfits.c.

References check_msg, XSH_QC_FPIXRANGE, and XSH_QC_FPIXRANGE_C.

Referenced by xsh_pre_create().

void xsh_pfits_set_frac_sat ( cpl_propertylist *  plist,
double  value 
)

Write the fraction of saturated pixels value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1054 of file xsh_pfits.c.

References check_msg, XSH_QC_FPIXSAT, and XSH_QC_FPIXSAT_C.

Referenced by xsh_pre_create().

void xsh_pfits_set_n_range_pix ( cpl_propertylist *  plist,
int  value 
)

Write the number of range pixels value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1072 of file xsh_pfits.c.

References check_msg, XSH_QC_NPIXRANGE, and XSH_QC_NPIXRANGE_C.

Referenced by xsh_pre_create().

void xsh_pfits_set_ndit ( cpl_propertylist *  plist,
int  ndit 
)

Write the NDIT value.

Parameters:
plist Property list to write to
dit The value to write

Definition at line 1285 of file xsh_pfits.c.

References check_msg, and XSH_DET_NDIT.

Referenced by create_frame().

void xsh_pfits_set_nsat ( cpl_propertylist *  plist,
int  value 
)

Write the number of saturated pixels value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 1034 of file xsh_pfits.c.

References check_msg, XSH_QC_NPIXSAT, and XSH_QC_NPIXSAT_C.

Referenced by xsh_pre_create().

void xsh_pfits_set_pcatg ( cpl_propertylist *  plist,
const char *  value 
)

Write the PCATG value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 966 of file xsh_pfits.c.

References check_msg, and XSH_PCATG.

Referenced by xsh_add_product_image(), xsh_add_product_imagelist(), xsh_badpixelmap_crea_master_from_bpmap(), xsh_build_ifu_cube(), xsh_cfg_recover_extend_xy_pos_frm(), xsh_cfg_recover_gen_xyg_frame(), xsh_check_load_master_bpmap(), xsh_combine_nod(), xsh_compute_qc_on_master_bias(), xsh_create_master_flat(), xsh_create_master_flat_with_mask(), xsh_cube(), xsh_detect_arclines(), xsh_detect_arclines_dan(), xsh_dispersol_list_save(), xsh_dispersol_list_to_slitmap(), xsh_dispersol_list_to_wavemap(), xsh_extract_clean_with_tag(), xsh_extract_with_tag(), xsh_flat_merge_qth_d2(), xsh_flat_merge_qth_d2_smooth(), xsh_flexcor(), xsh_format(), xsh_get_master_dark_nir_via_noise(), xsh_ifu_trace_object_calibrate(), xsh_linetilt_list_save(), xsh_model_maps_create(), xsh_model_order_edges_tab_create(), xsh_model_pipe_anneal(), xsh_model_spectralformat_create(), xsh_normalize_spectrum_image_slice(), xsh_opt_extract_orders(), xsh_order_list_save(), xsh_phys_spectrum_save(), xsh_pre_save(), xsh_rec_list_update_header(), xsh_resid_order_save(), xsh_resid_tab_save(), xsh_shift_tab_save(), xsh_spectrum_interpolate(), xsh_spectrum_interpolate_linear(), xsh_spectrum_save(), xsh_spectrum_save_order(), xsh_subtract_background(), xsh_subtract_bias(), xsh_util_bpmap_coadd(), xsh_util_multiply_by_response(), xsh_util_multiply_by_response_ord(), xsh_util_physmod_model_THE_create(), and xsh_wavesol_save().

void xsh_pfits_set_rectify_bin_lambda ( cpl_propertylist *  plist,
double  value 
)

WRITE the lambda binning.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3104 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_BIN_LAMBDA.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), and xsh_rec_list_update_header().

void xsh_pfits_set_rectify_bin_space ( cpl_propertylist *  plist,
double  value 
)

WRITE the space (slit) binning.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3120 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_BIN_SPACE.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), and xsh_rec_list_update_header().

void xsh_pfits_set_rectify_lambda_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the lambda max value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3152 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_LAMBDA_MAX.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), and xsh_rec_list_update_header().

void xsh_pfits_set_rectify_lambda_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the lambda min value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3136 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_LAMBDA_MIN.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), and xsh_rec_list_update_header().

void xsh_pfits_set_rectify_space_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the space (slit) max value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3184 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_SPACE_MAX.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), xsh_rec_list_update_header(), and xsh_shift().

void xsh_pfits_set_rectify_space_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the space (slit) min value.

Parameters:
plist Property list to write to
value The value to write

Definition at line 3168 of file xsh_pfits.c.

References check_msg, and XSH_RECTIFY_SPACE_MIN.

Referenced by xsh_combine_nod(), xsh_opt_extract_orders(), xsh_rec_list_update_header(), and xsh_shift().

void xsh_pfits_set_shiftifu_lambdaref ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_shiftifu_slitcenref ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3990 of file xsh_pfits.c.

References check_msg, and XSH_SHIFTIFU_SLITCENREF.

Referenced by xsh_cube().

void xsh_pfits_set_shiftifu_slitdownref ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3975 of file xsh_pfits.c.

References check_msg, and XSH_SHIFTIFU_SLITDOWNREF.

Referenced by xsh_cube().

void xsh_pfits_set_shiftifu_slitref ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_shiftifu_slitupref ( cpl_propertylist *  plist,
double  value 
)

Definition at line 4005 of file xsh_pfits.c.

References check_msg, and XSH_SHIFTIFU_SLITUPREF.

Referenced by xsh_cube().

void xsh_pfits_set_slitmap_median_cen ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3797 of file xsh_pfits.c.

References check_msg, and XSH_SLITMAP_MEDIAN_CEN.

Referenced by xsh_dispersol_list_to_slitmap(), and xsh_model_compute_slitmap_kw().

void xsh_pfits_set_slitmap_median_edglo ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_slitmap_median_edgup ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_slitmap_median_sliclo ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_slitmap_median_slicup ( cpl_propertylist *  plist,
double  value 
)
void xsh_pfits_set_slitmap_order_cen ( cpl_propertylist *  plist,
int  absorder,
double  value 
)

Definition at line 3710 of file xsh_pfits.c.

References check_msg, and XSH_SLITMAP_ORDER_CEN.

Referenced by xsh_dispersol_list_to_slitmap(), and xsh_model_compute_slitmap_kw().

void xsh_pfits_set_slitmap_order_edglo ( cpl_propertylist *  plist,
int  absorder,
double  value 
)

Definition at line 3658 of file xsh_pfits.c.

References check_msg, and XSH_SLITMAP_ORDER_EDGLO.

Referenced by xsh_dispersol_list_to_slitmap(), and xsh_model_compute_slitmap_kw().

void xsh_pfits_set_slitmap_order_edgup ( cpl_propertylist *  plist,
int  absorder,
double  value 
)

Definition at line 3640 of file xsh_pfits.c.

References check_msg, and XSH_SLITMAP_ORDER_EDGUP.

Referenced by xsh_dispersol_list_to_slitmap(), and xsh_model_compute_slitmap_kw().

void xsh_pfits_set_slitmap_order_sliclo ( cpl_propertylist *  plist,
int  absorder,
double  value 
)
void xsh_pfits_set_slitmap_order_slicup ( cpl_propertylist *  plist,
int  absorder,
double  value 
)
void xsh_pfits_set_wavemap_order_lambda_max ( cpl_propertylist *  plist,
int  absorder,
double  value 
)

Definition at line 3913 of file xsh_pfits.c.

References check_msg, and XSH_WAVEMAP_ORDER_LAMBDA_MAX.

Referenced by xsh_dispersol_list_to_wavemap().

void xsh_pfits_set_wavemap_order_lambda_min ( cpl_propertylist *  plist,
int  absorder,
double  value 
)

Definition at line 3895 of file xsh_pfits.c.

References check_msg, and XSH_WAVEMAP_ORDER_LAMBDA_MIN.

Referenced by xsh_dispersol_list_to_wavemap().

void xsh_pfits_set_wavesol_lambda_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the max lambda.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2646 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_LAMBDA_MAX.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_lambda_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min lambda.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2629 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_LAMBDA_MIN.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_order_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the max order.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2680 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_ORDER_MAX.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_order_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min order.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2663 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_ORDER_MIN.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_slit_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the max slit.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2714 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_SLIT_MAX.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_slit_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min slit.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2697 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_SLIT_MIN.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_x_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the max x position.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2783 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_X_MAX.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_x_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min x.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2766 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_X_MIN.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_y_max ( cpl_propertylist *  plist,
double  value 
)

WRITE the max y position.

Parameters:
plist Property list to write to
value The requested value

Definition at line 2818 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_Y_MAX.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesol_y_min ( cpl_propertylist *  plist,
double  value 
)

WRITE the min y.

Parameters:
plist Property list to write to
value The value to write

Definition at line 2801 of file xsh_pfits.c.

References check_msg, and XSH_WAVESOL_Y_MIN.

Referenced by xsh_wavesol_save().

void xsh_pfits_set_wavesoltype ( cpl_propertylist *  plist,
const char *  value 
)

Write the WAVESOL TYPE value.

Parameters:
plist The property list to write to
value The value to write

Definition at line 3088 of file xsh_pfits.c.

References check_msg, XSH_REGDEBUG, and XSH_WAVESOLTYPE.

Referenced by xsh_cfg_recover_extend_xy_pos_frm(), and xsh_resid_tab_save().

cpl_error_code xsh_pfits_set_wcs ( cpl_propertylist *  header,
const double  crpix1,
const double  crval1,
const double  cdelt1,
const double  crpix2,
const double  crval2,
const double  cdelt2 
)
cpl_error_code xsh_plist_div_by_fct ( cpl_propertylist **  plist,
const int  fctx,
const int  fcty 
)
static cpl_error_code xsh_plist_set_extra_common_keys ( cpl_propertylist *  plist  )  [static]

set hdu keys

Parameters:
plist input propertylist
hduclas1 hdu classification1 value
hduclas2 hdu classification2 value
hduclas3 hdu classification3 value
Returns:
updated propertylist

Definition at line 4138 of file xsh_pfits.c.

Referenced by xsh_plist_set_extra_keys().

cpl_error_code xsh_plist_set_extra_keys ( cpl_propertylist *  plist,
const char *  hduclas1,
const char *  hduclas2,
const char *  hduclas3,
const char *  scidata,
const char *  errdata,
const char *  qualdata,
const int  type 
)

set hdu keys

Parameters:
plist input propertylist
hduclas1 hdu classification1 value
hduclas2 hdu classification2 value
hduclas3 hdu classification3 value
scidata name of data extension
errdata name of errs extension
qualdata name of qual extension
type type of extension: 0 data, 1 errs, 2 qual
Returns:
updated propertylist

Definition at line 4166 of file xsh_pfits.c.

References XSH_ASSURE_NOT_ILLEGAL_MSG, and xsh_plist_set_extra_common_keys().

Referenced by xsh_add_product_image(), xsh_add_product_pre(), xsh_build_ifu_cube(), xsh_rec_list_save2(), xsh_spectrum_save(), xsh_util_multiply_by_response(), and xsh_util_multiply_by_response_ord().


Generated on 13 Mar 2013 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1