WhittakerSmooth: Whittaker Smoother

Description Usage Arguments Value Author(s) See Also

Description

penalized least squares algorithm for background fitting

Usage

1
WhittakerSmooth(x,w,lambda) 

Arguments

x

raman spectrum

w

binary masks (value of the mask is zero if a point belongs to peaks and one otherwise)

lambda

lambda is an adjustable parameter, it can be adjusted by user. The larger lambda is, the smoother z will be

differences

an integer indicating the order of the difference of penalties

Value

the fitted vector

Author(s)

Yizeng Liang ,Zhang Zhimin

See Also

widthEstimationCWT


zmzhang/baselineWavelet documentation built on Dec. 26, 2019, 8:49 a.m.