An analysis system, tool, and method for performing downhole fluid
analysis, such as within a wellbore. The analysis system, tool, and
method provide for a tool including a spectroscope for use in downhole
fluid analysis which utilizes an adaptive optical element such as a Micro
Mirror Array (MMA) and two distinct light channels and detectors to
provide real-time scaling or normalization.