Skip to contents

Performs baseline correction to spectra using the Asymmetric Least Squares (ALS) algorithm from the baseline package.

Usage

RamanSettings_CorrectSpectraBaseline_baseline_als(
  lambda = 5,
  p = 0.05,
  maxit = 10
)

Arguments

lambda

Numeric (length 1) with the 2nd derivative constraint.

p

Numeric (length 1) with the weighting of positive residuals.

maxit

Integer (length 1) with the maximum number of iterations.

Value

A RamanSettings_CorrectSpectraBaseline_baseline_als object.