MUSE Pipeline Reference Manual
1.0.2
|
Functions | |
const char * | muse_pfits_get_arcfile (const cpl_propertylist *aHeaders) |
find out the arcfile 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... | |
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... | |
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 region 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 region 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... | |
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... | |
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 841 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 823 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 969 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 401 of file muse_pfits.c.
Referenced by 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 419 of file muse_pfits.c.
Referenced by 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_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 473 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 455 of file muse_pfits.c.
Referenced by 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 492 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 437 of file muse_pfits.c.
Referenced by muse_frameset_check_raw().
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 329 of file muse_pfits.c.
Referenced by muse_frameset_sort_raw_other(), muse_processing_new_frame(), muse_processing_sort_exposures(), 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 250 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_flux_integrate_std(), 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 106 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 88 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 1077 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 1023 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 1041 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 1059 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 271 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 347 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_flux_calibrate(), muse_flux_integrate_std(), muse_imagelist_dump_statistics(), muse_imagelist_scale_exptime(), and muse_xcombine_weights().
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 188 of file muse_pfits.c.
Referenced by muse_datacube_load(), muse_image_load_from_raw(), muse_pfits_has_ifu(), 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 804 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 950 of file muse_pfits.c.
Referenced by muse_flux_integrate_std(), muse_wcs_locate_sources(), and muse_xcombine_weights().
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 931 of file muse_pfits.c.
Referenced by muse_flux_integrate_std(), muse_wcs_locate_sources(), and muse_xcombine_weights().
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 539 of file muse_pfits.c.
Referenced by 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 781 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 735 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 759 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute().
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 1125 of file muse_pfits.c.
Referenced by muse_pfits_get_mode().
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 1248 of file muse_pfits.c.
Referenced by 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 1269 of file muse_pfits.c.
Referenced by 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 1225 of file muse_pfits.c.
Referenced by muse_utils_header_get_lamp_names(), and muse_utils_header_get_lamp_numbers().
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 293 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 311 of file muse_pfits.c.
Referenced by muse_astro_rvcorr_compute().
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 1097 of file muse_pfits.c.
References muse_pfits_get_insmode().
Referenced by muse_dar_check(), muse_dar_correct(), muse_flux_integrate_std(), muse_postproc_process_exposure(), muse_postproc_qc_fwhm(), and muse_wcs_locate_sources().
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 207 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 region 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 601 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 region 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 622 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 557 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 579 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 687 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 709 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 643 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 665 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 1201 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 1151 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 1181 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 1005 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 987 of file muse_pfits.c.
Referenced by muse_astro_parangle().
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 71 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 1334 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 1363 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 913 of file muse_pfits.c.
Referenced by muse_dar_correct().
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 895 of file muse_pfits.c.
Referenced by muse_dar_correct(), 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 142 of file muse_pfits.c.
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 124 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 232 of file muse_pfits.c.
Referenced by muse_astro_airmass(), muse_astro_rvcorr_compute(), muse_flux_integrate_std(), muse_postproc_load_nearest(), muse_postproc_process_exposure(), muse_wcs_locate_sources(), and muse_xcombine_tables().
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 365 of file muse_pfits.c.
Referenced by 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 383 of file muse_pfits.c.
Referenced by 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 877 of file muse_pfits.c.
Referenced by muse_dar_correct(), 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 513 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 1290 of file muse_pfits.c.
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 1311 of file muse_pfits.c.
Referenced by muse_utils_header_get_lamp_names(), and muse_utils_header_get_lamp_numbers().
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 859 of file muse_pfits.c.
Referenced by muse_dar_correct(), 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 164 of file muse_pfits.c.
References muse_pfits_get_extname().
Referenced by muse_utils_get_extension_for_ifu(), and muse_utils_get_ifu().