conform_spec | R Documentation |
Spectra can be conformed to a standard suite of wavenumbers to be compared with a reference library or to be merged to other spectra.
conform_spec(x, ...)
## Default S3 method:
conform_spec(x, ...)
## S3 method for class 'OpenSpecy'
conform_spec(x, range = NULL, res = 5, allow_na = F, type = "interp", ...)
x |
a list object of class |
range |
a vector of new wavenumber values, can be just supplied as a min and max value. |
res |
spectral resolution adjusted to or |
allow_na |
logical; should NA values in places beyond the wavenumbers of the dataset be allowed? |
type |
the type of wavenumber adjustment to make. |
... |
further arguments passed to |
adj_intens()
returns a data frame containing two columns
named "wavenumber"
and "intensity"
Win Cowger, Zacharias Steinmetz
restrict_range()
and flatten_range()
for
adjusting wavenumber ranges;
subtr_baseline()
for spectral background correction
data("raman_hdpe")
conform_spec(raman_hdpe, c(1000, 2000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.