Sums up the signal over the whole spectrum and use it as a normalization factor. This assumes that the total signal varies proportionally to the sample concentration

normalize_totalSpectrum(x, ...)

# S3 method for collection
normalize_totalSpectrum(x, skip = FALSE, ...)

Arguments

x

Acollection object

...

further arguments passed to or from other methods(not currenctly used).

skip

Skip the creation of of processor step. If TRUE, this step will not be added to the list of processing steps. Typically reserved for nested function calls.

Value

An updated version of collection.

Examples

library(tidySpectR) normalize_totalSpectrum(fa_nmr)
#> Spectra collection containing 6 entries. #> Number of bins: 2250 #> Limits: -2.123166e-05 8.999979 #> Labels: conventional organic #> #> Processing: #> Step 1 / 1 : totalSpectrum_normalization