An active wavelength-selection algorithm is proposed for mixture identification.
The algorithm runs in real-time, interleaving wavelength selection with sensing.
Wavelength selection is analyte-specific and based on previous measurements.
Active wavelength selection operates in two stages: exploration and exploitation.
The approach is compared against a passive strategy based on successive projection.