Patent attributes
A spectrometer operator may specify a desired signal to noise ratio (SNR) to be attained when collecting spectra from a sample. The SNR from a single brief sample exposure is used to determine the maximum exposure time achievable without overloading the spectrometer. If the desired SNR is greater than the SNR of an exposure using the maximum exposure time, multiple exposures can be taken at the maximum exposure time, and can be combined (e.g., averaged or summed) to obtain a spectrum having a SNR which at least approximates the one desired. If the desired SNR is less than the SNR of an exposure using the maximum exposure time, then only a single exposure is needed, and the exposure time can be scaled using the SNR from the single brief sample exposure to achieve a SNR which at least approximates the one desired.