Portable spectrometry operates on the same fundamental principles as traditional spectrometry. It involves the interaction of light with a substance and the measurement of the light's absorbance, reflectance, or emission. The data collected is then analyzed to determine the chemical composition of the sample. These devices often include software that helps in interpreting the spectrum and identifying potential toxins.