Title: The design of optical spectrometers