Patent attributes
This relates to systems and methods for measuring a concentration and type of substance in a sample at a sampling interface. The systems can include a light source, optics, one or more modulators, a reference, a detector, and a controller. The systems and methods disclosed can be capable of accounting for drift originating from the light source, one or more optics, and the detector by sharing one or more components between different measurement light paths. Additionally, the systems can be capable of differentiating between different types of drift and eliminating erroneous measurements due to stray light with the placement of one or more modulators between the light source and the sample or reference. Furthermore, the systems can be capable of detecting the substance along various locations and depths within the sample by mapping a detector pixel and a microoptics to the location and depth in the sample.