The spectral response of the alkali flame detector