Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

normSpectra2D

Normalize a Spectra2D Object


Description

This function carries out normalization of the spectra in a Spectra2D object. The current options are:

  • "zero2one" normalizes each 2D spectrum to a [0 ... 1] scale.

  • "minusPlus" normalizes each 2D spectrum to a [-1 ... 1] scale.

  • "TotInt" normalizes each 2D spectrum so that the total area is one.

Usage

normSpectra2D(spectra, method = "zero2one")

Arguments

spectra

An object of S3 class Spectra2D to be normalized.

method

Character string giving the method for normalization.

Value

An object of S3 class Spectra2D.

Author(s)

Bryan A. Hanson, DePauw University.

See Also

centscaleSpectra2D for another means of scaling.

Examples

data(MUD1)
MUD1n <- normSpectra2D(MUD1)
MUD1b <- removeFreq(MUD1, remF2 = 2.5 ~ 3.5)
MUD1bn <- normSpectra2D(MUD1b)

ChemoSpec2D

Exploratory Chemometrics for 2D Spectroscopy

v0.4.187
GPL-3
Authors
Bryan A. Hanson [aut, cre] (<https://orcid.org/0000-0003-3536-8246>)
Initial release
2021-03-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.