| absseny | stsdas.hst_calib.fos.y_calib | absseny |
absseny -- Compute an FOS sensitivity curve.
absseny input wave mask startab table
This routine computes the FOS sensitivity by computing the ratio of an FOS observation to the actual stellar flux. The input FOS observation should have been calibrated by calfos, however, the FLX_CORR calibration step, i.e., the multiplication by the inverse sensitivity function, should be omitted. The actual stellar flux must be stored in a table having the columns WAVELENGTH and FLUX. Any of five methods can be used to match the wavelength scales of the observation and the actual stellar flux; methods are selected with the imode parameter.
'WAVELENGTH' - Wavelength (real).
'VALUE' - Flux value (real).
The table will also have the header keywords DETECTOR, FGWA_ID,
APER_ID, APER_POS, POLAR_ID, and PASS_ID.
IMODE METHOD
0 Observed flux matched to actual flux wavelengths using
linear interpolation.
1 Actual flux matched to observed flux wavelengths using
linear interpolation.
2 Observed flux matched to actual flux wavelengths using
trapezoidal integration.
3 Actual flux matched to observed flux wavelengths using
trapezoidal integration.
4 Both actual flux values and observed flux values are
integrated to equally spaced wavelength bins.
1. Compute the sensitivity for a grating mode using an observation of a standard star with flux stored in a table called sstar. The observation file obs.c1h is in linearized count rates and its associated wavelength file is called wave.c0h. Output will be stored in a table named sens.
fo> absseny obs.c1h wave.c0h " " sstar sens
2. Perform the prism calibration using observed flux values in the file pri_obs.c1h and wavelengths in the file pri_wave.c0h. Also use an input data mask pri_mask.cqh. Place the results in pri_sens. Set imode=3 for the prism because there may be large variations in the dispersion across the data.
fo> absseny pri_obs.c1h pri_wave.c0h pri_mask.cqh sstar pri_sens imode=3
Howard Bushouse, STSDAS
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.