5.6.8 BCS_SPEC


next up previous contents
Next: 5.7 BSC Routines Up: 5.6 Routines for Calibration Previous: 5.6.7 BCS_SYNTHETIC

5.6.8 BCS_SPEC

BCS_SPEC is a procedure to compute a BCS synthetic spectrum in flux units. Sample calling sequences are:
IDL> flux = bcs_spec(Chan,Te6) ; Use Td6=Te6 and default wavelengths
 
IDL> flux = bcs_spec(Chan,Te6,Td6,Wave,Waveo=Waveo,Ainfo=Ainfo,Vel=Vel)
where the inputs are Chan (the BCS channel number of a BSC structure), Te6 and Td6 (electron and ``Doppler'' temperatures in MK), and Wave is a vector of the edges of the BCS wavelength bins. Returned will be flux (assuming EM = 10 cm), Waveo (wavelengths at the centers of the bins), and Ainfo (a structure variable containing information about the calculated spectrum). Vel is an optional input keyword to specify the bulk velocity in km/s. More information is available in the documentation header. BCS_SPEC is called by BCS_SYNTHETIC and FIT_BSC.  

Three routines control the defaults for the atomic data used in the calculation. These are GET_ELEMABUN (abundances), GET_IONBAL (ionization balance) and GET_ATOMIC (the atomic data for the line calculation).


ydac@mssly1.mssl.ucl.ac.uk