SPC_DANM {NMRphasing}R Documentation

SPC_DANM

Description

A single linear model with Minimization of difference between absolute area and net area

Usage

SPC_DANM(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 to process phase error correction through a single linear model with minimization of difference between absolute area and net area, followed by polynomial baseline correction if 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")
spc_danm_phased1 <- SPC_DANM(fdat$frequency_domain)

[Package NMRphasing version 1.0.4 Index]