Description Usage Arguments Value Examples
Perform background removal on the whole SERS spectrum data set. Divide the SERS spectrum data into time-frequency blocks and remove background locally.
1 | background_removal(x, q = 0.4, w.chan = 50, w.time = 50)
|
x |
A p*n data matrix. There are n SERS spectra with p frequency channels. |
q |
A number taking value between 0 and 1. 100*q is the quantile that SABARSI uses to calculate the spectrum strength. |
w.chan |
The window size for the frequency domain. The default value of |
w.time |
The window size for the time domain. The default value of |
A p*n data matrix, xr
, of background-removed spectra.
1 2 3 | data(SERS)
x <- SERS$R1 ## x is the matrix of SERS spectra
xr <- background_removal(x) ## xr is the matrix of background removed spectra
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.