A system and method for automated baseline correction for Raman spectra is
disclosed which may operate as a piecewise-linear baseline correction
function. In an embodiment, a first set of data points from a Raman
spectrum are determined to be baseline data points, a second set of data
points from the Raman spectrum are determined to be baseline data points
where the second set of data points are not contiguous with the first set
of data points. The gap between the first and second set of data points
is bridged by a straight line thereby forming an estimated baseline. The
estimated baseline is smoothed and then subtracted from the Raman
spectrum resulting in an adjusted-baseline Raman spectrum.