In an absorption measurement, a spectrometer measures the amount of light that passes through a test sample and compares it to a reference sample to determine the amount of light being absorbed. By measuring the absorption spectrum of a particular substance (i.e. all the wavelengths that absorption occurs), it is possible to either identify it or place it in a particular group of compounds.
Company