Baseline correction with trendtool

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Baseline Corrected Area with TrendTool

This page describes how to calculate the baseline corrected area using the trendtool.


  • from the command line, call the trend tool passing it your dataset. In this example I am using the nir demo data.
trendtool(nir_data)
  • Zoom into peak of interest, in this case the peak at 1060, then select add marker and move the marker to the peak by left clicking and dragging.
  • Right click the marker, and select area. A second marker will appear.
  • Right click either of the markers and select add reference. A dashed line will appear.
  • Right click the reference point, and select Baseline. A second dashed line will appear.
  • Drag the dashed lines to the desired points to use for two-point baseline correction.
  • Now take a look at the second figure. Because the dataset consisted of 10 spectra, the second figure plots the area under the curve and above the baseline for each of the 10 spectra in the dataset.