MUSE Pipeline Reference Manual
2.1.1
|
Functions | |
const char * | muse_pfits_get_arcfile (const cpl_propertylist *aHeaders) |
find out the arcfile More... | |
const char * | muse_pfits_get_origfile (const cpl_propertylist *aHeaders) |
find out the origfile More... | |
const char * | muse_pfits_get_pipefile (const cpl_propertylist *aHeaders) |
find out the pipefile More... | |
const char * | muse_pfits_get_dpr_type (const cpl_propertylist *aHeaders) |
find out the DPR type More... | |
const char * | muse_pfits_get_dpr_catg (const cpl_propertylist *aHeaders) |
find out the DPR category More... | |
const char * | muse_pfits_get_pro_type (const cpl_propertylist *aHeaders) |
find out the PRO type More... | |
const char * | muse_pfits_get_pro_catg (const cpl_propertylist *aHeaders) |
find out the PRO category More... | |
cpl_boolean | muse_pfits_has_ifu (const cpl_propertylist *aHeaders, unsigned char aIFU) |
Find out the whether this header related to a certain IFU. More... | |
const char * | muse_pfits_get_extname (const cpl_propertylist *aHeaders) |
find out the extension name More... | |
const char * | muse_pfits_get_bunit (const cpl_propertylist *aHeaders) |
find out the unit string More... | |
cpl_size | muse_pfits_get_naxis (const cpl_propertylist *aHeaders, unsigned int aAxis) |
find out the size of a given axis More... | |
double | muse_pfits_get_ra (const cpl_propertylist *aHeaders) |
find out the right ascension More... | |
double | muse_pfits_get_dec (const cpl_propertylist *aHeaders) |
find out the declination More... | |
double | muse_pfits_get_equinox (const cpl_propertylist *aHeaders) |
find out the equinox More... | |
double | muse_pfits_get_lst (const cpl_propertylist *aHeaders) |
find out the local siderial time More... | |
double | muse_pfits_get_mjdobs (const cpl_propertylist *aHeaders) |
find out the Julian Date of the observation More... | |
const char * | muse_pfits_get_dateobs (const cpl_propertylist *aHeaders) |
find out the date of observations More... | |
double | muse_pfits_get_exptime (const cpl_propertylist *aHeaders) |
find out the exposure time More... | |
double | muse_pfits_get_crpix (const cpl_propertylist *aHeaders, unsigned int aAxis) |
find out the WCS reference point More... | |
double | muse_pfits_get_crval (const cpl_propertylist *aHeaders, unsigned int aAxis) |
find out the WCS coordinate at the reference point More... | |
double | muse_pfits_get_cd (const cpl_propertylist *aHeaders, unsigned int aAxisI, unsigned int aAxisJ) |
find out the WCS coordinate at the reference point More... | |
const char * | muse_pfits_get_ctype (const cpl_propertylist *aHeaders, unsigned int aAxis) |
find out the WCS axis type string More... | |
const char * | muse_pfits_get_cunit (const cpl_propertylist *aHeaders, unsigned int aAxis) |
find out the WCS axis unit string More... | |
int | muse_pfits_get_read_id (const cpl_propertylist *aHeaders) |
find out the readout mode id More... | |
const char * | muse_pfits_get_read_name (const cpl_propertylist *aHeaders) |
find out the readout mode name More... | |
int | muse_pfits_get_binx (const cpl_propertylist *aHeaders) |
find out the binning factor in x direction More... | |
int | muse_pfits_get_biny (const cpl_propertylist *aHeaders) |
find out the binning factor in y direction More... | |
const char * | muse_pfits_get_chip_name (const cpl_propertylist *aHeaders) |
find out the chip name More... | |
const char * | muse_pfits_get_chip_id (const cpl_propertylist *aHeaders) |
find out the chip id More... | |
const char * | muse_pfits_get_chip_date (const cpl_propertylist *aHeaders) |
find out the chip installation date More... | |
cpl_boolean | muse_pfits_get_chip_live (const cpl_propertylist *aHeaders) |
find out if the CCD was active (live) More... | |
double | muse_pfits_get_ron (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find the detector read-out noise More... | |
double | muse_pfits_get_gain (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find the detector gain (in units of count/adu) More... | |
int | muse_pfits_get_out_output_x (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the horizontal location of the output port of one quadrant More... | |
int | muse_pfits_get_out_output_y (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the vertical location of the output port of one quadrant More... | |
int | muse_pfits_get_out_nx (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the horizontal size of the data section of one quadrant More... | |
int | muse_pfits_get_out_ny (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the vertical size of the data section of one quadrant More... | |
int | muse_pfits_get_out_prescan_x (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the horizontal size of the prescan region of one quadrant More... | |
int | muse_pfits_get_out_prescan_y (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the vertical size of the prescan region of one quadrant More... | |
int | muse_pfits_get_out_overscan_x (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the horizontal size of the overscan region of one quadrant More... | |
int | muse_pfits_get_out_overscan_y (const cpl_propertylist *aHeaders, unsigned char aQuadrant) |
find out the vertical size of the overscan region of one quadrant More... | |
double | muse_pfits_get_geolat (const cpl_propertylist *aHeaders) |
find out the telescope's latitude More... | |
double | muse_pfits_get_geolon (const cpl_propertylist *aHeaders) |
find out the telescope's longitude More... | |
double | muse_pfits_get_geoelev (const cpl_propertylist *aHeaders) |
find out the telescope's elevation More... | |
double | muse_pfits_get_focu_scale (const cpl_propertylist *aHeaders) |
find out the scale in the VLT focal plane More... | |
double | muse_pfits_get_airmass_start (const cpl_propertylist *aHeaders) |
find out the airmass at start of exposure More... | |
double | muse_pfits_get_airmass_end (const cpl_propertylist *aHeaders) |
find out the airmass at end of exposure More... | |
double | muse_pfits_get_temp (const cpl_propertylist *aHeaders) |
find out the ambient temperature (in degrees Celsius) More... | |
double | muse_pfits_get_rhum (const cpl_propertylist *aHeaders) |
find out the relavtive humidity (in %) More... | |
double | muse_pfits_get_pres_start (const cpl_propertylist *aHeaders) |
find out the ambient pressure at start of exposure (in mbar) More... | |
double | muse_pfits_get_pres_end (const cpl_propertylist *aHeaders) |
find out the ambient pressure at end of exposure (in mbar) More... | |
double | muse_pfits_get_fwhm_start (const cpl_propertylist *aHeaders) |
find out the ambient seeing at start of exposure (in arcsec) More... | |
double | muse_pfits_get_fwhm_end (const cpl_propertylist *aHeaders) |
find out the ambient seeing at end of exposure (in arcsec) More... | |
double | muse_pfits_get_altang (const cpl_propertylist *aHeaders) |
find out the altitude angle at start of the exposure (in degrees) More... | |
double | muse_pfits_get_parang_start (const cpl_propertylist *aHeaders) |
find out the parallactic angle at start of exposure (in degrees) More... | |
double | muse_pfits_get_parang_end (const cpl_propertylist *aHeaders) |
find out the parallactic angle at end of exposure (in degrees) More... | |
double | muse_pfits_get_agx_avg (const cpl_propertylist *aHeaders) |
find out the x-FWHM average value from the auto-guider (in arcsec) More... | |
double | muse_pfits_get_agx_rms (const cpl_propertylist *aHeaders) |
find out the x-FWHM root mean square from the auto-guider (in arcsec) More... | |
double | muse_pfits_get_agy_avg (const cpl_propertylist *aHeaders) |
find out the y-FWHM average value from the auto-guider (in arcsec) More... | |
double | muse_pfits_get_agy_rms (const cpl_propertylist *aHeaders) |
find out the y-FWHM root mean square from the auto-guider (in arcsec) More... | |
double | muse_pfits_get_ia_fwhm (const cpl_propertylist *aHeaders) |
find out the image analysis FWHM corrected by airmass (in arcsec) More... | |
double | muse_pfits_get_ia_fwhmlin (const cpl_propertylist *aHeaders) |
find out the image analysis FWHM from a linear fit (in arcsec) More... | |
const char * | muse_pfits_get_drot_mode (const cpl_propertylist *aHeaders) |
find out the MUSE derotator mode More... | |
double | muse_pfits_get_drot_posang (const cpl_propertylist *aHeaders) |
find out the MUSE derotator position angle (in degrees) More... | |
double | muse_pfits_get_drot_start (const cpl_propertylist *aHeaders) |
find out the MUSE derotator rotation at exposure start (in degrees) More... | |
double | muse_pfits_get_drot_end (const cpl_propertylist *aHeaders) |
find out the MUSE derotator rotation at exposure end (in degrees) More... | |
muse_ins_mode | muse_pfits_get_mode (const cpl_propertylist *aHeaders) |
find out the observation mode More... | |
const char * | muse_pfits_get_insmode (const cpl_propertylist *aHeaders) |
find out the observation mode More... | |
double | muse_pfits_get_pam_intensity (const cpl_propertylist *aHeaders, int aDiode) |
query the intensity measured by one photo diode (pico amplifier) More... | |
double | muse_pfits_get_pam_stdev (const cpl_propertylist *aHeaders, int aDiode) |
query the intensity std. dev. of one photo diode (pico amplifier) More... | |
const char * | muse_pfits_get_pam2_filter (const cpl_propertylist *aHeaders) |
query the filter set up in front of photo diode (pico amplifier) 2 More... | |
int | muse_pfits_get_lampnum (const cpl_propertylist *aHeaders) |
query the number of lamps installed More... | |
const char * | muse_pfits_get_lamp_name (const cpl_propertylist *aHeaders, int aLamp) |
query the name of one lamp More... | |
int | muse_pfits_get_lamp_status (const cpl_propertylist *aHeaders, int aLamp) |
query the status of one lamp More... | |
const char * | muse_pfits_get_shut_name (const cpl_propertylist *aHeaders, int aShutter) |
query the name of one shutter More... | |
int | muse_pfits_get_shut_status (const cpl_propertylist *aHeaders, int aShutter) |
query the status of one shutter More... | |
int | muse_pfits_get_posenc (const cpl_propertylist *aHeaders, unsigned short aEncoder) |
query the absolute encoder position of one encoder More... | |
double | muse_pfits_get_pospos (const cpl_propertylist *aHeaders, unsigned short aEncoder) |
query the position in user units of one encoder More... | |
long | muse_pfits_get_obsid (const cpl_propertylist *aHeaders) |
find out the observation block id More... | |
const char * | muse_pfits_get_progid (const cpl_propertylist *aHeaders) |
find out the ESO program identification More... | |
const char * | muse_pfits_get_targname (const cpl_propertylist *aHeaders) |
find out the ESO observation target name More... | |
const char * | muse_pfits_get_pipe_id (const cpl_propertylist *aHeaders, unsigned int idx) |
find out the value of the flux calibration flag More... | |
const char * | muse_pfits_get_raw_filename (const cpl_propertylist *aHeaders, unsigned int idx) |
find out the i-th raw file name. More... | |
const char * | muse_pfits_get_ancestor (const cpl_propertylist *aHeaders) |
find out the ancestor of a file. More... | |
double muse_pfits_get_agx_avg | ( | const cpl_propertylist * | aHeaders | ) |
find out the x-FWHM average value from the auto-guider (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO OCS SGS AG FWHMX AVG
Definition at line 1170 of file muse_pfits.c.
double muse_pfits_get_agx_rms | ( | const cpl_propertylist * | aHeaders | ) |
find out the x-FWHM root mean square from the auto-guider (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO OCS SGS AG FWHMX RMS
Definition at line 1188 of file muse_pfits.c.
double muse_pfits_get_agy_avg | ( | const cpl_propertylist * | aHeaders | ) |
find out the y-FWHM average value from the auto-guider (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO OCS SGS AG FWHMY AVG
Definition at line 1206 of file muse_pfits.c.
double muse_pfits_get_agy_rms | ( | const cpl_propertylist * | aHeaders | ) |
find out the y-FWHM root mean square from the auto-guider (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO OCS SGS AG FWHMY RMS
Definition at line 1224 of file muse_pfits.c.
double muse_pfits_get_airmass_end | ( | const cpl_propertylist * | aHeaders | ) |
find out the airmass at end of exposure
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AIRM END
Definition at line 988 of file muse_pfits.c.
Referenced by muse_astro_airmass().
double muse_pfits_get_airmass_start | ( | const cpl_propertylist * | aHeaders | ) |
find out the airmass at start of exposure
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AIRM START
Definition at line 970 of file muse_pfits.c.
Referenced by muse_astro_airmass().
double muse_pfits_get_altang | ( | const cpl_propertylist * | aHeaders | ) |
find out the altitude angle at start of the exposure (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL ALT
Definition at line 1116 of file muse_pfits.c.
const char* muse_pfits_get_ancestor | ( | const cpl_propertylist * | aHeaders | ) |
find out the ancestor of a file.
aHeaders | property list/headers to read from |
Queries FITS header for ESO.PRO.ANCESTOR
Definition at line 1739 of file muse_pfits.c.
const char* muse_pfits_get_arcfile | ( | const cpl_propertylist * | aHeaders | ) |
find out the arcfile
aHeaders | property list/headers to read from |
Queries FITS header ARCFILE
Definition at line 54 of file muse_pfits.c.
int muse_pfits_get_binx | ( | const cpl_propertylist * | aHeaders | ) |
find out the binning factor in x direction
aHeaders | property list/headers to read from |
Queries FITS header ESO DET BINX
Definition at line 548 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), muse_frameset_check_raw(), muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_biny | ( | const cpl_propertylist * | aHeaders | ) |
find out the binning factor in y direction
aHeaders | property list/headers to read from |
Queries FITS header ESO DET BINY
Definition at line 566 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), muse_frameset_check_raw(), muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), muse_quadrants_trim_image(), and muse_quadrants_verify().
const char* muse_pfits_get_bunit | ( | const cpl_propertylist * | aHeaders | ) |
find out the unit string
aHeaders | property list/headers to read from |
Queries FITS header BUNIT
Definition at line 223 of file muse_pfits.c.
Referenced by muse_datacube_save(), muse_datacube_save_recimages(), muse_flux_integrate_cube(), muse_flux_response_compute(), muse_fov_load(), muse_image_adu_to_count(), muse_image_load_internal(), muse_image_save(), muse_pixtable_create(), muse_pixtable_save(), muse_wave_calib(), and muse_wave_calib_lampwise().
double muse_pfits_get_cd | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxisI, | ||
unsigned int | aAxisJ | ||
) |
find out the WCS coordinate at the reference point
aHeaders | property list/headers to read from |
aAxisI | the first axis (the "i" of CDi_j) |
aAxisJ | the second axis (the "j" of CDi_j) |
Queries FITS header CDi_j
Definition at line 446 of file muse_pfits.c.
Referenced by muse_basicproc_apply_twilight(), muse_dar_check(), muse_datacube_collapse(), muse_datacube_concat(), muse_flux_integrate_cube(), muse_lsf_cube_load(), muse_pixgrid_create(), muse_pixtable_and_selected_mask(), muse_postproc_qc_fwhm(), muse_resampling_collapse_pixgrid(), muse_resampling_euro3d(), muse_resampling_params_delete(), muse_sky_spectrum_from_cube(), muse_wcs_apply_cd(), muse_wcs_get_angles(), muse_wcs_get_scales(), muse_wcs_new(), muse_wcs_project_tan(), and muse_wcs_solve().
const char* muse_pfits_get_chip_date | ( | const cpl_propertylist * | aHeaders | ) |
find out the chip installation date
aHeaders | property list/headers to read from |
Queries FITS header ESO DET CHIP DATE
Definition at line 620 of file muse_pfits.c.
const char* muse_pfits_get_chip_id | ( | const cpl_propertylist * | aHeaders | ) |
find out the chip id
aHeaders | property list/headers to read from |
Queries FITS header ESO DET CHIP ID
Definition at line 602 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), and muse_frameset_check_raw().
cpl_boolean muse_pfits_get_chip_live | ( | const cpl_propertylist * | aHeaders | ) |
find out if the CCD was active (live)
aHeaders | property list/headers to read from |
Queries FITS header ESO DET CHIP LIVE
Definition at line 639 of file muse_pfits.c.
Referenced by muse_image_load_from_raw().
const char* muse_pfits_get_chip_name | ( | const cpl_propertylist * | aHeaders | ) |
find out the chip name
aHeaders | property list/headers to read from |
Queries FITS header ESO DET CHIP NAME
Definition at line 584 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), and muse_frameset_check_raw().
double muse_pfits_get_crpix | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxis | ||
) |
find out the WCS reference point
aHeaders | property list/headers to read from |
aAxis | the axis (the "i" of CRPIXi) |
Queries FITS header CRPIXi
Definition at line 401 of file muse_pfits.c.
Referenced by muse_basicproc_apply_twilight(), muse_dar_check(), muse_datacube_collapse(), muse_datacube_concat(), muse_flux_integrate_cube(), muse_lsf_cube_load(), muse_pixgrid_create(), muse_pixtable_and_selected_mask(), muse_postproc_qc_fwhm(), muse_resampling_cube(), muse_resampling_params_delete(), muse_sky_spectrum_from_cube(), muse_wcs_new(), and muse_wcs_project_tan().
double muse_pfits_get_crval | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxis | ||
) |
find out the WCS coordinate at the reference point
aHeaders | property list/headers to read from |
aAxis | the axis (the "i" of CRVALi) |
Queries FITS header CRVALi
Definition at line 423 of file muse_pfits.c.
Referenced by muse_basicproc_apply_twilight(), muse_dar_check(), muse_datacube_collapse(), muse_datacube_concat(), muse_flux_integrate_cube(), muse_lsf_cube_load(), muse_pixgrid_create(), muse_pixtable_and_selected_mask(), muse_pixtable_compute_limits(), muse_pixtable_dump(), muse_pixtable_restrict_xpos(), muse_pixtable_restrict_ypos(), muse_postproc_qc_fwhm(), muse_resampling_collapse_pixgrid(), muse_resampling_euro3d(), muse_resampling_params_delete(), muse_sky_spectrum_from_cube(), muse_wcs_new(), and muse_wcs_projplane_from_celestial().
const char* muse_pfits_get_ctype | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxis | ||
) |
find out the WCS axis type string
aHeaders | property list/headers to read from |
aAxis | the axis (the "i" of CTYPEi) |
Queries FITS header CTYPEi
Definition at line 469 of file muse_pfits.c.
Referenced by muse_datacube_collapse(), muse_datacube_concat(), muse_flux_integrate_cube(), muse_pixgrid_create(), muse_postproc_qc_fwhm(), muse_resampling_euro3d(), muse_resampling_params_delete(), muse_resampling_params_set_wcs(), muse_wcs_celestial_from_pixel(), muse_wcs_pixel_from_celestial(), muse_wcs_position_celestial(), muse_wcs_project_tan(), and muse_wcs_projplane_from_celestial().
const char* muse_pfits_get_cunit | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxis | ||
) |
find out the WCS axis unit string
aHeaders | property list/headers to read from |
aAxis | the axis (the "i" of CUNITi) |
Queries FITS header CUNITi
Definition at line 491 of file muse_pfits.c.
Referenced by muse_flux_integrate_cube(), and muse_resampling_euro3d().
const char* muse_pfits_get_dateobs | ( | const cpl_propertylist * | aHeaders | ) |
find out the date of observations
aHeaders | property list/headers to read from |
Queries FITS header DATE-OBS
Definition at line 364 of file muse_pfits.c.
Referenced by muse_frameset_sort_raw_other(), muse_processing_new_frame(), muse_processing_sort_exposures(), muse_resampling_params_delete(), muse_trace(), and muse_xcombine_tables().
double muse_pfits_get_dec | ( | const cpl_propertylist * | aHeaders | ) |
find out the declination
aHeaders | property list/headers to read from |
Queries FITS header DEC
Definition at line 285 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_flux_integrate_cube(), muse_postproc_load_nearest(), muse_postproc_process_exposure(), muse_wcs_locate_sources(), and muse_xcombine_tables().
const char* muse_pfits_get_dpr_catg | ( | const cpl_propertylist * | aHeaders | ) |
find out the DPR category
aHeaders | property list/headers to read from |
Queries FITS header ESO DPR CATG
Definition at line 123 of file muse_pfits.c.
const char* muse_pfits_get_dpr_type | ( | const cpl_propertylist * | aHeaders | ) |
find out the DPR type
aHeaders | property list/headers to read from |
Queries FITS header ESO DPR TYPE
Definition at line 105 of file muse_pfits.c.
double muse_pfits_get_drot_end | ( | const cpl_propertylist * | aHeaders | ) |
find out the MUSE derotator rotation at exposure end (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO INS DROT END
Definition at line 1332 of file muse_pfits.c.
const char* muse_pfits_get_drot_mode | ( | const cpl_propertylist * | aHeaders | ) |
find out the MUSE derotator mode
aHeaders | property list/headers to read from |
Queries FITS header ESO INS DROT MODE
Definition at line 1278 of file muse_pfits.c.
Referenced by muse_astro_posangle().
double muse_pfits_get_drot_posang | ( | const cpl_propertylist * | aHeaders | ) |
find out the MUSE derotator position angle (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO INS DROT POSANG
Definition at line 1296 of file muse_pfits.c.
Referenced by muse_astro_posangle().
double muse_pfits_get_drot_start | ( | const cpl_propertylist * | aHeaders | ) |
find out the MUSE derotator rotation at exposure start (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO INS DROT START
Definition at line 1314 of file muse_pfits.c.
double muse_pfits_get_equinox | ( | const cpl_propertylist * | aHeaders | ) |
find out the equinox
aHeaders | property list/headers to read from |
Queries FITS header EQUINOX
Definition at line 306 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute().
double muse_pfits_get_exptime | ( | const cpl_propertylist * | aHeaders | ) |
find out the exposure time
aHeaders | property list/headers to read from |
Queries FITS header EXPTIME
Definition at line 382 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_basicproc_params_delete(), muse_flux_calibrate(), muse_flux_integrate_cube(), muse_imagelist_dump_statistics(), and muse_imagelist_scale_exptime().
const char* muse_pfits_get_extname | ( | const cpl_propertylist * | aHeaders | ) |
find out the extension name
aHeaders | property list/headers to read from |
Queries FITS header EXTNAME
Definition at line 205 of file muse_pfits.c.
Referenced by muse_datacube_load(), muse_fov_load(), muse_image_load_from_raw(), muse_pfits_has_ifu(), muse_pixtable_save(), and muse_table_load().
double muse_pfits_get_focu_scale | ( | const cpl_propertylist * | aHeaders | ) |
find out the scale in the VLT focal plane
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL FOCU SCALE, should be in units of [arcsec / mm].
A super-precise value should be 1.70549 but to keep compatibility between the value in the header (if it's there) and the "error" case, lets return it with less digits.
Definition at line 951 of file muse_pfits.c.
Referenced by muse_geo_measure_spots().
double muse_pfits_get_fwhm_end | ( | const cpl_propertylist * | aHeaders | ) |
find out the ambient seeing at end of exposure (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI FWHM END
Definition at line 1097 of file muse_pfits.c.
Referenced by muse_flux_integrate_cube(), and muse_wcs_centroid_stars().
double muse_pfits_get_fwhm_start | ( | const cpl_propertylist * | aHeaders | ) |
find out the ambient seeing at start of exposure (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI FWHM START
Definition at line 1078 of file muse_pfits.c.
Referenced by muse_flux_integrate_cube(), and muse_wcs_centroid_stars().
double muse_pfits_get_gain | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find the detector gain (in units of count/adu)
aHeaders | property list/headers to read from |
aQuadrant | the CCD quadrant to operate on (1 to 4) |
Queries FITS header ESO DET OUTi GAIN
This function assumes that GAIN comes in units of [count/adu] (or electrons per ADU).
Definition at line 686 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), muse_image_adu_to_count(), muse_image_variance_create(), muse_imagelist_compute_ron(), and muse_quadrants_overscan_correct().
double muse_pfits_get_geoelev | ( | const cpl_propertylist * | aHeaders | ) |
find out the telescope's elevation
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL GEOELEV
The default value is the UT4 entry taken from exposures taken during Comm2A (the value is the same as the "esovlt" location in the IRAF database).
Definition at line 928 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute().
double muse_pfits_get_geolat | ( | const cpl_propertylist * | aHeaders | ) |
find out the telescope's latitude
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL GEOLAT
The default value is the UT4 entry from http://www.eso.org/sci/facilities/paranal/site/paranal.html (the value is the same as the "esovlt" location in the IRAF database, but there it's rounded to four digits).
Definition at line 882 of file muse_pfits.c.
Referenced by muse_astro_airmass(), and muse_astro_rvcorr_compute().
double muse_pfits_get_geolon | ( | const cpl_propertylist * | aHeaders | ) |
find out the telescope's longitude
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL GEOLON
The default value is the UT4 entry from http://www.eso.org/sci/facilities/paranal/site/paranal.html (the value is the same as the "esovlt" location in the IRAF database, but there it's rounded to four digits).
Definition at line 906 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute().
double muse_pfits_get_ia_fwhm | ( | const cpl_propertylist * | aHeaders | ) |
find out the image analysis FWHM corrected by airmass (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL IA FWHM
Definition at line 1242 of file muse_pfits.c.
double muse_pfits_get_ia_fwhmlin | ( | const cpl_propertylist * | aHeaders | ) |
find out the image analysis FWHM from a linear fit (in arcsec)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL IA FWHMLIN
Definition at line 1260 of file muse_pfits.c.
const char* muse_pfits_get_insmode | ( | const cpl_propertylist * | aHeaders | ) |
find out the observation mode
aHeaders | property list/headers to read from |
Queries header ESO INS MODE The difference to muse_pfits_get_mode() is that this function returns the string content of the header, not the corresponding mode enum.
Definition at line 1383 of file muse_pfits.c.
Referenced by muse_basicproc_mask_notch_filter(), muse_basicproc_params_delete(), muse_pfits_get_mode(), and muse_wave_params_new().
const char* muse_pfits_get_lamp_name | ( | const cpl_propertylist * | aHeaders, |
int | aLamp | ||
) |
query the name of one lamp
aHeaders | property list/headers to read from |
aLamp | number of the lamp to query |
Queries FITS header ESO INS LAMPi NAME
Definition at line 1506 of file muse_pfits.c.
Referenced by muse_basicproc_mask_notch_filter(), and muse_utils_header_get_lamp_names().
int muse_pfits_get_lamp_status | ( | const cpl_propertylist * | aHeaders, |
int | aLamp | ||
) |
query the status of one lamp
aHeaders | property list/headers to read from |
aLamp | number of the lamp to query |
Queries FITS header ESO INS LAMPi ST
Definition at line 1527 of file muse_pfits.c.
Referenced by muse_basicproc_mask_notch_filter(), muse_utils_header_get_lamp_names(), and muse_utils_header_get_lamp_numbers().
int muse_pfits_get_lampnum | ( | const cpl_propertylist * | aHeaders | ) |
query the number of lamps installed
aHeaders | property list/headers to read from |
Queries FITS header ESO INS LAMPNUM The number returned on success can be used to enumerate both lamps and lamp shutters (keywords INS LAMPi and INS SHUTi).
Definition at line 1483 of file muse_pfits.c.
Referenced by muse_utils_header_get_lamp_names(), muse_utils_header_get_lamp_numbers(), and muse_wave_params_delete().
double muse_pfits_get_lst | ( | const cpl_propertylist * | aHeaders | ) |
find out the local siderial time
aHeaders | property list/headers to read from |
Queries FITS header LST
Definition at line 328 of file muse_pfits.c.
Referenced by muse_astro_airmass().
double muse_pfits_get_mjdobs | ( | const cpl_propertylist * | aHeaders | ) |
find out the Julian Date of the observation
aHeaders | property list/headers to read from |
Queries FITS header MJD-OBS
Definition at line 346 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute(), and muse_resampling_params_delete().
muse_ins_mode muse_pfits_get_mode | ( | const cpl_propertylist * | aHeaders | ) |
find out the observation mode
aHeaders | property list/headers to read from |
Queries header ESO INS MODE Uses muse_pfits_get_insmode() to query the string of the header.
Definition at line 1352 of file muse_pfits.c.
References muse_pfits_get_insmode().
Referenced by muse_basicproc_mask_notch_filter(), muse_basicproc_params_delete(), muse_dar_check(), muse_dar_correct(), muse_flux_get_response_table(), muse_flux_integrate_cube(), muse_flux_integrate_std(), muse_lsf_create_arcpixtable(), muse_postproc_process_exposure(), muse_postproc_qc_fwhm(), muse_resampling_params_delete(), muse_wave_params_delete(), muse_wave_params_new(), muse_wcs_centroid_stars(), and muse_wcs_optimize_solution().
cpl_size muse_pfits_get_naxis | ( | const cpl_propertylist * | aHeaders, |
unsigned int | aAxis | ||
) |
find out the size of a given axis
aHeaders | property list/headers to read from |
aAxis | the axis to read from, give 0 for NAXIS |
Queries FITS header NAXIS or NAXISi
Definition at line 242 of file muse_pfits.c.
Referenced by muse_fov_load(), and muse_pixtable_save().
long muse_pfits_get_obsid | ( | const cpl_propertylist * | aHeaders | ) |
find out the observation block id
aHeaders | property list/headers to read from |
Queries FITS header for ESO.OBS.ID
Definition at line 1641 of file muse_pfits.c.
const char* muse_pfits_get_origfile | ( | const cpl_propertylist * | aHeaders | ) |
find out the origfile
aHeaders | property list/headers to read from |
Queries FITS header ORIGFILE
Definition at line 71 of file muse_pfits.c.
int muse_pfits_get_out_nx | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the horizontal size of the data section of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi NX
Definition at line 748 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_out_ny | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the vertical size of the data section of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi NY
Definition at line 769 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_out_output_x | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the horizontal location of the output port of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi X
Definition at line 704 of file muse_pfits.c.
Referenced by muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_out_output_y | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the vertical location of the output port of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi Y
Definition at line 726 of file muse_pfits.c.
Referenced by muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_out_overscan_x | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the horizontal size of the overscan region of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi OVSCX
Definition at line 834 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), and muse_quadrants_verify().
int muse_pfits_get_out_overscan_y | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the vertical size of the overscan region of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi OVSCY
Definition at line 856 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_overscan_stats(), and muse_quadrants_verify().
int muse_pfits_get_out_prescan_x | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the horizontal size of the prescan region of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi PRSCX
Definition at line 790 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_trim_image(), and muse_quadrants_verify().
int muse_pfits_get_out_prescan_y | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find out the vertical size of the prescan region of one quadrant
aHeaders | property list/headers to read from |
aQuadrant | quadrant to look for |
Queries FITS header ESO DET OUTi PRSCY
Definition at line 812 of file muse_pfits.c.
Referenced by muse_quadrants_get_window(), muse_quadrants_overscan_get_window(), muse_quadrants_overscan_polyfit_vertical(), muse_quadrants_trim_image(), and muse_quadrants_verify().
const char* muse_pfits_get_pam2_filter | ( | const cpl_propertylist * | aHeaders | ) |
query the filter set up in front of photo diode (pico amplifier) 2
aHeaders | property list/headers to read from |
Queries FITS header ESO INS AMPL2 FILTER
Definition at line 1459 of file muse_pfits.c.
double muse_pfits_get_pam_intensity | ( | const cpl_propertylist * | aHeaders, |
int | aDiode | ||
) |
query the intensity measured by one photo diode (pico amplifier)
aHeaders | property list/headers to read from |
aDiode | number of the photo diode to query |
Queries FITS header ESO INS AMPLi CURR
The FITS keyword is in units of mA, but the function returns the intensity in Ampere, if the unit in the header can be determined.
This function ensures the unit by searching for "[mA]" in the FITS comment. If not found, an error is set, otherwise it converts the returned value from mA to A.
Definition at line 1409 of file muse_pfits.c.
double muse_pfits_get_pam_stdev | ( | const cpl_propertylist * | aHeaders, |
int | aDiode | ||
) |
query the intensity std. dev. of one photo diode (pico amplifier)
aHeaders | property list/headers to read from |
aDiode | number of the photo diode to query |
Queries FITS header ESO INS AMPLi STDEV
Definition at line 1439 of file muse_pfits.c.
double muse_pfits_get_parang_end | ( | const cpl_propertylist * | aHeaders | ) |
find out the parallactic angle at end of exposure (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL PARANG END
Definition at line 1152 of file muse_pfits.c.
Referenced by muse_astro_parangle().
double muse_pfits_get_parang_start | ( | const cpl_propertylist * | aHeaders | ) |
find out the parallactic angle at start of exposure (in degrees)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL PARANG START
Definition at line 1134 of file muse_pfits.c.
Referenced by muse_astro_parangle().
const char* muse_pfits_get_pipe_id | ( | const cpl_propertylist * | aHeaders, |
unsigned int | idx | ||
) |
find out the value of the flux calibration flag
aHeaders | property list/headers to read from |
idx | recipe index |
Queries FITS header for ESO.PRO.REC<idx>.PIPE.ID
Definition at line 1696 of file muse_pfits.c.
const char* muse_pfits_get_pipefile | ( | const cpl_propertylist * | aHeaders | ) |
find out the pipefile
aHeaders | property list/headers to read from |
Queries FITS header PIPEFILE
Definition at line 88 of file muse_pfits.c.
Referenced by muse_frameset_find().
int muse_pfits_get_posenc | ( | const cpl_propertylist * | aHeaders, |
unsigned short | aEncoder | ||
) |
query the absolute encoder position of one encoder
aHeaders | property list/headers to read from |
aEncoder | number of the encoder to query |
For possible values of aEncoder see muse_pfits_get_pospos().
Queries FITS header ESO INS POSi ENC
Definition at line 1592 of file muse_pfits.c.
Referenced by muse_geo_measure_spots().
double muse_pfits_get_pospos | ( | const cpl_propertylist * | aHeaders, |
unsigned short | aEncoder | ||
) |
query the position in user units of one encoder
aHeaders | property list/headers to read from |
aEncoder | number of the encoder to query |
Queries FITS header ESO INS POSi POS. It returns the following properties, depending on the value of aEncoder:
There are no other POSi headers in MUSE headers, so for other values of aEncoder, this function will set an error and return 0.0.
Definition at line 1621 of file muse_pfits.c.
Referenced by muse_geo_measure_spots().
double muse_pfits_get_pres_end | ( | const cpl_propertylist * | aHeaders | ) |
find out the ambient pressure at end of exposure (in mbar)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI PRES END
Definition at line 1060 of file muse_pfits.c.
Referenced by muse_dar_correct(), and muse_phys_air_to_vacuum().
double muse_pfits_get_pres_start | ( | const cpl_propertylist * | aHeaders | ) |
find out the ambient pressure at start of exposure (in mbar)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI PRES START
Definition at line 1042 of file muse_pfits.c.
Referenced by muse_dar_correct(), muse_phys_air_to_vacuum(), and muse_resampling_euro3d().
const char* muse_pfits_get_pro_catg | ( | const cpl_propertylist * | aHeaders | ) |
find out the PRO category
aHeaders | property list/headers to read from |
Queries FITS header ESO PRO CATG
Definition at line 159 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), and muse_flux_calibrate().
const char* muse_pfits_get_pro_type | ( | const cpl_propertylist * | aHeaders | ) |
find out the PRO type
aHeaders | property list/headers to read from |
Queries FITS header ESO PRO TYPE
Definition at line 141 of file muse_pfits.c.
const char* muse_pfits_get_progid | ( | const cpl_propertylist * | aHeaders | ) |
find out the ESO program identification
aHeaders | property list/headers to read from |
Queries FITS header for ESO.OBS.PROG.ID
Definition at line 1659 of file muse_pfits.c.
double muse_pfits_get_ra | ( | const cpl_propertylist * | aHeaders | ) |
find out the right ascension
aHeaders | property list/headers to read from |
Queries FITS header RA
Definition at line 267 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_flux_integrate_cube(), muse_postproc_load_nearest(), muse_postproc_process_exposure(), muse_wcs_locate_sources(), and muse_xcombine_tables().
const char* muse_pfits_get_raw_filename | ( | const cpl_propertylist * | aHeaders, |
unsigned int | idx | ||
) |
find out the i-th raw file name.
aHeaders | property list/headers to read from |
idx | raw file index |
Queries FITS header for ESO.PRO.REC1.RAW<idx>.NAME
Definition at line 1718 of file muse_pfits.c.
int muse_pfits_get_read_id | ( | const cpl_propertylist * | aHeaders | ) |
find out the readout mode id
aHeaders | property list/headers to read from |
Queries FITS header ESO DET READ CURID
Definition at line 512 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), and muse_frameset_check_raw().
const char* muse_pfits_get_read_name | ( | const cpl_propertylist * | aHeaders | ) |
find out the readout mode name
aHeaders | property list/headers to read from |
Queries FITS header ESO DET READ CURNAME
Definition at line 530 of file muse_pfits.c.
Referenced by muse_basicproc_params_delete(), and muse_frameset_check_raw().
double muse_pfits_get_rhum | ( | const cpl_propertylist * | aHeaders | ) |
find out the relavtive humidity (in %)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI RHUM
Definition at line 1024 of file muse_pfits.c.
Referenced by muse_dar_correct(), muse_phys_air_to_vacuum(), and muse_resampling_euro3d().
double muse_pfits_get_ron | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aQuadrant | ||
) |
find the detector read-out noise
aHeaders | property list/headers to read from |
aQuadrant | the CCD quadrant to operate on (1 to 4) |
Queries FITS header ESO DET OUTi RON
Definition at line 660 of file muse_pfits.c.
Referenced by muse_imagelist_compute_ron().
const char* muse_pfits_get_shut_name | ( | const cpl_propertylist * | aHeaders, |
int | aShutter | ||
) |
query the name of one shutter
aHeaders | property list/headers to read from |
aShutter | number of the shutter to query |
Queries FITS header ESO INS SHUTi NAME
Definition at line 1548 of file muse_pfits.c.
Referenced by muse_basicproc_mask_notch_filter().
int muse_pfits_get_shut_status | ( | const cpl_propertylist * | aHeaders, |
int | aShutter | ||
) |
query the status of one shutter
aHeaders | property list/headers to read from |
aShutter | number of the shutter to query |
Queries FITS header ESO INS SHUTi ST
Definition at line 1569 of file muse_pfits.c.
Referenced by muse_basicproc_mask_notch_filter(), muse_utils_header_get_lamp_names(), and muse_utils_header_get_lamp_numbers().
const char* muse_pfits_get_targname | ( | const cpl_propertylist * | aHeaders | ) |
find out the ESO observation target name
aHeaders | property list/headers to read from |
Queries FITS header for ESO.OBS.TARG.NAME
Definition at line 1677 of file muse_pfits.c.
Referenced by muse_flux_compute_qc().
double muse_pfits_get_temp | ( | const cpl_propertylist * | aHeaders | ) |
find out the ambient temperature (in degrees Celsius)
aHeaders | property list/headers to read from |
Queries FITS header ESO TEL AMBI TEMP
Definition at line 1006 of file muse_pfits.c.
Referenced by muse_dar_correct(), muse_phys_air_to_vacuum(), and muse_resampling_euro3d().
cpl_boolean muse_pfits_has_ifu | ( | const cpl_propertylist * | aHeaders, |
unsigned char | aIFU | ||
) |
Find out the whether this header related to a certain IFU.
aHeaders | property list/headers to read from |
aIFU | the IFU number to query |
Queries FITS header EXTNAME and parses the CHAN%02d string for the IFU (channel) number.
Using this function may be faster than comparison with muse_utils_get_ifu().
Definition at line 181 of file muse_pfits.c.
References muse_pfits_get_extname().
Referenced by muse_utils_get_extension_for_ifu(), and muse_utils_get_ifu().