39#define XSH_MJDOBS "MJD-OBS"
40#define XSH_MJDEND "MJD-END"
41#define XSH_NAXIS "NAXIS"
42#define XSH_INSTRUME "INSTRUME"
47#define XSH_OBS_PROG_ID "ESO OBS PROG ID"
48#define XSH_PRO_TECH "ESO PRO TECH"
50#define XSH_PRO_REC1_PIPE_ID "ESO PRO REC1 PIPE ID"
52#define XSH_TPL_EXPNO "ESO TPL EXPNO"
53#define XSH_TPL_START "ESO TPL START"
54#define XSH_TPL_END "ESO TPL END"
56#define XSH_GEOLAT "ESO TEL GEOLAT"
57#define XSH_GEOLON "ESO TEL GEOLON"
60#define XSH_TELESCOP "TELESCOP"
62#define XSH_TEL_TARG_ALPHA "ESO TEL TARG ALPHA"
63#define XSH_TEL_TARG_DELTA "ESO TEL TARG DELTA"
68#define XSH_CD11 "CD1_1"
69#define XSH_CD12 "CD1_2"
70#define XSH_CD21 "CD2_1"
71#define XSH_CD22 "CD2_2"
74#define XSH_DET_WIN1_UIT1 "ESO DET WIN1 UIT1"
77#define XSH_CD13 "CD1_3"
78#define XSH_CD31 "CD3_1"
79#define XSH_CD23 "CD2_3"
80#define XSH_CD32 "CD3_2"
81#define XSH_CD33 "CD3_3"
87#define XSH_NAXIS1 "NAXIS1"
88#define XSH_NAXIS2 "NAXIS2"
89#define XSH_NAXIS3 "NAXIS3"
91#define XSH_CRPIX1 "CRPIX1"
92#define XSH_CRPIX2 "CRPIX2"
93#define XSH_CRPIX3 "CRPIX3"
96#define XSH_CDELT1 "CDELT1"
97#define XSH_CDELT2 "CDELT2"
98#define XSH_CDELT3 "CDELT3"
100#define XSH_CRVAL1 "CRVAL1"
101#define XSH_CRVAL2 "CRVAL2"
102#define XSH_CRVAL3 "CRVAL3"
105#define XSH_CTYPE1 "CTYPE1"
106#define XSH_CTYPE2 "CTYPE2"
107#define XSH_CTYPE3 "CTYPE3"
109#define XSH_CUNIT1 "CUNIT1"
110#define XSH_CUNIT2 "CUNIT2"
111#define XSH_CUNIT3 "CUNIT3"
113#define XSH_BUNIT "BUNIT"
114#define XSH_BUNIT_FLUX_ABS_C "erg/s/cm2/Angstrom"
115#define XSH_BUNIT_FLUX_REL_C "ADU"
116#define XSH_BUNIT_NONE_C ""
118#define XSH_RAW1_NAME "ESO PRO REC1 RAW1 NAME"
119#define XSH_RAW1_CATG "ESO PRO REC1 RAW1 CATG"
120#define XSH_ARCFILE "ARCFILE"
121#define XSH_ORIGFILE "ORIGFILE"
122#define XSH_DATE "DATE"
123#define XSH_DATE_OBS "DATE-OBS"
124#define XSH_EXTNAME "EXTNAME"
125#define XSH_EXPTIME "EXPTIME"
127#define XSH_OBS_ID "ESO OBS ID"
128#define XSH_OBS_TARG_NAME "ESO OBS TARG NAME"
130#define XSH_AIRM_START "ESO TEL AIRM START"
131#define XSH_AIRM_END "ESO TEL AIRM END"
133#define XSH_SEEING_START "ESO TEL AMBI FWHM START"
134#define XSH_SEEING_END "ESO TEL AMBI FWHM END"
136#define XSH_SLIT_UVB "ESO INS OPTI3 NAME"
137#define XSH_SLIT_VIS "ESO INS OPTI4 NAME"
138#define XSH_SLIT_NIR "ESO INS OPTI5 NAME"
140#define XSH_FOCU1ENC_VAL "ESO INS FOCU1 ENC"
142#define XSH_TEMP82_VAL "ESO INS TEMP82 VAL"
143#define XSH_TEMP2_VAL "ESO INS TEMP2 VAL"
144#define XSH_TEMP5_VAL "ESO INS TEMP5 VAL"
146#define XSH_DPR_TECH "ESO DPR TECH"
147#define XSH_DPR_TYPE "ESO DPR TYPE"
148#define XSH_DPR_CATG "ESO DPR CATG"
149#define XSH_OUT_NX "ESO DET OUT1 NX"
150#define XSH_OUT_NY "ESO DET OUT1 NY"
151#define XSH_CHIP_NX "ESO DET CHIP NX"
152#define XSH_CHIP_NY "ESO DET CHIP NY"
153#define XSH_WIN_NX "ESO DET WIN NX"
154#define XSH_WIN_NY "ESO DET WIN NY"
155#define XSH_WIN_BINX "ESO DET WIN1 BINX"
156#define XSH_WIN_BINY "ESO DET WIN1 BINY"
157#define XSH_OVSCX "ESO DET OUT1 OVSCX"
158#define XSH_OVSCY "ESO DET OUT1 OVSCY"
159#define XSH_PRSCX "ESO DET OUT1 PRSCX"
160#define XSH_PRSCY "ESO DET OUT1 PRSCY"
161#define XSH_RON "ESO DET OUT1 RON"
162#define XSH_CONAD "ESO DET OUT1 CONAD"
164#define XSH_DET_PXSPACE "ESO DET CHIP PXSPACE"
165#define XSH_DET_GAIN "ESO DET OUT1 GAIN"
166#define XSH_DET_WIN1_DIT1 "ESO DET WIN1 DIT1"
167#define XSH_DET_DIT "ESO DET DIT"
168#define XSH_DET_NDIT "ESO DET NDIT"
169#define XSH_DET_NDITSKIP "ESO DET NDITSKIP"
170#define XSH_PSZX "ESO DET CHIP1 PSZX"
171#define XSH_PSZY "ESO DET CHIP1 PSZY"
173#define XSH_SEQ_ARM "ESO SEQ ARM"
175#define XSH_LAMP_ON_OFF "ESO INS1 LAMP5 ST"
177#define XSH_BIAS_LEFT_MEDIAN "ESO PRO BIAS LEFT MEDIAN"
178#define XSH_BIAS_RIGHT_MEDIAN "ESO PRO BIAS RIGHT MEDIAN"
179#define XSH_BIAS_UP_MEDIAN "ESO PRO BIAS UP MEDIAN"
180#define XSH_BIAS_DOWN_MEDIAN "ESO PRO BIAS DOWN MEDIAN"
181#define XSH_BIAS_LEFT_STDEV "ESO PRO BIAS LEFT STDEV"
182#define XSH_BIAS_RIGHT_STDEV "ESO PRO BIAS RIGHT STDEV"
183#define XSH_BIAS_UP_STDEV "ESO PRO BIAS UP STDEV"
184#define XSH_BIAS_DOWN_STDEV "ESO PRO BIAS DOWN STDEV"
185#define XSH_PCATG "ESO PRO CATG"
186#define XSH_WAVESOL_LAMBDA_MIN "ESO PRO WAVESOL LAMBDA MIN"
187#define XSH_WAVESOL_LAMBDA_MAX "ESO PRO WAVESOL LAMBDA MAX"
188#define XSH_WAVESOL_ORDER_MIN "ESO PRO WAVESOL ORDER MIN"
189#define XSH_WAVESOL_ORDER_MAX "ESO PRO WAVESOL ORDER MAX"
190#define XSH_WAVESOL_SLIT_MIN "ESO PRO WAVESOL SLIT MIN"
191#define XSH_WAVESOL_SLIT_MAX "ESO PRO WAVESOL SLIT MAX"
193#define XSH_WAVESOL_X_MIN "ESO PRO WAVESOL X MIN"
194#define XSH_WAVESOL_X_MAX "ESO PRO WAVESOL X MAX"
195#define XSH_WAVESOL_Y_MIN "ESO PRO WAVESOL Y MIN"
196#define XSH_WAVESOL_Y_MAX "ESO PRO WAVESOL Y MAX"
198#define XSH_EXTRACT_SLIT_MIN "ESO PRO EXTRACT SLIT MIN"
199#define XSH_EXTRACT_SLIT_MAX "ESO PRO EXTRACT SLIT MAX"
202#define XSH_RECTIFY_BIN_LAMBDA "ESO PRO RECT BIN LAMBDA"
203#define XSH_RECTIFY_BIN_SPACE "ESO PRO RECT BIN SPACE"
204#define XSH_RECTIFY_LAMBDA_MIN "ESO PRO RECT LAMBDA MIN"
205#define XSH_RECTIFY_LAMBDA_MAX "ESO PRO RECT LAMBDA MAX"
206#define XSH_RECTIFY_SPACE_MIN "ESO PRO RECT SPACE MIN"
207#define XSH_RECTIFY_SPACE_MAX "ESO PRO RECT SPACE MAX"
208#define XSH_DATANCOM "ESO PRO DATANCOM"
210#define XSH_SPECTRALFORMAT_DIST_ORDER "ESO PRO DIST ORDER"
212#define XSH_WAVESOLTYPE "ESO PRO WAVESOL TYPE"
213#define XSH_WAVESOLTYPE_POLYNOMIAL "POLYNOMIAL"
214#define XSH_WAVESOLTYPE_MODEL "PHYSMOD"
217#define XSH_MODEL_CFG_START "ESO MOD CFG START"
219#define XSH_DPR_TECH_SINGLE_PINHOLE "ECHELLE,PINHOLE"
220#define XSH_DPR_TECH_MULTI_PINHOLE "ECHELLE,MULTI-PINHOLE"
222#define XSH_NOD_CUMULATIVE_OFFSET_DEC "ESO SEQ CUMOFF DEC"
223#define XSH_NOD_CUMULATIVE_OFFSET_RA "ESO SEQ CUMOFF RA"
225#define XSH_NOD_CUMULATIVE_OFFSETX "ESO SEQ CUMOFF X"
226#define XSH_NOD_CUMULATIVE_OFFSETY "ESO SEQ CUMOFF Y"
228#define XSH_NOD_THROW "ESO SEQ NOD THROW"
229#define XSH_NOD_JITTER_BOX "ESO SEQ JITTER WIDTH"
231#define XSH_NOD_RELATIVE_OFFSET_DEC "ESO SEQ RELOFF DEC"
232#define XSH_NOD_RELATIVE_OFFSET_RA "ESO SEQ RELOFF RA"
233#define XSH_POSANG "ESO ADA POSANG"
236#define XSH_NOD_RELATIVE_B_OFFSET_RA "ESO PRO B RELOFF RA"
237#define XSH_NOD_RELATIVE_B_OFFSET_DEC "ESO PRO B RELOFF DEC"
238#define XSH_NOD_CUMULATIVE_B_OFFSET_RA "ESO PRO B CUMOFF RA"
239#define XSH_NOD_CUMULATIVE_B_OFFSET_DEC "ESO PRO B CUMOFF DEC"
240#define XSH_QC_NPIXSAT "ESO QC NPIXSAT"
241#define XSH_QC_NPIXSAT_C "Number of saturated pixels"
242#define XSH_QC_FPIXSAT "ESO QC FPIXSAT"
243#define XSH_QC_FPIXSAT_C "Fraction of saturated pixels"
246#define XSH_QC_NPIXSAT_TOT "ESO QC NPIXSAT TOT"
247#define XSH_QC_NPIXSAT_TOT_C "Total number of saturated pixels"
248#define XSH_QC_FPIXSAT_TOT "ESO QC FPIXSAT TOT"
249#define XSH_QC_FPIXSAT_TOT_C "Fraction of saturated pixels"
252#define XSH_QC_NPIXRANGE "ESO QC NPIXRANG"
253#define XSH_QC_NPIXRANGE_C "Number of pixels in range 4800-5200 ADU"
254#define XSH_QC_FPIXRANGE "ESO QC FPIXRANG"
255#define XSH_QC_FPIXRANGE_C "Frac of pix in range 4800-5200 ADU"
258#define XSH_SLITMAP_ORDER_EDGUP "ESO PRO ORD%d EDGUP SLIT"
259#define XSH_SLITMAP_ORDER_EDGLO "ESO PRO ORD%d EDGLO SLIT"
260#define XSH_SLITMAP_ORDER_CEN "ESO PRO ORD%d CEN SLIT"
261#define XSH_SLITMAP_ORDER_SLICUP "ESO PRO ORD%d SLICUP SLIT"
262#define XSH_SLITMAP_ORDER_SLICLO "ESO PRO ORD%d SLICLO SLIT"
264#define XSH_SLITMAP_MEDIAN_EDGUP "ESO PRO MEDIAN EDGUP SLIT"
265#define XSH_SLITMAP_MEDIAN_EDGLO "ESO PRO MEDIAN EDGLO SLIT"
266#define XSH_SLITMAP_MEDIAN_CEN "ESO PRO MEDIAN CEN SLIT"
267#define XSH_SLITMAP_MEDIAN_SLICUP "ESO PRO MEDIAN SLICUP SLIT"
268#define XSH_SLITMAP_MEDIAN_SLICLO "ESO PRO MEDIAN SLICLO SLIT"
270#define XSH_WAVEMAP_ORDER_LAMBDA_MIN "ESO PRO ORD%d LAMBDA MIN"
271#define XSH_WAVEMAP_ORDER_LAMBDA_MAX "ESO PRO ORD%d LAMBDA MAX"
273#define XSH_SHIFTIFU_WAVEREF "ESO PRO LAMBDA REF"
274#define XSH_SHIFTIFU_SLITREF "ESO PRO SLIT REF"
275#define XSH_SHIFTIFU_SLITDOWNREF "ESO PRO SLIT DOWN REF"
276#define XSH_SHIFTIFU_SLITCENREF "ESO PRO SLIT CEN REF"
277#define XSH_SHIFTIFU_SLITUPREF "ESO PRO SLIT UP REF"
279#define XSH_INSTRUME_VALUE "XSHOOTER"
282#define XSH_SDP_KEYWORD_PROCSOFT "PROCSOFT"
283#define XSH_SDP_KEYWORD_PRODLVL "PRODLVL"
284#define XSH_SDP_KEYWORD_PRODLVL_VALUE 2
285#define XSH_SDP_KEYWORD_OBJECT "OBJECT"
286#define XSH_SDP_KEYWORD_PRODCATG "PRODCATG"
287#define XSH_SDP_KEYWORD_ORIGIN "ORIGIN"
288#define XSH_SDP_KEYWORD_ORIGIN_VALUE "ESO"
289#define XSH_SDP_KEYWORD_DISPELEM "DISPELEM"
290#define XSH_SDP_KEYWORD_SPECSYS "SPECSYS"
291#define XSH_SDP_KEYWORD_SPECSYS_VALUE "TOPOCENT"
292#define XSH_SDP_KEYWORD_VOCLASS "VOCLASS"
293#define XSH_SDP_KEYWORD_VOCLASS_VALUE "SPECTRUM V2.0"
294#define XSH_SDP_KEYWORD_VOPUB "VOPUB"
295#define XSH_SDP_KEYWORD_VOPUB_VALUE "ESO/SAF"
296#define XSH_SDP_KEYWORD_TITLE "TITLE"
297#define XSH_SDP_KEYWORD_APERTURE "APERTURE"
298#define XSH_SDP_KEYWORD_TELAPSE "TELAPSE"
299#define XSH_SDP_KEYWORD_TMID "TMID"
300#define XSH_SDP_KEYWORD_TUTYP(n) "TUTYP"#n
301#define XSH_SDP_KEYWORD_TUCD(n) "TUCD"#n
302#define XSH_SDP_KEYWORD_TDMIN(n) "TDMIN"#n
303#define XSH_SDP_KEYWORD_TDMAX(n) "TDMAX"#n
304#define XSH_SDP_KEYWORD_NELEM "NELEM"
305#define XSH_SDP_KEYWORD_EXTNAME "EXTNAME"
306#define XSH_SDP_KEYWORD_EXTNAME_VALUE "SPECTRUM"
307#define XSH_SDP_KEYWORD_INHERIT "INHERIT"
308#define XSH_SDP_KEYWORD_INHERIT_VALUE CPL_TRUE
309#define XSH_SDP_KEYWORD_SPEC_VAL "SPEC_VAL"
310#define XSH_SDP_KEYWORD_SPEC_BW "SPEC_BW"
311#define XSH_SDP_KEYWORD_PROG_ID "PROG_ID"
312#define XSH_SDP_KEYWORD_OBID1 "OBID1"
313#define XSH_SDP_KEYWORD_M_EPOCH "M_EPOCH"
314#define XSH_SDP_KEYWORD_OBSTECH "OBSTECH"
315#define XSH_SDP_KEYWORD_FLUXCAL "FLUXCAL"
316#define XSH_SDP_KEYWORD_CONTNORM "CONTNORM"
317#define XSH_SDP_KEYWORD_WAVELMIN "WAVELMIN"
318#define XSH_SDP_KEYWORD_WAVELMAX "WAVELMAX"
319#define XSH_SDP_KEYWORD_SPEC_BIN "SPEC_BIN"
320#define XSH_SDP_KEYWORD_TOT_FLUX "TOT_FLUX"
321#define XSH_SDP_KEYWORD_FLUXERR "FLUXERR"
322#define XSH_SDP_KEYWORD_FLUXERR_VALUE -2
323#define XSH_SDP_KEYWORD_REFERENC "REFERENC"
324#define XSH_SDP_KEYWORD_REFERENC_VALUE " "
325#define XSH_SDP_KEYWORD_SPEC_RES "SPEC_RES"
326#define XSH_SDP_KEYWORD_SPEC_ERR "SPEC_ERR"
327#define XSH_SDP_KEYWORD_SPEC_SYE "SPEC_SYE"
328#define XSH_SDP_KEYWORD_LAMNLIN "LAMNLIN"
329#define XSH_SDP_KEYWORD_LAMRMS "LAMRMS"
330#define XSH_SDP_KEYWORD_GAIN "GAIN"
331#define XSH_SDP_KEYWORD_DETRON "DETRON"
332#define XSH_SDP_KEYWORD_EFFRON "EFFRON"
333#define XSH_SDP_KEYWORD_PROV(n) "PROV"#n
334#define XSH_SDP_KEYWORD_NCOMBINE "NCOMBINE"
335#define XSH_SDP_ADU_UNIT "adu"
336#define XSH_SDP_FLUX_UNIT "erg.cm**(-2).s**(-1).angstrom**(-1)"
337#define XSH_SDP_COLUMN_WAVE "WAVE"
338#define XSH_SDP_COLUMN_WAVE_UNIT "nm"
339#define XSH_SDP_COLUMN_WAVE_FORMAT "1E"
340#define XSH_SDP_COLUMN_WAVE_TYPE "spec:Data.SpectralAxis.Value"
341#define XSH_SDP_COLUMN_WAVE_UCD "em.wl;obs.atmos"
342#define XSH_SDP_COLUMN_FLUX "FLUX"
343#define XSH_SDP_COLUMN_FLUX_UNIT XSH_SDP_ADU_UNIT
344#define XSH_SDP_COLUMN_FLUX_UNIT_CALIB XSH_SDP_FLUX_UNIT
345#define XSH_SDP_COLUMN_FLUX_FORMAT "1E"
346#define XSH_SDP_COLUMN_FLUX_TYPE "spec:Data.FluxAxis.Value"
347#define XSH_SDP_COLUMN_FLUX_UCD "phot.flux.density;em.wl;src.net;meta.main"
348#define XSH_SDP_COLUMN_ERR "ERR"
349#define XSH_SDP_COLUMN_ERR_UNIT XSH_SDP_ADU_UNIT
350#define XSH_SDP_COLUMN_ERR_UNIT_CALIB XSH_SDP_FLUX_UNIT
351#define XSH_SDP_COLUMN_ERR_FORMAT "1E"
352#define XSH_SDP_COLUMN_ERR_TYPE "spec:Data.FluxAxis.Accuracy.StatError"
353#define XSH_SDP_COLUMN_ERR_UCD "stat.error;phot.flux.density;meta.main"
354#define XSH_SDP_COLUMN_QUAL "QUAL"
355#define XSH_SDP_COLUMN_QUAL_UNIT " "
356#define XSH_SDP_COLUMN_QUAL_FORMAT "1J"
357#define XSH_SDP_COLUMN_QUAL_TYPE "spec:Data.FluxAxis.Accuracy.QualityStatus"
358#define XSH_SDP_COLUMN_QUAL_UCD "meta.code.qual;meta.main"
359#define XSH_SDP_COLUMN_SNR "SNR"
360#define XSH_SDP_COLUMN_SNR_UNIT " "
361#define XSH_SDP_COLUMN_SNR_FORMAT "1E"
362#define XSH_SDP_COLUMN_SNR_TYPE "eso:Data.FluxAxis.Accuracy.SNR"
363#define XSH_SDP_COLUMN_SNR_UCD "stat.snr;meta.main"
364#define XSH_SDP_COLUMN_FLUX_REDUCED "FLUX_REDUCED"
365#define XSH_SDP_COLUMN_FLUX_REDUCED_FORMAT "1E"
366#define XSH_SDP_COLUMN_FLUX_REDUCED_TYPE "eso:Data.FluxAxis.Value"
367#define XSH_SDP_COLUMN_FLUX_REDUCED_UCD "phot.flux.density;em.wl;src.net;stat.uncalib"
368#define XSH_SDP_COLUMN_ERR_REDUCED "ERR_REDUCED"
369#define XSH_SDP_COLUMN_ERR_REDUCED_FORMAT "1E"
370#define XSH_SDP_COLUMN_ERR_REDUCED_TYPE "eso:Data.FluxAxis.Accuracy.StatError"
371#define XSH_SDP_COLUMN_ERR_REDUCED_UCD "stat.error;phot.flux.density;stat.uncalib"
377#define XSH_PFITS_GET(RET, LIST, KW, TYPE) \
378 check_msg( xsh_get_property_value( LIST, KW, TYPE, &RET),\
379 "Error reading keyword '%s'", KW)
661 const char* hduclas1,
662 const char* hduclas2,
663 const char* hduclas3,
666 const char* qualdata,
673 const double cdelt1);
678 const double cdelt2);
683 const double cdelt3);
688 const double cdelt2);
692 const double crpix1,
const double crval1,
const double cdelt1,
693 const double crpix2,
const double crval2,
const double cdelt2);
static xsh_instrument * instrument
const char * xsh_pfits_get_raw1catg(const cpl_propertylist *plist)
find out the ESO.RAW1.CATG
double xsh_pfits_get_wavesol_lambda_min(cpl_propertylist *plist)
find out the min lambda
cpl_error_code xsh_pfits_set_wcs2(cpl_propertylist *header, const double crpix2, const double crval2, const double cdelt2)
double xsh_pfits_get_crval2(const cpl_propertylist *)
find out the crval2
void xsh_pfits_set_cd1(cpl_propertylist *plist, double cd1)
Write the CD1 value.
double xsh_pfits_get_rectify_space_max(cpl_propertylist *plist)
find out the rectify SPACE max
const char * xsh_pfits_get_bunit(const cpl_propertylist *plist)
find out the BUNIT
double xsh_pfits_get_bias_down_median(cpl_propertylist *plist)
find out the BIAS DOWN MEDIAN value
void xsh_pfits_set_cd13(cpl_propertylist *plist, double cd23)
Write the CD1_3 value.
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
void xsh_pfits_set_b_ra_reloffset(cpl_propertylist *plist, double value)
const char * xsh_pfits_get_dpr_type(const cpl_propertylist *plist)
find out the DPR TECH
double xsh_pfits_get_cumoffsetx(const cpl_propertylist *plist)
void xsh_pfits_set_arm(cpl_propertylist *plist, xsh_instrument *instr)
void xsh_pfits_set_cd22(cpl_propertylist *plist, double cd22)
Write the CD2_2 value.
double xsh_pfits_get_wavesol_lambda_max(cpl_propertylist *plist)
find out the wavesol max lambda
int xsh_pfits_get_ovscx(const cpl_propertylist *plist)
find out the OVSCX value
void xsh_pfits_set_shiftifu_slitcenref(cpl_propertylist *plist, double value)
double xsh_pfits_get_pszx(const cpl_propertylist *plist)
find out the PSZX (size of 1 pixel in Microns)
double xsh_pfits_get_ra_cumoffset(const cpl_propertylist *plist)
double xsh_pfits_get_bias_up_median(cpl_propertylist *plist)
find out the BIAS UP MEDIAN value
void xsh_pfits_set_pcatg(cpl_propertylist *plist, const char *value)
Write the PCATG value.
void xsh_pfits_set_cd21(cpl_propertylist *plist, double cd21)
Write the CD2_1 value.
void xsh_pfits_set_slitmap_median_cen(cpl_propertylist *plist, double value)
int xsh_pfits_get_out_ny(const cpl_propertylist *plist)
find out the OUT NY value
double xsh_pfits_get_b_ra_reloffset(const cpl_propertylist *plist)
double xsh_pfits_get_lst(const cpl_propertylist *plist)
find out the LST value
double xsh_pfits_get_cdelt2(const cpl_propertylist *)
find out the cdelt2
double xsh_pfits_get_conad(const cpl_propertylist *plist)
find out the CONAD value
void xsh_pfits_set_rectify_bin_lambda(cpl_propertylist *plist, double value)
WRITE the lambda binning.
int xsh_pfits_get_nb_pinhole(const cpl_propertylist *)
Get the number of pinhole.
void xsh_pfits_set_rectify_lambda_max(cpl_propertylist *plist, double value)
WRITE the lambda max value.
void xsh_pfits_set_total_frac_sat(cpl_propertylist *plist, double value)
Write the fraction of saturated pixels value.
void xsh_pfits_set_dit(cpl_propertylist *, double dit)
Write the DIT value.
double xsh_pfits_get_rectify_lambda_min(cpl_propertylist *plist)
find out the rectify lambda min
void xsh_pfits_set_crpix1(cpl_propertylist *plist, double crpix1)
Write the CRPIX1 value.
double xsh_pfits_get_rectify_space_min(cpl_propertylist *plist)
find out the rectify space min
double xsh_pfits_get_shiftifu_lambdaref(cpl_propertylist *plist)
double xsh_pfits_get_temp5(const cpl_propertylist *plist)
find out the temp5 (VIS prism)
void xsh_pfits_set_dpr_tech(cpl_propertylist *plist, const char *value)
Write the DPR TECH value.
double xsh_pfits_get_nod_jitterwidth(const cpl_propertylist *plist)
Get the Jitter Box size.
double xsh_pfits_get_cdelt3(const cpl_propertylist *)
find out the cdelt3
double xsh_pfits_get_airm_end(const cpl_propertylist *plist)
find out the TEL AIRM END value
double xsh_pfits_get_slitmap_median_edglo(const cpl_propertylist *plist)
void xsh_pfits_set_ndit(cpl_propertylist *, int ndit)
Write the NDIT value.
int xsh_pfits_get_binx(const cpl_propertylist *plist)
find out the BINX value
void xsh_pfits_set_wavesol_x_min(cpl_propertylist *plist, double value)
WRITE the min x.
void xsh_pfits_set_ctype2(cpl_propertylist *plist, const char *value)
Write the CTYPE2 value.
double xsh_pfits_get_slitmap_median_cen(const cpl_propertylist *plist)
void xsh_pfits_set_slitmap_median_slicup(cpl_propertylist *plist, double value)
double xsh_pfits_get_rectify_bin_lambda(cpl_propertylist *plist)
find out the rectify lambda binning
double xsh_pfits_get_cd13(const cpl_propertylist *plist)
find out the cd1_3
double xsh_pfits_get_wavesol_order_min(cpl_propertylist *plist)
find out the min order
const char * xsh_pfits_get_extname(const cpl_propertylist *)
find out the EXTNAME
double xsh_pfits_get_wavesol_y_max(cpl_propertylist *plist)
find out the wavesol max y position
void xsh_pfits_set_shiftifu_lambdaref(cpl_propertylist *plist, double value)
double xsh_pfits_get_bias_up_stdev(cpl_propertylist *plist)
find out the BIAS UP STDEV value
double xsh_pfits_get_wavesol_slit_min(cpl_propertylist *plist)
find out the min slit
double xsh_pfits_get_det_gain(const cpl_propertylist *plist)
find out the ESO DET OUT1 GAIN value
int xsh_pfits_get_chip_nx(const cpl_propertylist *plist)
find out the CHIP NX value
void xsh_pfits_set_rectify_space_max(cpl_propertylist *plist, double value)
WRITE the space (slit) max value.
void xsh_pfits_set_b_dec_cumoffset(cpl_propertylist *plist, double value)
bool xsh_pfits_get_lamp_on_off(const cpl_propertylist *)
find out the Lamp status (ON/OFF)
double xsh_pfits_get_det_win1_uit1(const cpl_propertylist *)
find out the user defined exposure time
void xsh_pfits_set_cdelt3(cpl_propertylist *plist, double cdelt3)
Write the CDELT3 value.
int xsh_pfits_get_ndit(const cpl_propertylist *)
find out the NDIT value
double xsh_pfits_get_bias_right_stdev(cpl_propertylist *plist)
find out the BIAS RIGHT STDEV value
double xsh_pfits_get_pixscale(const cpl_propertylist *plist)
find out the number of chopping cycles
void xsh_pfits_set_wavesol_y_min(cpl_propertylist *plist, double value)
WRITE the min y.
void xsh_pfits_set_cdelt1(cpl_propertylist *plist, double cdelt1)
Write the CDELT1 value.
double xsh_pfits_get_dit(const cpl_propertylist *)
find out the DIT value
XSH_ARM xsh_pfits_get_arm(const cpl_propertylist *plist)
void xsh_pfits_set_slitmap_order_cen(cpl_propertylist *plist, int absorder, double value)
double xsh_pfits_get_seeing_start(const cpl_propertylist *plist)
find out the TEL AMBI START value (Seeing)
double xsh_pfits_get_win1_dit1(const cpl_propertylist *plist)
find out the DET WIN1 DIT1 value
void xsh_pfits_set_shiftifu_slitdownref(cpl_propertylist *plist, double value)
cpl_error_code xsh_pfits_set_wcs3(cpl_propertylist *header, const double crpix3, const double crval3, const double cdelt3)
void xsh_pfits_set_ctype1(cpl_propertylist *plist, const char *value)
Write the CTYPE1 value.
void xsh_pfits_set_extname(cpl_propertylist *plist, const char *value)
Write the EXTNAME value.
double xsh_pfits_get_nodthrow(const cpl_propertylist *plist)
Get the Nod Throw value.
double xsh_pfits_get_tpl_end(const cpl_propertylist *plist)
Find out the template end.
void xsh_pfits_set_nsat(cpl_propertylist *plist, int value)
Write the number of saturated pixels value.
double xsh_pfits_get_geolon(const cpl_propertylist *plist)
Find out the telescope longitude.
double xsh_pfits_get_rectify_bin_space(cpl_propertylist *plist)
find out the rectify space (slit) binning
double xsh_pfits_get_extract_slit_max(cpl_propertylist *plist)
find out the extraction min slit
int xsh_pfits_get_out_nx(const cpl_propertylist *plist)
find out the OUT NX value
double xsh_pfits_get_cd31(const cpl_propertylist *plist)
find out the cd3_1
void xsh_pfits_set_datancom(cpl_propertylist *plist, int value)
double xsh_pfits_get_temp2(const cpl_propertylist *plist)
find out the temp2 (UVB prism)
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)
void xsh_pfits_set_total_nsat(cpl_propertylist *plist, int value)
Write the total number of saturated pixels value.
double xsh_pfits_get_tel_targ_delta(const cpl_propertylist *plist)
Get the TEL TARG DELTA.
double xsh_pfits_get_b_ra_cumoffset(const cpl_propertylist *plist)
double xsh_pfits_get_utc(const cpl_propertylist *plist)
Find out the observation time.
void xsh_pfits_set_bias_right_median(cpl_propertylist *plist, double value)
Write the BIAS RIGHT MEDIAN value.
double xsh_pfits_get_cd32(const cpl_propertylist *plist)
find out the cd3_2
void xsh_pfits_set_cd31(cpl_propertylist *plist, double cd31)
Write the CD3_2 value.
const char * xsh_pfits_get_pcatg(const cpl_propertylist *)
find out the pcatg
void xsh_pfits_set_cd32(cpl_propertylist *plist, double cd32)
Write the CD3_2 value.
const char * xsh_pfits_get_raw1name(const cpl_propertylist *plist)
find out the ESO.RAW1.NAME
void xsh_pfits_set_shiftifu_slitref(cpl_propertylist *plist, double value)
void xsh_pfits_set_bias_up_median(cpl_propertylist *plist, double value)
Write the BIAS UP MEDIAN value.
double xsh_pfits_get_shiftifu_slitref(cpl_propertylist *plist)
void xsh_pfits_set_cd23(cpl_propertylist *plist, double cd23)
Write the CD2_3 value.
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)
double xsh_pfits_get_wavesol_x_max(cpl_propertylist *plist)
find out the wavesol max x position
void xsh_pfits_set_rectify_space_min(cpl_propertylist *plist, double value)
WRITE the space (slit) min value.
const char * xsh_pfits_get_cunit2(const cpl_propertylist *plist)
find out the CUNIT2
double xsh_pfits_get_dec(const cpl_propertylist *plist)
Get the Right Ascension.
void xsh_pfits_set_wavesol_y_max(cpl_propertylist *plist, double value)
WRITE the max y position.
void xsh_pfits_set_frac_sat(cpl_propertylist *plist, double value)
Write the fraction of saturated pixels value.
void xsh_pfits_set_b_dec_reloffset(cpl_propertylist *plist, double value)
const char * xsh_pfits_get_date(const cpl_propertylist *)
find out the DATE
void xsh_pfits_set_slitmap_median_edglo(cpl_propertylist *plist, double value)
double xsh_pfits_get_posang(const cpl_propertylist *plist)
double xsh_pfits_get_wavesol_y_min(cpl_propertylist *plist)
find out the min y position
void xsh_pfits_set_cunit3(cpl_propertylist *plist, const char *value)
Write the CUNIT1 value.
const char * xsh_pfits_get_telescop(const cpl_propertylist *plist)
find out the TELESCOP value (telescope ID)
double xsh_pfits_get_dec_cumoffset(const cpl_propertylist *plist)
const char * xsh_pfits_get_dpr_catg(const cpl_propertylist *plist)
find out the DPR CATG
void xsh_pfits_set_ctype3(cpl_propertylist *plist, const char *value)
Write the CTYPE3 value.
int xsh_pfits_get_ovscy(const cpl_propertylist *plist)
find out the OVSCY value
void xsh_pfits_set_shiftifu_slitupref(cpl_propertylist *plist, double value)
void xsh_pfits_set_wavesol_slit_min(cpl_propertylist *plist, double value)
WRITE the min slit.
double xsh_pfits_get_cd12(const cpl_propertylist *plist)
find out the cd1_2
void xsh_pfits_set_frac_range_pix(cpl_propertylist *plist, double value)
Write the fraction of range pixels value.
void xsh_pfits_set_slitmap_order_edgup(cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_n_range_pix(cpl_propertylist *plist, int value)
Write the number of range pixels value.
void xsh_pfits_set_slitmap_median_edgup(cpl_propertylist *plist, double value)
void xsh_pfits_set_wavemap_order_lambda_max(cpl_propertylist *plist, int absorder, double value)
const char * xsh_pfits_get_date_obs(const cpl_propertylist *)
find out the DATE
void xsh_pfits_set_crpix3(cpl_propertylist *plist, double crpix3)
Write the CRPIX3 value.
void xsh_pfits_set_dpr_catg(cpl_propertylist *plist, const char *value)
Write the DPR CATG value.
void xsh_pfits_set_wavesol_lambda_max(cpl_propertylist *plist, double value)
WRITE the max lambda.
cpl_error_code xsh_plist_div_by_fct(cpl_propertylist **plist, const int fctx, const int fcty)
double xsh_pfits_get_slitmap_median_slicup(const cpl_propertylist *plist)
double xsh_pfits_get_tpl_start(const cpl_propertylist *plist)
Find out the template start.
double xsh_pfits_get_tel_targ_alpha(const cpl_propertylist *plist)
Get the TEL TARG ALPHA.
double xsh_pfits_get_crpix1(const cpl_propertylist *plist)
find out the CRPIX1 value
cpl_error_code xsh_pfits_set_wcs1(cpl_propertylist *header, const double crpix1, const double crval1, const double cdelt1)
double xsh_pfits_get_geolat(const cpl_propertylist *plist)
Find out the telescope latitude.
double xsh_pfits_get_gain(const cpl_propertylist *plist)
find out the GAIN value
void xsh_pfits_set_wavesoltype(cpl_propertylist *plist, const char *value)
Write the WAVESOL TYPE value.
double xsh_pfits_get_cd22(const cpl_propertylist *plist)
find out the cd2_2
double xsh_pfits_get_slitmap_median_edgup(const cpl_propertylist *plist)
int xsh_pfits_get_naxis3(const cpl_propertylist *plist)
find out the NAXIS3 value
void xsh_pfits_set_slitmap_order_slicup(cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_wavesol_slit_max(cpl_propertylist *plist, double value)
WRITE the max slit.
void xsh_pfits_set_wavesol_order_max(cpl_propertylist *plist, double value)
WRITE the max order.
double xsh_pfits_get_bias_left_stdev(cpl_propertylist *plist)
find out the BIAS LEFT STDEV value
const char * xsh_pfits_get_obs_targ_name(const cpl_propertylist *plist)
find out the ESO.OBS.TARG.NAME
double xsh_pfits_get_crpix3(const cpl_propertylist *plist)
find out the CRPIX3 value
double xsh_pfits_get_cdelt1(const cpl_propertylist *)
find out the cdelt1
double xsh_pfits_get_pszy(const cpl_propertylist *plist)
find out the PSZY (size of 1 pixel in Microns)
void xsh_pfits_set_exptime(cpl_propertylist *plist, double exptime)
Write the EXPTIME value.
void xsh_pfits_set_cunit1(cpl_propertylist *plist, const char *value)
Write the CUNIT1 value.
void xsh_pfits_set_rectify_bin_space(cpl_propertylist *plist, double value)
WRITE the space (slit) binning.
double xsh_pfits_get_cd33(const cpl_propertylist *plist)
find out the cd3_3
const char * xsh_pfits_get_arcfile(const cpl_propertylist *)
find out the arcfile
int xsh_pfits_get_biny(const cpl_propertylist *plist)
find out the BINY value
double xsh_pfits_get_dec_reloffset(const cpl_propertylist *plist)
double xsh_pfits_get_nod_reloffset(const cpl_propertylist *plist)
Get the Relative Jitter Offset.
int xsh_pfits_get_chip_ny(const cpl_propertylist *plist)
find out the CHIP NY value
void xsh_pfits_set_dpr_type(cpl_propertylist *plist, const char *value)
Write the DPR TYPE value.
void xsh_pfits_set_bunit(cpl_propertylist *plist, const char *value)
Write the BUNIT value.
const char * xsh_pfits_get_dpr_tech(const cpl_propertylist *plist)
find out the DPR TECH
double xsh_pfits_get_wavesol_x_min(cpl_propertylist *plist)
find out the min x position
double xsh_pfits_get_wavesol_slit_max(cpl_propertylist *plist)
find out the wavesol max slit
double xsh_pfits_get_slitmap_median_sliclo(const cpl_propertylist *plist)
int xsh_pfits_get_obs_id(cpl_propertylist *plist)
find out the OBS ID
double xsh_pfits_get_bias_right_median(cpl_propertylist *plist)
find out the BIAS RIGHT MEDIAN value
void xsh_pfits_set_cd33(cpl_propertylist *plist, double cd33)
Write the CD3_3 value.
double xsh_pfits_get_exptime(const cpl_propertylist *)
find out the exposure time
int xsh_pfits_is_flat(cpl_propertylist *plist)
int xsh_pfits_get_prscx(const cpl_propertylist *plist)
find out the PRSCX value
double xsh_pfits_get_ra(const cpl_propertylist *plist)
Get the Right Ascension.
double xsh_pfits_get_ron(const cpl_propertylist *plist)
find out the RON value
const char * xsh_pfits_get_cunit3(const cpl_propertylist *plist)
find out the CUNIT3
void xsh_pfits_set_b_ra_cumoffset(cpl_propertylist *plist, double value)
void xsh_pfits_set_bias_left_median(cpl_propertylist *plist, double value)
Write the BIAS LEFT MEDIAN value.
double xsh_pfits_get_bias_down_stdev(cpl_propertylist *plist)
find out the BIAS DOWN STDEV value
double xsh_pfits_get_b_dec_cumoffset(const cpl_propertylist *plist)
int xsh_pfits_get_datancom(const cpl_propertylist *)
find out the DATANCOM value
void xsh_pfits_set_slitmap_median_sliclo(cpl_propertylist *plist, double value)
cpl_error_code xsh_frame_force_pro_catg(const char *fname, const char *tag)
Force a frame PRO.CATG to a given value.
double xsh_pfits_get_mjdobs(const cpl_propertylist *plist)
Find out the modified julian observation date.
double xsh_pfits_get_b_dec_reloffset(const cpl_propertylist *plist)
void xsh_pfits_set_cunit2(cpl_propertylist *plist, const char *value)
Write the CUNIT2 value.
double xsh_pfits_get_cd21(const cpl_propertylist *plist)
find out the cd2_1
double xsh_pfits_get_airm_mean(const cpl_propertylist *plist)
find out the mean airmass value
void xsh_pfits_set_rectify_lambda_min(cpl_propertylist *plist, double value)
WRITE the lambda min value.
cpl_error_code xsh_pfits_combine_headers(cpl_propertylist *header, cpl_frameset *set)
void xsh_pfits_set_bias_down_stdev(cpl_propertylist *plist, double value)
Write the BIAS DOWN STDEV value.
void xsh_pfits_set_crval3(cpl_propertylist *plist, double crval3)
Write the CRVAL3 value.
void xsh_pfits_set_crval1(cpl_propertylist *plist, double crval1)
Write the CRVAL1 value.
void xsh_pfits_set_wavesol_lambda_min(cpl_propertylist *plist, double value)
WRITE the min lambda.
void xsh_pfits_set_bias_right_stdev(cpl_propertylist *plist, double value)
Write the BIAS RIGHT STDEV value.
void xsh_pfits_set_wavesol_x_max(cpl_propertylist *plist, double value)
WRITE the max x position.
int xsh_pfits_get_naxis1(const cpl_propertylist *plist)
find out the NAXIS1 value
double xsh_pfits_get_ra_reloffset(const cpl_propertylist *plist)
cpl_error_code xsh_pfits_set_cd_matrix(cpl_propertylist *header, const double cdelt1, const double cdelt2)
int xsh_pfits_get_FOCU1ENC(const cpl_propertylist *plist)
find out the FOCU1 POS (UVB prism auto-focus temperature)
void xsh_pfits_set_bias_down_median(cpl_propertylist *plist, double value)
Write the BIAS DOWN MEDIAN value.
double xsh_pfits_get_crpix2(const cpl_propertylist *plist)
find out the CRPIX2 value
int xsh_pfits_get_tpl_expno(const cpl_propertylist *plist)
Find out the template start.
void xsh_pfits_set_cdelt2(cpl_propertylist *plist, double cdelt2)
Write the CDELT2 value.
double xsh_pfits_get_bias_left_median(cpl_propertylist *plist)
find out the BIAS LEFT MEDIAN value
double xsh_pfits_get_crval1(const cpl_propertylist *)
find out the crval1
void xsh_pfits_set_crpix2(cpl_propertylist *plist, double crpix2)
Write the CRPIX2 value.
void xsh_pfits_set_cd12(cpl_propertylist *plist, double cd12)
Write the CD1_2 value.
void xsh_pfits_set_crval2(cpl_propertylist *plist, double crval2)
Write the CRVAL2 value.
double xsh_pfits_get_cd23(const cpl_propertylist *plist)
find out the cd2_3
double xsh_pfits_get_seeing_end(const cpl_propertylist *plist)
find out the TEL AMBI END value (Seeing)
void xsh_pfits_set_bias_up_stdev(cpl_propertylist *plist, double value)
Write the BIAS UP STDEV value.
void xsh_pfits_set_extract_slit_min(cpl_propertylist *plist, double value)
WRITE the min slit for extraction.
const char * xsh_pfits_get_wavesoltype(const cpl_propertylist *)
Find out the WAVESOL TYPE.
void xsh_pfits_set_bias_left_stdev(cpl_propertylist *plist, double value)
Write the BIAS LEFT STDEV value.
void xsh_pfits_set_cd11(cpl_propertylist *plist, double cd11)
Write the CD1_1 value.
int xsh_pfits_get_prscy(const cpl_propertylist *plist)
find out the PRSCY value
double xsh_pfits_get_extract_slit_min(cpl_propertylist *plist)
find out the extraction min slit
void xsh_pfits_set_extract_slit_max(cpl_propertylist *plist, double value)
WRITE the min slit for extraction.
double xsh_pfits_get_nod_cumoffset(const cpl_propertylist *plist)
Get the Cumulative Jitter Offset.
int xsh_pfits_get_naxis(const cpl_propertylist *plist)
find out the NAXIS value
void xsh_pfits_set_slitmap_order_edglo(cpl_propertylist *plist, int absorder, double value)
cpl_error_code xsh_pfits_combine_two_frames_headers(cpl_frame *first, cpl_frame *second)
double xsh_pfits_get_cd11(const cpl_propertylist *plist)
find out the cd1_1
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_cumoffsety(const cpl_propertylist *plist)
const char * xsh_pfits_get_cunit1(const cpl_propertylist *plist)
find out the CUNIT1
double xsh_pfits_get_rectify_lambda_max(cpl_propertylist *plist)
find out the rectify lambda max
double xsh_pfits_get_airm_start(const cpl_propertylist *plist)
find out the TEL AIRM START value
double xsh_pfits_get_posangle(const cpl_propertylist *plist)
find out the value of the CUMOFFSETX keyword in a header
int xsh_pfits_is_obs(cpl_propertylist *plist)
double xsh_pfits_get_det_pxspace(const cpl_propertylist *plist)
find out the DET CHIP PXSPACE
void xsh_pfits_set_slitmap_order_sliclo(cpl_propertylist *plist, int absorder, double value)
double xsh_pfits_get_wavesol_order_max(cpl_propertylist *plist)
find out the wavesol max order
void xsh_pfits_set_wavemap_order_lambda_min(cpl_propertylist *plist, int absorder, double value)
void xsh_pfits_set_wavesol_order_min(cpl_propertylist *plist, double value)
WRITE the min order.
int xsh_pfits_get_naxis2(const cpl_propertylist *plist)
find out the NAXIS2 value
double xsh_pfits_get_crval3(const cpl_propertylist *plist)
find out the crval3
double xsh_pfits_get_temp82(const cpl_propertylist *plist)
find out the temp82 (NIR prisms)
double xsh_pfits_get_ins_targ_delta(const cpl_propertylist *plist)
double xsh_pfits_get_ins_targ_alpha(const cpl_propertylist *plist)