Atomic optical spectrometry