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_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)
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_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.
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
const char * xsh_pfits_get_raw1name (const cpl_propertylist *plist)
 find out the ESO.RAW1.NAME
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
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_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)
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.

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 825 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().

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 468 of file xsh_pfits.c.

References XSH_AIRM_END, and xsh_get_property_value().

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

double xsh_pfits_get_airm_mean ( const cpl_propertylist *  plist  ) 

find out the mean airmass value

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

Definition at line 452 of file xsh_pfits.c.

References xsh_pfits_get_airm_end(), and xsh_pfits_get_airm_start().

Referenced by xsh_frame_sci_get_gain_airmass_exptime_naxis1_biny(), xsh_frame_sci_get_ra_dec_airmass(), xsh_get_std_obs_values(), xsh_normalize_spectrum(), and xsh_normalize_spectrum_ord().

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 437 of file xsh_pfits.c.

References XSH_AIRM_START, and xsh_get_property_value().

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

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 1310 of file xsh_pfits.c.

References check_msg, XSH_ARCFILE, and xsh_get_property_value().

Referenced by xsh_add_product_image(), 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(), and xsh_pre_init().

double xsh_pfits_get_b_dec_cumoffset ( const cpl_propertylist *  plist  ) 

Definition at line 3301 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 3271 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 3286 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 3256 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 727 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 805 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 668 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 747 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 688 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 766 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 707 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 786 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  ) 
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 1738 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 1759 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 1817 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 1778 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 1798 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 1837 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 1876 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 1896 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 1857 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 1937 of file xsh_pfits.c.

References check_msg, XSH_CDELT2, and xsh_get_property_value().

Referenced by main(), xsh_format(), xsh_rec_list_load_eso(), xsh_set_cd_matrix2d(), xsh_spectrum_load(), xsh_spectrum_load_order(), 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 1956 of file xsh_pfits.c.

References check_msg, XSH_CDELT3, and xsh_get_property_value().

Referenced by main(), 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 611 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 1686 of file xsh_pfits.c.

References check_msg, XSH_CRPIX1, and xsh_get_property_value().

Referenced by main(), 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 1703 of file xsh_pfits.c.

References check_msg, XSH_CRPIX2, and xsh_get_property_value().

Referenced by main().

double xsh_pfits_get_crpix3 ( const cpl_propertylist *  plist  ) 

find out the CRPIX3 value

Parameters:
plist Property list to write to

Definition at line 1720 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 1647 of file xsh_pfits.c.

References check_msg, XSH_CRVAL2, and xsh_get_property_value().

Referenced by main(), xsh_format(), xsh_rec_list_load_eso(), xsh_spectrum_load(), and xsh_spectrum_load_order().

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 1667 of file xsh_pfits.c.

References check_msg, XSH_CRVAL3, and xsh_get_property_value().

Referenced by main(), and xsh_cube_qc_trace_window().

double xsh_pfits_get_cumoffsetx ( const cpl_propertylist *  plist  ) 

Definition at line 3199 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  ) 
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 631 of file xsh_pfits.c.

References XSH_DATANCOM, and XSH_PFITS_GET.

Referenced by set_masterbias_qc_uves_structure_region().

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 1447 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 1467 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 3141 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(), and xsh_get_std_obs_values().

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 649 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 1524 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_dit ( const cpl_propertylist *  plist  ) 

find out the DIT value

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

Definition at line 1227 of file xsh_pfits.c.

References check_msg, XSH_DET_DIT, and xsh_get_property_value().

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

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 1409 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 1368 of file xsh_pfits.c.

References check_msg, XSH_DPR_TECH, and xsh_get_property_value().

Referenced by xsh_pfits_get_nb_pinhole(), and xsh_set_recipe_file_prefix().

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 1388 of file xsh_pfits.c.

References check_msg, XSH_DPR_TYPE, and xsh_get_property_value().

Referenced by xsh_detect_arclines(), 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 1428 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 2693 of file xsh_pfits.c.

References check_msg, XSH_EXTRACT_SLIT_MAX, and xsh_get_property_value().

Referenced by 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 2674 of file xsh_pfits.c.

References check_msg, XSH_EXTRACT_SLIT_MIN, and xsh_get_property_value().

Referenced by 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 1545 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 594 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(), 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 1328 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_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_pre_3d_init(), xsh_pre_create(), xsh_pre_init(), xsh_preoverscan_corr(), xsh_rec_list_load_eso(), xsh_scired_slit_stare(), 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 3050 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().

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 3690 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 3717 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 3664 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 3738 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 3029 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 1290 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_pre_init(), xsh_preoverscan_corr(), xsh_util_ima_oversample(), xsh_util_ima_rebin(), and xsh_util_ima_subsample().

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_pre_init(), xsh_preoverscan_corr(), xsh_util_ima_oversample(), xsh_util_ima_rebin(), and xsh_util_ima_subsample().

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 1348 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_PCATG.

Referenced by 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.

Referenced by xsh_cube_set_wcs().

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_pre_init(), xsh_preoverscan_corr(), xsh_util_ima_oversample(), xsh_util_ima_rebin(), and xsh_util_ima_subsample().

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_pre_init(), xsh_preoverscan_corr(), xsh_util_ima_oversample(), xsh_util_ima_rebin(), and xsh_util_ima_subsample().

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 1486 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 1505 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 3120 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(), and xsh_get_std_obs_values().

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 1269 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 1247 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 2925 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 2943 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_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 2977 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 2960 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 3011 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_SPACE_MAX.

