raman.peak_area

raman.peak_area(y, peaks)

Returns the area under the spectrum in a given interval after removing a linear baseline.

Parameters:
  • y (array) – Spectrum.
  • peaks (array) – List of tuples containing the first and last index of the interval to integrate over.
Returns:

List of peak areas.