Characteristics of an acoustooptical spectrometer for remote atmospheric sounding in the millimeter wavelength range