Heterodyned photodiode array Fourier transform spectrometer