RAYSMITH (Feb97) ftools.heasarc RAYSMITH (Feb97) NAME RAYSMITH -- Generates an XSPEC table file for the Raymond-Smith plasma emission model USAGE raysmith [ [ [ [ [ [ ]]]]]] raysmith [tstart=] [tend=] [ntsteps=] [efilenm=] [clobber=] DESCRIPTION RAYSMITH runs the Raymond-Smith plasma emission code and creates an XSPEC table file that can be used for fitting to observed spectra. The raymond model in XSPEC uses such a file however this ftool allows users of XSPEC to create their own version of the model with a different grid of temperatures or different energy binsizes. The temperature grid calculated is in logarithmic steps from to (which are specified in keV). The energy binsizes are specified in the ascii file . The first line of this file is the start energy for the bins (in eV). Subsequent lines should comprise two numbers, the first is the binsize (in eV) and the second is the number of bins at this binsize. The Raymond-Smith code uses files stored in the XSPEC directory tree so XANADU must be installed to run this task. PARAMETERS filename [string] The name of the output XSPEC table model file. tstart [real] The first temperature in the grid (in keV). tend [real] The last temperature in the grid (in keV). ntsteps [int] The number of logarithmic steps in the temperature grid. efilenm [string] The name of the ascii file to read to get the energy binsizes. clobber [bool] If clobber = yes then overwrite the output file if a file of this name already exists. BUGS