bl_() removes the arched baseline from an NMR spectrum making the analysis more robust

bl_(x)

Arguments

x

the spectrum to be baseline corrected

Value

an x with a corrected baseline

Details

NMR spectra often have broad signals produced by proteins within a sample that span a large portion of the ppm axis. These broad signals interfere with the analysis of specific peaks. By removing it, the anaylsis is more robust. This is achieved by calculating the trend of the spectrum using ptw::asysm() and then subtracts that from the spectrum's values.

See also

Other preproc: cali(), flip_(), pproc(), readin()

Author

Kyle Bario kylebario1@gmail.com

Examples

readin(path = system.file('extdata/15', package = 'NMRadjustr')) xb <- bl_(x)