IIINSTRUMENT Pipeline Reference Manual 4.6.4
Photometric functionality

Functions

cpl_error_code visir_spc_phot_sensit (const irplib_framelist *rawframes, const visir_spc_config *cfg, 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.
 

Detailed Description

Function Documentation

◆ visir_spc_phot_sensit()

cpl_error_code visir_spc_phot_sensit ( const irplib_framelist * rawframes,
const visir_spc_config * cfg,
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
rawframesList of input raw frames
cfgThe config struct
plistThe properties (DIT, NDIT etc.)
star_catThe standard star catalog
pweight2d2D weights image to be created or NULL on error
qclistQC Properties are appended to this list
spc_tableThe Spectral Table
resolResolution
dit_keyThe 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 visir_pfits_get_dec(), visir_pfits_get_ra(), and visir_pfits_get_starname().

Referenced by visir_spc_phot_sensit_from_image().

◆ 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
combinedThe combined image
rawframesList of input raw frames
pconfigThe config struct
star_catThe standard star catalog
spc_cal_linesThe sky lines table
spc_cal_qeffThe quantum efficiency
pweight2d2D weights image to be created or NULL on error
qclistQC Properties are appended to this list
do_echTrue iff the image is of type echelle
wlenCentral wavelength
slitwThe slit width
tempThe telescope (M1) temperature [Kelvin]
fwhmThe spectral FWHM [pixel]
resolResolution
dit_keyThe 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 visir_load_imagelist(), and visir_spc_phot_sensit().