next up previous contents
Next: BLACKWEL Up: SPECTRUM Auxiliary Programs Previous: AVSINI   Contents

BFLXSM2

The program BFLXSM2 convolves a Gaussian line-spread function with a synthetic spectrum and is designed to work with a binary format synthetic spectra computed with the ``f'' switch (i.e. in flux format). The equivalent for ascii files is SMOOTH2. The purpose of this program is to match the resolution of the synthetic spectrum to an observed spectrum so that detailed comparisons can be made. A similar program is BSMOOTH2, which is designed to work with a binary spectrum computed in the normalized intensity mode. They aren't very different. BFLXSM2 can be used either in the prompt mode or in the command line mode. In the command line mode, the format is

bflxsm2 input output resolution dlambda
where input is the name of the input binary synthetic spectrum, output is the name of the smoothed synthetic spectrum, resolution is the resolution in Å of the smoothed spectrum, and dlambda is the wavelength spacing of the output spectrum; BFLXSM2 picks up the wavelength spacing of the input spectrum from the header of the binary file. An important note: the spacing of the output spectrum should be an integer multiple of the spacing of the input spectrum, or weird things will happen!


next up previous contents
Next: BLACKWEL Up: SPECTRUM Auxiliary Programs Previous: AVSINI   Contents
grayro 2010-05-27