Learn R Programming

NMRphasing (version 1.0.7)

SPC_AAM: SPC_AAM

Description

A single linear model with minimization on absolute area.

Usage

SPC_AAM(specdat, withBC = TRUE)

Value

A numeric vector of phase corrected absorption spectrum

Arguments

specdat

A complex number vector of observed frequency domain data

withBC

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

Author

Aixiang Jiang

Details

This function is to process phase error correction through a single linear model with minimization on absolute area, followed by polynomial baseline correction if necessary

References

de Brouwer, H. (2009). Evaluation of algorithms for automated phase correction of NMR spectra. J Magn Reson, 201, 230-238.

Dzakula, Z. (2000). Phase angle measurement from peak areas (PAMPAS). J Magn Reson, 146, 20-32.

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

Run this code
data("fdat")
spc_aam_phased1 <- SPC_AAM(fdat$frequency_domain)

Run the code above in your browser using DataLab