tered values, ri is the distance from the light source to a photodetector strip i and N is a value based on a smoothing approximation, including N=zero; and using the filtered values as an indication of the content of chemical constituents in the medium. 2.