A spectrum synthesis program for binary stars

A new program produces synthetic spectra of binary stars at arbitrary values of orbital longitude, including longitudes of partial or complete eclipse. The stellar components may be distorted, either tidally or rotationally, or both. Either or both components may be rotating nonsynchronously. We illustrate the program performance with two cases: EE Peg, an eclipsing binary with small distortion, and SX Aur, an eclipsing binary that is close to contact.