| bspec | stsdas.hst_calib.fos | bspec |
bspec -- Compute FOS scattered light spectrum
bspec spectab scattab detector grating
This task performs theoretical modeling only. It is NOT an absolutely calibrated reduction tool. Accuracies are limited by the completeness of the treatment of the basic optical principles employed, the correctness of the optical specifications of the FOS, and the input template spectra. This task is intended for use as a post-observation parametric analysis tool only.
For a given input spectrum the bspec task computes the scattered light spectrum that is produced by a specified observing mode of the FOS. The input spectral data must be in STSDAS table format and must contain columns of wavelength and flux values. The wavelength data must be in units of Angstroms and the flux data in units of counts per second per pixel. Furthermore, the input spectral data must already be convolved with the throughput functions of all the FOS optical components EXCEPT that of the grating blaze function. The task countspec can be used to produce such a countrate spectrum from calibrated spectral data for any source. The input spectral data should extend to a maximum wavelength of at least 6000 Angstroms in order to insure reliable modelling of scattered red light.
The output of this task is an STSDAS table containing several columns of spectral information. Those columns of most interest to the user are "gwav" (wavelength) and "ablg" (total intrinsic+scattered light countrate spectrum). These data can be easily plotted using the task sgraph, for example. The output table columns are:
angle - array of diffracted angles (degrees) blg - array of intensity due to blazed grating only apd - array of intensity due to finite aperture (LSF) ablg - array of intensity due to blazed grating + aperture benv - input spectrum dispersed with grating equation bfu - grating blaze function (of selected order) gwav - wavelengths corresponding to diffracted angles
Note that the "benv" data column contains the dispersed light spectrum only, while the "ablg" data column contains the spectrum of dispersed and scattered light, hence the difference ("ablg-benv") corresponds to the scattered light spectrum only.
1. Compute the scattered light spectrum for a G2V star spectrum (produced using the countspec task) for the FOS blue-side and grating g190h. The input spectrum is in the table "fos_g2v_spec.tab" and the results will be stored in the table "scatter.tab". Plot the results using sgraph.
te> bspec fos_g2v_spec scatter blue g190h te> sgraph "scatter gwav ablg" logy+ te> sgraph "scatter gwav benv" logy+ append+
Two instrument science reports which describe the practical usage of this task are: FOS ISRs 127 and 150.
This task was originally written by M.R.Rosa and TH.Mueller at ST-ECF and was ported to the IRAF/STSDAS environment by H.Bushouse (STScI).
For assistance using this or any other tasks, please contact help@stsci.edu or call the help desk at 410-338-1082.