NLS: NLS

View source: R/NLS.R

NLSR Documentation

NLS

Description

Non-linear shrinkage

Usage

NLS(specdat, withBC = TRUE)

Arguments

specdat

A complex number vector of observed frequency domain data.

withBC

A logical parameter that enables/disables baseline correction after baseline correction

Details

This function is used to process phase error correction through non-linear shrinkage, followed by Polynomial baseline correction when necessary.

Value

A numeric vector of phase corrected absorption spectrum

Author(s)

Aixiang Jiang

References

Liland KH, Almøy T, Mevik B (2010), Optimal Choice of Baseline Correction for Multivariate Calibration of Spectra, Applied Spectroscopy 64, pp. 1007-1016.

Examples

data("fdat")
nls_phased1 <- NLS(fdat$frequency_domain)

NMRphasing documentation built on Oct. 13, 2024, 1:07 a.m.

Related to NLS in NMRphasing...