Referenced by 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 2994 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_RECTIFY_SPACE_MIN.

Referenced by 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 502 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_SEEING_END.

Referenced by xsh_calibrate_flux().

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 485 of file xsh_pfits.c.

References XSH_PFITS_GET, and XSH_SEEING_START.

Referenced by xsh_calibrate_flux().

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 559 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(), and xsh_frame_check_model_cfg_is_proper_for_sci().

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 521 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(), and xsh_localize_obj_auto().

double xsh_pfits_get_slitmap_median_cen ( const cpl_propertylist *  plist  ) 

Definition at line 3571 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 3555 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 3539 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 3603 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 3587 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 3080 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEL_TARG_ALPHA.

Referenced by 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 3100 of file xsh_pfits.c.

References check_msg, xsh_get_property_value(), and XSH_TEL_TARG_DELTA.

Referenced by xsh_cube_set_wcs().

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 1587 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 1566 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 1608 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 2579 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 2560 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 2617 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 2598 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 2655 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 2636 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 2731 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 2712 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 2769 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 2750 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 2792 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 1207 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 907 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 3353 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 3328 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 3341 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 3316 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 1107 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_DOWN_MEDIAN.

Referenced by xsh_pre_create().

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 1175 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_DOWN_STDEV.

Referenced by xsh_pre_create().

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 1034 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_LEFT_MEDIAN.

Referenced by xsh_pre_create().

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 1124 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_LEFT_STDEV.

Referenced by xsh_pre_create().

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 1051 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_RIGHT_MEDIAN.

Referenced by xsh_pre_create().

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 1141 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_RIGHT_STDEV.

Referenced by xsh_pre_create().

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 1068 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_UP_MEDIAN.

Referenced by xsh_pre_create().

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 1158 of file xsh_pfits.c.

References check_msg, and XSH_BIAS_UP_STDEV.

Referenced by xsh_pre_create().

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 2010 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 2026 of file xsh_pfits.c.

References check_msg, and XSH_CD11.

Referenced by xsh_set_cd_matrix2d().

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 2041 of file xsh_pfits.c.

References check_msg, and XSH_CD12.

Referenced by xsh_set_cd_matrix2d().

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 2086 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 2056 of file xsh_pfits.c.

References check_msg, and XSH_CD21.

Referenced by xsh_set_cd_matrix2d().

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 2071 of file xsh_pfits.c.

References check_msg, and XSH_CD22.

Referenced by xsh_set_cd_matrix2d().

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 2101 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 2148 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 2132 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 2117 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 2198 of file xsh_pfits.c.

References check_msg, and XSH_CDELT1.

Referenced by xsh_format(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), 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 2277 of file xsh_pfits.c.

References check_msg, and XSH_CDELT2.

Referenced by xsh_rec_list_save2(), 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 2293 of file xsh_pfits.c.

References check_msg, and XSH_CDELT3.

Referenced by xsh_build_ifu_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 2165 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX1.

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

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 2215 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX2.

Referenced by xsh_rec_list_save2(), 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 2230 of file xsh_pfits.c.

References check_msg, and XSH_CRPIX3.

Referenced by 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 2182 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL1.

Referenced by xsh_format(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), 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 2246 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL2.

Referenced by xsh_format(), xsh_rec_list_save2(), 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 2261 of file xsh_pfits.c.

References check_msg, and XSH_CRVAL3.

Referenced by xsh_build_ifu_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 2308 of file xsh_pfits.c.

References check_msg, and XSH_CTYPE1.

Referenced by xsh_spectrum_1D_create(), and xsh_spectrum_2D_create().

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 2323 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 2339 of file xsh_pfits.c.

References check_msg, and XSH_CTYPE3.

Referenced by xsh_format().

void xsh_pfits_set_datancom ( cpl_propertylist *  plist,
int  value 
)

Definition at line 1088 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 1191 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 961 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 978 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 944 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 1994 of file xsh_pfits.c.

References check_msg, and XSH_EXPTIME.

Referenced by xsh_create_master_dark().

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

Write the EXTNAME value.

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

Definition at line 898 of file xsh_pfits.c.

References check_msg, and XSH_EXTNAME.

Referenced by xsh_compute_noise_map(), xsh_pre_create(), xsh_rec_list_save2(), xsh_spectrum1D_create(), xsh_spectrum_1D_create(), xsh_spectrum_2D_create(), and xsh_util_ima_arith().

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 2475 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 2456 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_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 1015 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_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 995 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 
)
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 2829 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 2845 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 2877 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 2861 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 2909 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 2893 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_slitmap_median_cen ( cpl_propertylist *  plist,
double  value 
)

Definition at line 3522 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 3435 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 3383 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 3365 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 3638 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 3620 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 2371 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 2354 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 2405 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 2388 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 2439 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 2422 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 2508 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 2491 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 2543 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 2526 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 2813 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().


Generated on 9 Mar 2011 for X-shooter Pipeline Reference Manual by  doxygen 1.6.1