VISIR Pipeline Reference Manual  4.1.0
Functions
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 char *dit_key)
 Compute the sensitivity from an extracted spectrum. More...
 
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. More...
 

Detailed Description

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 char *  dit_key 
)

Compute the sensitivity from an extracted spectrum.

Parameters
rawframesList of input raw frames
pconfigThe 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
dit_keyThe key of the DIT card
Returns
a table or NULL on error
See Also
visir_spc_phot_sensit2()

Definition at line 90 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
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 249 of file visir_spc_photom.c.

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