next up previous contents
Next: VSINI Up: SPECTRUM Auxiliary Programs Previous: SELECT   Contents


SMOOTH2

SMOOTH2 is a program similar in action to BSMOOTH2, except that it operates on ascii spectra (the normal, default output of SPECTRUM). It convolves a Gaussian linespread function with the synthetic spectrum to smooth the spectrum to a desired resolution. It can be used either in the prompt mode or in the command-line mode. In the command line mode the format is:

smooth2 input_file output_file input_spacing resolution output_spacing

where input_spacing is the wavelength spacing in angstroms of the input spectrum, and output_spacing is the wavelength spacing of the output smoothed spectrum. Note that output_spacing must be an integer multiple of input_spacing or funny things will happen! The resolution should be the resolution in angstroms desired for the output spectrum. Sometimes a more versatile linespread function is required to help match the linespread function of a given spectrograph. In that case, the program CUSTOMSM can be helpful.



grayro 2010-05-27