Photometric functionality

Functions

cpl_error_code visir_spc_phot_sensit (const irplib_framelist *rawframes, const visir_spc_config *pconfig, const cpl_propertylist *plist, const char *star_cat, cpl_image **pweight2d, cpl_propertylist *qclist, cpl_table *spc_table, const visir_spc_resol resol, const char *dit_key)
 Compute the sensitivity from an extracted spectrum.
cpl_table * visir_spc_phot_sensit_from_image (cpl_image **combined, const irplib_framelist *rawframes, const visir_spc_config *pconfig, const char *star_cat, const char *spc_cal_lines, const char *spc_cal_qeff, cpl_image **pweight2d, cpl_propertylist *qclist, cpl_boolean do_ech, double wlen, double slitw, double temp, double fwhm, const visir_spc_resol resol, const char *dit_key)
 Extract spectrum from image and compute sensitivity.

Function Documentation

cpl_error_code visir_spc_phot_sensit ( const irplib_framelist *  rawframes,
const visir_spc_config pconfig,
const cpl_propertylist *  plist,
const char *  star_cat,
cpl_image **  pweight2d,
cpl_propertylist *  qclist,
cpl_table *  spc_table,
const visir_spc_resol  resol,
const char *  dit_key 
)

Compute the sensitivity from an extracted spectrum.

Parameters:
rawframes List of input raw frames
pconfig The config struct
plist The properties (DIT, NDIT etc.)
star_cat The standard star catalog
pweight2d 2D weights image to be created or NULL on error
qclist QC Properties are appended to this list
spc_table The Spectral Table
resol Resolution
dit_key The key of the DIT card
Returns:
a table or NULL on error
See also:
visir_spc_phot_sensit2()

Definition at line 110 of file visir_spc_photom.c.

References irplib_framelist_contains(), irplib_framelist_get_size(), visir_pfits_get_dec(), visir_pfits_get_ra(), and visir_pfits_get_starname().

Referenced by visir_spc_phot_sensit_from_image().

cpl_table* visir_spc_phot_sensit_from_image ( cpl_image **  combined,
const irplib_framelist *  rawframes,
const visir_spc_config pconfig,
const char *  star_cat,
const char *  spc_cal_lines,
const char *  spc_cal_qeff,
cpl_image **  pweight2d,
cpl_propertylist *  qclist,
cpl_boolean  do_ech,
double  wlen,
double  slitw,
double  temp,
double  fwhm,
const visir_spc_resol  resol,
const char *  dit_key 
)

Extract spectrum from image and compute sensitivity.

Parameters:
combined The combined image
rawframes List of input raw frames
pconfig The config struct
star_cat The standard star catalog
spc_cal_lines The sky lines table
spc_cal_qeff The quantum efficiency
pweight2d 2D weights image to be created or NULL on error
qclist QC Properties are appended to this list
do_ech True iff the image is of type echelle
wlen Central wavelength
slitw The slit width
temp The telescope (M1) temperature [Kelvin]
fwhm The spectral FWHM [pixel]
resol Resolution
dit_key The key of the DIT card
Returns:
a table or NULL on error
See also:
visir_spc_phot_sensit()

Definition at line 271 of file visir_spc_photom.c.

References irplib_framelist_get_const(), irplib_framelist_get_propertylist_const(), visir_load_imagelist(), and visir_spc_phot_sensit().


Generated on 24 Feb 2017 for VISIR Pipeline Reference Manual by  doxygen 1.6.1