MOONS Pipeline Reference Manual 0.13.2
Functions
FITS header protected access

Functions

cpl_image * moo_outputs_create_det (moo_outputs *self, cpl_image *raw, int nx, int ny, moo_detector_type dtype)
 Create the DET data from RAW header and DATA.
 
const char * moo_pfits_get_arcfile (const cpl_propertylist *plist)
 find out the arcfile
 
const char * moo_pfits_get_date (const cpl_propertylist *plist)
 find out the date
 
const char * moo_pfits_get_dateobs (const cpl_propertylist *plist)
 find out the DATE-OBS
 
double moo_pfits_get_mjdobs (const cpl_propertylist *plist)
 find out the MJD-OBS
 
const char * moo_pfits_get_extname (const cpl_propertylist *plist)
 find out the EXTNAME
 
double moo_pfits_get_dit (const cpl_propertylist *plist)
 find out the DIT value
 
int moo_pfits_get_ndit (const cpl_propertylist *plist)
 find out the ESO DET NDIT value
 
int moo_pfits_get_live (const cpl_propertylist *plist)
 find out the ESO DET LIVE value
 
int moo_pfits_get_det_outputs (const cpl_propertylist *plist)
 find out the ESO DET OUTPUTS value
 
float moo_pfits_get_det_outi_ron (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI RON value
 
float moo_pfits_get_det_chip_ron (const cpl_propertylist *plist)
 find out the ESO DET CHIP RON value
 
float moo_pfits_get_det_outi_gain (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI GAIN value
 
float moo_pfits_get_det_chip_outi_gain (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI CHIP GAIN value
 
int moo_pfits_get_det_outi_nx (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI NX value
 
int moo_pfits_get_det_chip_outi_nx (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI CHIP NX value
 
int moo_pfits_get_det_outi_ny (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI NY value
 
int moo_pfits_get_det_chip_outi_ny (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI NY value
 
int moo_pfits_get_det_outi_x (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI X value
 
int moo_pfits_get_det_chip_outi_x (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI X value
 
int moo_pfits_get_det_outi_y (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI Y value
 
int moo_pfits_get_det_chip_outi_y (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI Y value
 
int moo_pfits_get_det_outi_prscx (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI PRSCX value
 
int moo_pfits_get_det_chip_outi_prscx (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI PRSCX value
 
int moo_pfits_get_det_outi_prscy (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI PRSCY value
 
int moo_pfits_get_det_chip_outi_prscy (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI PRSCY value
 
int moo_pfits_get_det_outi_ovscx (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI OVSCX value
 
int moo_pfits_get_det_chip_outi_ovscx (const cpl_propertylist *plist, int i)
 find out the ESO DET CHIP OUTI OVSCX value
 
int moo_pfits_get_det_outi_ovscy (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI OVSCY value
 
int moo_pfits_get_det_chip_outi_ovscy (const cpl_propertylist *plist, int i)
 find out the ESO DET OUTI CHIP OVSCY value
 
int moo_pfits_get_det_chip_nx (const cpl_propertylist *plist)
 find out the ESO DET CHIP NX value
 
int moo_pfits_get_det_chip_ny (const cpl_propertylist *plist)
 find out the ESO DET CHIP NY value
 
int moo_pfits_get_det_chip_live (const cpl_propertylist *plist)
 find out the ESO DET CHIP LIVE value
 
int moo_pfits_get_naxis (const cpl_propertylist *plist)
 find out the NAXIS value
 
int moo_pfits_get_naxis1 (const cpl_propertylist *plist)
 find out the NAXIS1 value
 
int moo_pfits_get_naxis2 (const cpl_propertylist *plist)
 find out the NAXIS2 value
 
double moo_pfits_get_exptime (const cpl_propertylist *plist)
 find out the EXPTIME value
 
cpl_error_code moo_pfits_update_exptime (cpl_propertylist *plist, double value)
 Set the EXPTIME value.
 
cpl_error_code moo_pfits_update_ra (cpl_propertylist *plist, double value)
 Set the RA value.
 
cpl_error_code moo_pfits_update_dec (cpl_propertylist *plist, double value)
 Set the DEC value.
 
int moo_pfits_get_slit_offset (const cpl_propertylist *plist)
 find out the INS SLIT OFFSET value
 
moo_mode_type moo_pfits_get_mode (const cpl_propertylist *plist)
 find out the INS SLIT MODE value
 
double moo_pfits_get_crpix2 (const cpl_propertylist *plist)
 find out the CRPIX2 value
 
double moo_pfits_get_crval1 (const cpl_propertylist *plist)
 find out the CRVAL1 value
 
double moo_pfits_get_crpix1 (const cpl_propertylist *plist)
 find out the CRPIX1 value
 
double moo_pfits_get_cdelt2 (const cpl_propertylist *plist)
 find out the CDELT2 value
 
double moo_pfits_get_cdelt1 (const cpl_propertylist *plist)
 find out the CDELT1 value
 
double moo_pfits_get_cd1_1 (const cpl_propertylist *plist)
 find out the CD1_1 value
 
double moo_pfits_get_cd2_2 (const cpl_propertylist *plist)
 find out the CD2_2 value
 
double moo_pfits_get_tel_airm_start (const cpl_propertylist *plist)
 find out the TEL.AIRM.START value
 
double moo_pfits_get_tel_airm_end (const cpl_propertylist *plist)
 find out the TEL.AIRM.END value
 
cpl_error_code moo_pfits_update_ncoadd (cpl_propertylist *plist, int v)
 set the ESO PRO NCOADD value
 
int moo_pfits_get_pro_ncoadd (const cpl_propertylist *plist)
 find out the PRO.NOCAODD value
 
const char * moo_pfits_get_pro_wavesol_model (const cpl_propertylist *plist)
 find out the PRO.WAVESOL.MODEL value
 
const char * moo_pfits_get_obs_start (const cpl_propertylist *plist)
 find out the PRO.WAVESOL.MODEL value
 
const char * moo_pfits_get_pro_rec1_id (const cpl_propertylist *plist)
 find out the PRO.REC1.ID value
 
const char * moo_pfits_get_pro_wavesol_degx (const cpl_propertylist *plist)
 find out the PRO.WAVESOL.DEGX value
 
int moo_pfits_get_pro_wavesol_degy (const cpl_propertylist *plist)
 find out the PRO.WAVESOL.DEGY value
 
cpl_error_code moo_pfits_append_hduclass (cpl_propertylist *plist)
 Set the HDUCLASS Keyword.
 
cpl_error_code moo_pfits_append_hduclass_data (cpl_propertylist *plist, moo_detector_type type, int ntas)
 Set the HDUCLASS DATA Keyword.
 
cpl_error_code moo_pfits_append_hduclass_error (cpl_propertylist *plist, moo_detector_type type, int ntas, const cpl_propertylist *sci_header)
 Set the HDUCLASS ERROR Keyword.
 
cpl_error_code moo_pfits_append_hduclass_quality (cpl_propertylist *plist, moo_detector_type type, int ntas, const cpl_propertylist *sci_header, int mask)
 Set the HDUCLASS QUALITY Keyword.
 
cpl_error_code moo_pfits_set_fluxcal (cpl_propertylist *plist, const char *val)
 Set the FLUXCAL Keyword.
 
cpl_error_code moo_pfits_set_wlmin (cpl_propertylist *plist, double val)
 Set the WAVELMIN Keyword.
 
cpl_error_code moo_pfits_set_wlmax (cpl_propertylist *plist, double val)
 Set the WAVELMAX Keyword.
 
cpl_error_code moo_pfits_set_spec_bin (cpl_propertylist *plist, double val)
 Set the SPEC_BIN Keyword.
 

Detailed Description

Function Documentation

◆ moo_outputs_create_det()

cpl_image * moo_outputs_create_det ( moo_outputs *  self,
cpl_image *  raw,
int  nx,
int  ny,
moo_detector_type  dtype 
)

Create the DET data from RAW header and DATA.

Parameters
selfthe OUTPUT header
rawthe RAW image
nxthe image size in x
nythe image size in y
dtypethe detector type (RI,YJ,H)
Returns
the DET data

Definition at line 218 of file moo_pfits.c.

References MOO_TYPE_RI.

◆ moo_pfits_append_hduclass()

cpl_error_code moo_pfits_append_hduclass ( cpl_propertylist *  plist)

Set the HDUCLASS Keyword.

Parameters
plistproperty list to write to
Returns
the error code

Definition at line 1470 of file moo_pfits.c.

Referenced by moo_pfits_append_hduclass_data(), moo_pfits_append_hduclass_error(), and moo_pfits_append_hduclass_quality().

◆ moo_pfits_append_hduclass_data()

cpl_error_code moo_pfits_append_hduclass_data ( cpl_propertylist *  plist,
moo_detector_type  type,
int  ntas 
)

Set the HDUCLASS DATA Keyword.

Parameters
plistproperty list to write to
typethe detector type
ntasthe number id of spectrograph
Returns
the error code

Definition at line 1504 of file moo_pfits.c.

References moo_detector_get_err_extname(), moo_detector_get_qual_extname(), and moo_pfits_append_hduclass().

◆ moo_pfits_append_hduclass_error()

cpl_error_code moo_pfits_append_hduclass_error ( cpl_propertylist *  plist,
moo_detector_type  type,
int  ntas,
const cpl_propertylist *  sci_header 
)

Set the HDUCLASS ERROR Keyword.

Parameters
plistproperty list to write to
typethe detector type
ntasthe number id of spectrograph
sci_headerthe SCI header
Returns
the error code

Definition at line 1537 of file moo_pfits.c.

References moo_detector_get_extname(), moo_detector_get_qual_extname(), and moo_pfits_append_hduclass().

Referenced by moo_ext_single_save(), moo_rbn_single_save(), moo_sci_single_save(), and moo_single_save().

◆ moo_pfits_append_hduclass_quality()

cpl_error_code moo_pfits_append_hduclass_quality ( cpl_propertylist *  plist,
moo_detector_type  type,
int  ntas,
const cpl_propertylist *  sci_header,
int  mask 
)

Set the HDUCLASS QUALITY Keyword.

Parameters
plistproperty list to write to
typethe detector type
ntasthe number id of spectrograph
sci_headerthe SCI header
maskthe QUALMASK value
Returns
the error code

Definition at line 1591 of file moo_pfits.c.

References moo_detector_get_err_extname(), moo_detector_get_extname(), and moo_pfits_append_hduclass().

Referenced by moo_ext_single_save(), moo_rbn_single_save(), moo_sci_single_save(), and moo_single_save().

◆ moo_pfits_get_arcfile()

const char * moo_pfits_get_arcfile ( const cpl_propertylist *  plist)

find out the arcfile

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 279 of file moo_pfits.c.

◆ moo_pfits_get_cd1_1()

double moo_pfits_get_cd1_1 ( const cpl_propertylist *  plist)

find out the CD1_1 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1256 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_compute_resp(), moo_correct_tell(), moo_correct_tell_science(), moo_molecfit_calctrans(), moo_molecfit_model(), moo_rbn_single_compute_snr(), moo_resp_create(), and moo_sci_single_compute_snr().

◆ moo_pfits_get_cd2_2()

double moo_pfits_get_cd2_2 ( const cpl_propertylist *  plist)

find out the CD2_2 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1276 of file moo_pfits.c.

Referenced by moo_psf_single_get_cube_ref().

◆ moo_pfits_get_cdelt1()

double moo_pfits_get_cdelt1 ( const cpl_propertylist *  plist)

find out the CDELT1 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1236 of file moo_pfits.c.

◆ moo_pfits_get_cdelt2()

double moo_pfits_get_cdelt2 ( const cpl_propertylist *  plist)

find out the CDELT2 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1216 of file moo_pfits.c.

◆ moo_pfits_get_crpix1()

double moo_pfits_get_crpix1 ( const cpl_propertylist *  plist)

find out the CRPIX1 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1196 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_correct_tell(), moo_correct_tell_science(), moo_molecfit_calctrans(), moo_molecfit_model(), moo_rbn_single_compute_snr(), moo_resp_create(), and moo_sci_single_compute_snr().

◆ moo_pfits_get_crpix2()

double moo_pfits_get_crpix2 ( const cpl_propertylist *  plist)

find out the CRPIX2 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1156 of file moo_pfits.c.

Referenced by moo_psf_single_get_cube_ref().

◆ moo_pfits_get_crval1()

double moo_pfits_get_crval1 ( const cpl_propertylist *  plist)

find out the CRVAL1 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1176 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_correct_tell(), moo_correct_tell_science(), moo_molecfit_calctrans(), moo_molecfit_model(), moo_rbn_single_compute_snr(), moo_resp_create(), and moo_sci_single_compute_snr().

◆ moo_pfits_get_date()

const char * moo_pfits_get_date ( const cpl_propertylist *  plist)

find out the date

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 295 of file moo_pfits.c.

◆ moo_pfits_get_dateobs()

const char * moo_pfits_get_dateobs ( const cpl_propertylist *  plist)

find out the DATE-OBS

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 311 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_live()

int moo_pfits_get_det_chip_live ( const cpl_propertylist *  plist)

find out the ESO DET CHIP LIVE value

Parameters
plistproperty list to read from
Returns
the requested value or 0

Definition at line 960 of file moo_pfits.c.

Referenced by moo_prepare_adu().

◆ moo_pfits_get_det_chip_nx()

int moo_pfits_get_det_chip_nx ( const cpl_propertylist *  plist)

find out the ESO DET CHIP NX value

Parameters
plistproperty list to read from
Returns
the requested value or 0

Definition at line 920 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_ny()

int moo_pfits_get_det_chip_ny ( const cpl_propertylist *  plist)

find out the ESO DET CHIP NY value

Parameters
plistproperty list to read from
Returns
the requested value or 0

Definition at line 940 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_gain()

float moo_pfits_get_det_chip_outi_gain ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI CHIP GAIN value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 507 of file moo_pfits.c.

Referenced by moo_masterdark().

◆ moo_pfits_get_det_chip_outi_nx()

int moo_pfits_get_det_chip_outi_nx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI CHIP NX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 551 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_ny()

int moo_pfits_get_det_chip_outi_ny ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI NY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 595 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_ovscx()

int moo_pfits_get_det_chip_outi_ovscx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI OVSCX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 855 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_ovscy()

int moo_pfits_get_det_chip_outi_ovscy ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI CHIP OVSCY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 899 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_prscx()

int moo_pfits_get_det_chip_outi_prscx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI PRSCX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 767 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_prscy()

int moo_pfits_get_det_chip_outi_prscy ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI PRSCY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 811 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_x()

int moo_pfits_get_det_chip_outi_x ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI X value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 639 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_outi_y()

int moo_pfits_get_det_chip_outi_y ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET CHIP OUTI Y value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 683 of file moo_pfits.c.

◆ moo_pfits_get_det_chip_ron()

float moo_pfits_get_det_chip_ron ( const cpl_propertylist *  plist)

find out the ESO DET CHIP RON value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 464 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_gain()

float moo_pfits_get_det_outi_gain ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI GAIN value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 485 of file moo_pfits.c.

Referenced by moo_masterdark().

◆ moo_pfits_get_det_outi_nx()

int moo_pfits_get_det_outi_nx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI NX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 529 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_ny()

int moo_pfits_get_det_outi_ny ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI NY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 573 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_ovscx()

int moo_pfits_get_det_outi_ovscx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI OVSCX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 833 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_ovscy()

int moo_pfits_get_det_outi_ovscy ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI OVSCY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 877 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_prscx()

int moo_pfits_get_det_outi_prscx ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI PRSCX value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 745 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_prscy()

int moo_pfits_get_det_outi_prscy ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI PRSCY value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 789 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_ron()

float moo_pfits_get_det_outi_ron ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI RON value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 443 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_x()

int moo_pfits_get_det_outi_x ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI X value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 617 of file moo_pfits.c.

◆ moo_pfits_get_det_outi_y()

int moo_pfits_get_det_outi_y ( const cpl_propertylist *  plist,
int  i 
)

find out the ESO DET OUTI Y value

Parameters
plistproperty list to read from
ioutput number
Returns
the requested value

Definition at line 661 of file moo_pfits.c.

◆ moo_pfits_get_det_outputs()

int moo_pfits_get_det_outputs ( const cpl_propertylist *  plist)

find out the ESO DET OUTPUTS value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 422 of file moo_pfits.c.

◆ moo_pfits_get_dit()

double moo_pfits_get_dit ( const cpl_propertylist *  plist)

find out the DIT value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 362 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_det_rescale_using_exptime(), moo_masterdark(), and moo_sub_sky_stare().

◆ moo_pfits_get_exptime()

double moo_pfits_get_exptime ( const cpl_propertylist *  plist)

find out the EXPTIME value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1039 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_correct_dark(), moo_det_rescale_using_exptime(), moo_dfs_get_exptime(), moo_masterdark(), and moo_sub_sky_stare().

◆ moo_pfits_get_extname()

const char * moo_pfits_get_extname ( const cpl_propertylist *  plist)

find out the EXTNAME

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 345 of file moo_pfits.c.

◆ moo_pfits_get_live()

int moo_pfits_get_live ( const cpl_propertylist *  plist)

find out the ESO DET LIVE value

Parameters
plistproperty list to read from
Returns
the requested value or 0

Definition at line 402 of file moo_pfits.c.

Referenced by moo_prepare_adu().

◆ moo_pfits_get_mjdobs()

double moo_pfits_get_mjdobs ( const cpl_propertylist *  plist)

find out the MJD-OBS

Parameters
plistproperty list to read from
Returns
pointer to statically allocated character string

Definition at line 328 of file moo_pfits.c.

◆ moo_pfits_get_mode()

moo_mode_type moo_pfits_get_mode ( const cpl_propertylist *  plist)

find out the INS SLIT MODE value

Parameters
plistproperty list to read from
Returns
the requested value or LR

Definition at line 1131 of file moo_pfits.c.

Referenced by moo_mode_get().

◆ moo_pfits_get_naxis()

int moo_pfits_get_naxis ( const cpl_propertylist *  plist)

find out the NAXIS value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 980 of file moo_pfits.c.

Referenced by moo_ext_single_create(), moo_molectable_load(), moo_rbn_single_create(), moo_sci_single_create(), moo_single_create(), and moo_telluric_load().

◆ moo_pfits_get_naxis1()

int moo_pfits_get_naxis1 ( const cpl_propertylist *  plist)

find out the NAXIS1 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1000 of file moo_pfits.c.

◆ moo_pfits_get_naxis2()

int moo_pfits_get_naxis2 ( const cpl_propertylist *  plist)

find out the NAXIS2 value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1020 of file moo_pfits.c.

◆ moo_pfits_get_ndit()

int moo_pfits_get_ndit ( const cpl_propertylist *  plist)

find out the ESO DET NDIT value

Parameters
plistproperty list to read from
Returns
the requested value or 0

Definition at line 382 of file moo_pfits.c.

Referenced by moo_calib_flux(), moo_det_rescale_using_exptime(), moo_masterdark(), and moo_sub_sky_stare().

◆ moo_pfits_get_obs_start()

const char * moo_pfits_get_obs_start ( const cpl_propertylist *  plist)

find out the PRO.WAVESOL.MODEL value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1390 of file moo_pfits.c.

◆ moo_pfits_get_pro_ncoadd()

int moo_pfits_get_pro_ncoadd ( const cpl_propertylist *  plist)

find out the PRO.NOCAODD value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1351 of file moo_pfits.c.

◆ moo_pfits_get_pro_rec1_id()

const char * moo_pfits_get_pro_rec1_id ( const cpl_propertylist *  plist)

find out the PRO.REC1.ID value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1409 of file moo_pfits.c.

◆ moo_pfits_get_pro_wavesol_degx()

const char * moo_pfits_get_pro_wavesol_degx ( const cpl_propertylist *  plist)

find out the PRO.WAVESOL.DEGX value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1432 of file moo_pfits.c.

◆ moo_pfits_get_pro_wavesol_degy()

int moo_pfits_get_pro_wavesol_degy ( const cpl_propertylist *  plist)

find out the PRO.WAVESOL.DEGY value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1452 of file moo_pfits.c.

◆ moo_pfits_get_pro_wavesol_model()

const char * moo_pfits_get_pro_wavesol_model ( const cpl_propertylist *  plist)

find out the PRO.WAVESOL.MODEL value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1370 of file moo_pfits.c.

◆ moo_pfits_get_slit_offset()

int moo_pfits_get_slit_offset ( const cpl_propertylist *  plist)

find out the INS SLIT OFFSET value

Parameters
plistproperty list to read from
Returns
the requested value or 0 in case of error

Definition at line 1110 of file moo_pfits.c.

Referenced by moo_dfs_split_by_offset(), and moo_offset_get().

◆ moo_pfits_get_tel_airm_end()

double moo_pfits_get_tel_airm_end ( const cpl_propertylist *  plist)

find out the TEL.AIRM.END value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1315 of file moo_pfits.c.

Referenced by moo_calib_flux(), and moo_compute_resp().

◆ moo_pfits_get_tel_airm_start()

double moo_pfits_get_tel_airm_start ( const cpl_propertylist *  plist)

find out the TEL.AIRM.START value

Parameters
plistproperty list to read from
Returns
the requested value

Definition at line 1295 of file moo_pfits.c.

Referenced by moo_calib_flux(), and moo_compute_resp().

◆ moo_pfits_set_fluxcal()

cpl_error_code moo_pfits_set_fluxcal ( cpl_propertylist *  plist,
const char *  val 
)

Set the FLUXCAL Keyword.

Parameters
plistproperty list to write to
valthe value of fluxcal
Returns
the error code

Definition at line 1640 of file moo_pfits.c.

◆ moo_pfits_set_spec_bin()

cpl_error_code moo_pfits_set_spec_bin ( cpl_propertylist *  plist,
double  val 
)

Set the SPEC_BIN Keyword.

Parameters
plistproperty list to write to
valthe value of fluxcal
Returns
the error code

Definition at line 1718 of file moo_pfits.c.

◆ moo_pfits_set_wlmax()

cpl_error_code moo_pfits_set_wlmax ( cpl_propertylist *  plist,
double  val 
)

Set the WAVELMAX Keyword.

Parameters
plistproperty list to write to
valthe value of fluxcal
Returns
the error code

Definition at line 1692 of file moo_pfits.c.

◆ moo_pfits_set_wlmin()

cpl_error_code moo_pfits_set_wlmin ( cpl_propertylist *  plist,
double  val 
)

Set the WAVELMIN Keyword.

Parameters
plistproperty list to write to
valthe value of fluxcal
Returns
the error code

Definition at line 1666 of file moo_pfits.c.

◆ moo_pfits_update_dec()

cpl_error_code moo_pfits_update_dec ( cpl_propertylist *  plist,
double  value 
)

Set the DEC value.

Parameters
plistproperty list to write to
valuethe value for DEC
Returns
the error code

Definition at line 1094 of file moo_pfits.c.

◆ moo_pfits_update_exptime()

cpl_error_code moo_pfits_update_exptime ( cpl_propertylist *  plist,
double  value 
)

Set the EXPTIME value.

Parameters
plistproperty list to write to
valuethe value for exptime
Returns
the error code

Definition at line 1060 of file moo_pfits.c.

Referenced by moo_masterdark().

◆ moo_pfits_update_ncoadd()

cpl_error_code moo_pfits_update_ncoadd ( cpl_propertylist *  plist,
int  v 
)

set the ESO PRO NCOADD value

Parameters
plistproperty list to read from
vthe value
Returns
the error code

Definition at line 1336 of file moo_pfits.c.

Referenced by moo_coadd().

◆ moo_pfits_update_ra()

cpl_error_code moo_pfits_update_ra ( cpl_propertylist *  plist,
double  value 
)

Set the RA value.

Parameters
plistproperty list to write to
valuethe value for RA
Returns
the error code

Definition at line 1077 of file moo_pfits.c.