VIRCAM Pipeline
1.3.4
|
These are support routines used for extracting information from FITS headers. More...
Functions | |
int | vircam_pfits_get_crval1 (const cpl_propertylist *plist, double *crval1) |
Get the value of crval1. More... | |
int | vircam_pfits_get_crpix1 (const cpl_propertylist *plist, double *crpix1) |
Get the value of crpix1. More... | |
int | vircam_pfits_get_crval2 (const cpl_propertylist *plist, double *crval2) |
Get the value of crval2. More... | |
int | vircam_pfits_get_crpix2 (const cpl_propertylist *plist, double *crpix2) |
Get the value of crpix2. More... | |
int | vircam_pfits_get_cd11 (const cpl_propertylist *plist, double *cd11) |
Get the value of cd1_1. More... | |
int | vircam_pfits_get_cd12 (const cpl_propertylist *plist, double *cd12) |
Get the value of cd1_2. More... | |
int | vircam_pfits_get_cd21 (const cpl_propertylist *plist, double *cd21) |
Get the value of cd2_1. More... | |
int | vircam_pfits_get_cd22 (const cpl_propertylist *plist, double *cd22) |
Get the value of cd2_2. More... | |
int | vircam_pfits_get_pv21 (const cpl_propertylist *plist, double *pv21) |
Get the value of pv2_1. More... | |
int | vircam_pfits_get_pv23 (const cpl_propertylist *plist, double *pv23) |
Get the value of pv2_3. More... | |
int | vircam_pfits_get_pv25 (const cpl_propertylist *plist, double *pv25) |
Get the value of pv2_5. More... | |
int | vircam_pfits_get_exptime (const cpl_propertylist *plist, float *exptime) |
Get the value of exposure time. More... | |
int | vircam_pfits_get_mindit (const cpl_propertylist *plist, float *mindit) |
Get the value of mindit time. More... | |
int | vircam_pfits_get_ditdelay (const cpl_propertylist *plist, float *ditdelay) |
Get the value of dit delay time. More... | |
int | vircam_pfits_get_naxis1 (const cpl_propertylist *plist, long *naxis1) |
Get the value of naxis1. More... | |
int | vircam_pfits_get_naxis2 (const cpl_propertylist *plist, long *naxis2) |
Get the value of naxis2. More... | |
int | vircam_pfits_get_chipno (const cpl_propertylist *plist, int *chipno) |
Get the value of chipno. More... | |
int | vircam_pfits_get_jxoff (const cpl_propertylist *plist, float *xoff) |
Get the value of the X jitter offset. More... | |
int | vircam_pfits_get_jyoff (const cpl_propertylist *plist, float *yoff) |
Get the value of the Y jitter offset. More... | |
int | vircam_pfits_get_airmass (const cpl_propertylist *plist, float *airmass) |
Get the value of the airmass. More... | |
int | vircam_pfits_get_nusteps (const cpl_propertylist *plist, int *nusteps) |
Get the value of the number of microsteps in a sequence. More... | |
int | vircam_pfits_get_ustepnum (const cpl_propertylist *plist, int *ustepnum) |
Get the value of the first run number in the current microstep sequence. More... | |
int | vircam_pfits_get_njsteps (const cpl_propertylist *plist, int *njsteps) |
Get the value of the number of observations in a jitter sequence. More... | |
int | vircam_pfits_get_jitternum (const cpl_propertylist *plist, int *jitternum) |
Get the value of the first run number in the current jitter sequence. More... | |
int | vircam_pfits_get_jitteri (const cpl_propertylist *plist, int *jitteri) |
Get the position number of an observations in a jitter sequence. More... | |
int | vircam_pfits_get_offsetnum (const cpl_propertylist *plist, int *offsetnum) |
Get the value of the first run number in the current tile sequence. More... | |
int | vircam_pfits_get_ndit (const cpl_propertylist *plist, int *ndit) |
Get the value of NDIT. More... | |
int | vircam_pfits_get_dit (const cpl_propertylist *plist, float *dit) |
Get the value of DIT. More... | |
int | vircam_pfits_get_detlive (const cpl_propertylist *plist, int *detlive) |
Get the value of DET_LIVE. More... | |
int | vircam_pfits_get_filter (const cpl_propertylist *plist, char *filt) |
Get the name of the current filter. More... | |
int | vircam_pfits_get_projid (const cpl_propertylist *plist, char *projid) |
Get the project id. More... | |
int | vircam_pfits_get_saturation (const cpl_propertylist *plist, float *saturation) |
Get the saturation level for this detector. More... | |
int | vircam_pfits_get_gain (const cpl_propertylist *plist, float *gain) |
Get the value of the detector gain. More... | |
int | vircam_pfits_get_mjd (const cpl_propertylist *plist, double *mjd) |
Get the value of the modified Julian date. More... | |
int | vircam_pfits_get_ra (const cpl_propertylist *plist, double *ra) |
Get the value of RA. More... | |
int | vircam_pfits_get_dec (const cpl_propertylist *plist, double *dec) |
Get the value of DEC. More... | |
These are support routines used for extracting information from FITS headers.
int vircam_pfits_get_airmass | ( | const cpl_propertylist * | plist, |
float * | airmass | ||
) |
Get the value of the airmass.
plist | property list to read from |
airmass | requested value of the airmass |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 405 of file vircam_pfits.c.
Referenced by vircam_illum(), and vircam_photcal().
int vircam_pfits_get_cd11 | ( | const cpl_propertylist * | plist, |
double * | cd11 | ||
) |
Get the value of cd1_1.
plist | property list to read from |
cd11 | requested value of cd1_1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 135 of file vircam_pfits.c.
int vircam_pfits_get_cd12 | ( | const cpl_propertylist * | plist, |
double * | cd12 | ||
) |
Get the value of cd1_2.
plist | property list to read from |
cd12 | requested value of cd1_2 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 150 of file vircam_pfits.c.
int vircam_pfits_get_cd21 | ( | const cpl_propertylist * | plist, |
double * | cd21 | ||
) |
Get the value of cd2_1.
plist | property list to read from |
cd21 | requested value of cd2_1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 166 of file vircam_pfits.c.
int vircam_pfits_get_cd22 | ( | const cpl_propertylist * | plist, |
double * | cd22 | ||
) |
Get the value of cd2_2.
plist | property list to read from |
cd22 | requested value of cd2_2 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 181 of file vircam_pfits.c.
int vircam_pfits_get_chipno | ( | const cpl_propertylist * | plist, |
int * | chipno | ||
) |
Get the value of chipno.
plist | property list to read from |
chipno | requested value of chipno |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 346 of file vircam_pfits.c.
int vircam_pfits_get_crpix1 | ( | const cpl_propertylist * | plist, |
double * | crpix1 | ||
) |
Get the value of crpix1.
plist | property list to read from |
crpix1 | requested value of crpix1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 85 of file vircam_pfits.c.
Referenced by vircam_imdither().
int vircam_pfits_get_crpix2 | ( | const cpl_propertylist * | plist, |
double * | crpix2 | ||
) |
Get the value of crpix2.
plist | property list to read from |
crpix2 | requested value of crpix2 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 119 of file vircam_pfits.c.
Referenced by vircam_imdither().
int vircam_pfits_get_crval1 | ( | const cpl_propertylist * | plist, |
double * | crval1 | ||
) |
Get the value of crval1.
plist | property list to read from |
crval1 | requested value of crval1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 68 of file vircam_pfits.c.
Referenced by vircam_check_crval().
int vircam_pfits_get_crval2 | ( | const cpl_propertylist * | plist, |
double * | crval2 | ||
) |
Get the value of crval2.
plist | property list to read from |
crval2 | requested value of crval2 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 102 of file vircam_pfits.c.
Referenced by vircam_check_crval().
int vircam_pfits_get_dec | ( | const cpl_propertylist * | plist, |
double * | dec | ||
) |
Get the value of DEC.
plist | property list to read from |
dec | requested value of dec |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 757 of file vircam_pfits.c.
Referenced by vircam_check_crval().
int vircam_pfits_get_detlive | ( | const cpl_propertylist * | plist, |
int * | detlive | ||
) |
Get the value of DET_LIVE.
plist | property list to read from |
detlive | requested value of DET_LIVE |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 624 of file vircam_pfits.c.
int vircam_pfits_get_dit | ( | const cpl_propertylist * | plist, |
float * | dit | ||
) |
Get the value of DIT.
plist | property list to read from |
dit | requested value of dit |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 608 of file vircam_pfits.c.
int vircam_pfits_get_ditdelay | ( | const cpl_propertylist * | plist, |
float * | ditdelay | ||
) |
Get the value of dit delay time.
plist | property list to read from |
ditdelay | requested value of dit delay time |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 279 of file vircam_pfits.c.
Referenced by vircam_lincor().
int vircam_pfits_get_exptime | ( | const cpl_propertylist * | plist, |
float * | exptime | ||
) |
Get the value of exposure time.
plist | property list to read from |
exptime | requested value of exptime |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 245 of file vircam_pfits.c.
Referenced by classify(), vircam_illum(), vircam_imcombine(), vircam_imdither(), vircam_imstack(), vircam_lincor(), and vircam_photcal().
int vircam_pfits_get_filter | ( | const cpl_propertylist * | plist, |
char * | filt | ||
) |
Get the name of the current filter.
plist | property list to read from |
filt | requested name of the filter |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 649 of file vircam_pfits.c.
Referenced by vircam_jmp_illum(), and vircam_jmp_photcal().
int vircam_pfits_get_gain | ( | const cpl_propertylist * | plist, |
float * | gain | ||
) |
Get the value of the detector gain.
plist | property list to read from |
gain | requested value of the gain |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 709 of file vircam_pfits.c.
Referenced by imcore_conf(), and imcore_opm().
int vircam_pfits_get_jitteri | ( | const cpl_propertylist * | plist, |
int * | jitteri | ||
) |
Get the position number of an observations in a jitter sequence.
plist | property list to read from |
jitteri | requested value of the position of the observation in a jitter sequence |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 530 of file vircam_pfits.c.
Referenced by vircam_tilesky().
int vircam_pfits_get_jitternum | ( | const cpl_propertylist * | plist, |
int * | jitternum | ||
) |
Get the value of the first run number in the current jitter sequence.
plist | property list to read from |
jitternum | requested value of the jitter sequence number |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 503 of file vircam_pfits.c.
int vircam_pfits_get_jxoff | ( | const cpl_propertylist * | plist, |
float * | xoff | ||
) |
Get the value of the X jitter offset.
plist | property list to read from |
xoff | requested value of the x offset |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 371 of file vircam_pfits.c.
Referenced by vircam_imdither().
int vircam_pfits_get_jyoff | ( | const cpl_propertylist * | plist, |
float * | yoff | ||
) |
Get the value of the Y jitter offset.
plist | property list to read from |
yoff | requested value of the y offset |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 388 of file vircam_pfits.c.
Referenced by vircam_imdither().
int vircam_pfits_get_mindit | ( | const cpl_propertylist * | plist, |
float * | mindit | ||
) |
Get the value of mindit time.
plist | property list to read from |
mindit | requested value of mindit time |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 262 of file vircam_pfits.c.
Referenced by vircam_lincor().
int vircam_pfits_get_mjd | ( | const cpl_propertylist * | plist, |
double * | mjd | ||
) |
Get the value of the modified Julian date.
plist | property list to read from |
mjd | requested value of the mjd |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 725 of file vircam_pfits.c.
int vircam_pfits_get_naxis1 | ( | const cpl_propertylist * | plist, |
long * | naxis1 | ||
) |
Get the value of naxis1.
plist | property list to read from |
naxis1 | requested value of naxis1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 296 of file vircam_pfits.c.
Referenced by vircam_platesol().
int vircam_pfits_get_naxis2 | ( | const cpl_propertylist * | plist, |
long * | naxis2 | ||
) |
Get the value of naxis2.
plist | property list to read from |
naxis2 | requested value of naxis2 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 321 of file vircam_pfits.c.
Referenced by vircam_platesol().
int vircam_pfits_get_ndit | ( | const cpl_propertylist * | plist, |
int * | ndit | ||
) |
Get the value of NDIT.
plist | property list to read from |
ndit | requested value of ndit |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 583 of file vircam_pfits.c.
int vircam_pfits_get_njsteps | ( | const cpl_propertylist * | plist, |
int * | njsteps | ||
) |
Get the value of the number of observations in a jitter sequence.
plist | property list to read from |
njsteps | requested value of the number of observations in a jitter sequence |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 476 of file vircam_pfits.c.
Referenced by vircam_tilesky().
int vircam_pfits_get_nusteps | ( | const cpl_propertylist * | plist, |
int * | nusteps | ||
) |
Get the value of the number of microsteps in a sequence.
plist | property list to read from |
nusteps | requested value of the number of microsteps |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 422 of file vircam_pfits.c.
Referenced by vircam_jmp_ustep_seq().
int vircam_pfits_get_offsetnum | ( | const cpl_propertylist * | plist, |
int * | offsetnum | ||
) |
Get the value of the first run number in the current tile sequence.
plist | property list to read from |
offsetnum | requested value of the tile sequence number |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 557 of file vircam_pfits.c.
int vircam_pfits_get_projid | ( | const cpl_propertylist * | plist, |
char * | projid | ||
) |
Get the project id.
plist | property list to read from |
projid | requested name of the project |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 670 of file vircam_pfits.c.
int vircam_pfits_get_pv21 | ( | const cpl_propertylist * | plist, |
double * | pv21 | ||
) |
Get the value of pv2_1.
plist | property list to read from |
pv21 | requested value of pv2_1 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 197 of file vircam_pfits.c.
int vircam_pfits_get_pv23 | ( | const cpl_propertylist * | plist, |
double * | pv23 | ||
) |
Get the value of pv2_3.
plist | property list to read from |
pv23 | requested value of pv2_3 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 213 of file vircam_pfits.c.
int vircam_pfits_get_pv25 | ( | const cpl_propertylist * | plist, |
double * | pv25 | ||
) |
Get the value of pv2_5.
plist | property list to read from |
pv25 | requested value of pv2_5 |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 229 of file vircam_pfits.c.
int vircam_pfits_get_ra | ( | const cpl_propertylist * | plist, |
double * | ra | ||
) |
Get the value of RA.
plist | property list to read from |
ra | requested value of ra |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 741 of file vircam_pfits.c.
Referenced by vircam_check_crval().
int vircam_pfits_get_saturation | ( | const cpl_propertylist * | plist, |
float * | saturation | ||
) |
Get the saturation level for this detector.
plist | property list to read from |
saturation | requested name of the filter |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 692 of file vircam_pfits.c.
int vircam_pfits_get_ustepnum | ( | const cpl_propertylist * | plist, |
int * | ustepnum | ||
) |
Get the value of the first run number in the current microstep sequence.
plist | property list to read from |
ustepnum | requested value of the microstep sequence number |
VIR_OK | if everything went right |
VIR_FATAL | if there was an error |
Definition at line 449 of file vircam_pfits.c.
Referenced by vircam_jmp_dither_offsets(), and vircam_jmp_ustep_seq().