Description Usage Arguments Details Value Author(s) References
This function calculates background spectrum from source spectrum and separates useful information (peaks) from useless information (background).
1 2 |
y |
the vector of source spectrum |
iterations |
maximal width of clipping window |
decreasing |
direction of change of clipping window. If
|
order |
order of clipping filter |
smoothing |
logical variable whether the smoothing operation in the estimation of background will be included |
window |
width of smoothing window |
compton |
logical variable whether the estimation of Compton edge (step-like feature at the peaks positions) will be included |
Method is based on Sensitive Nonlinear Iterative Peak (SNIP) clipping algorithm.
New value in the channel i is calculated (in the case of second-order clipping filter) with formula:
v_p(i)=min\{v_{p-1}(i),(v_{p-1}(i+p)+v_{p-1}(i-p))/2\}
Numeric vector with background profile.
Miroslav Morhác
C. G Ryan et al.: SNIP, a statistics-sensitive background treatment for the quantitative analysis of PIXE spectra in geoscience applications. NIM, B34 (1988), 396-402.
M. Morhác, J. Kliman, V. Matoucek, M. Veselský, I. Turzo.: Background elimination methods for multidimensional gamma-ray spectra. NIM, A401 (1997) 113-132.
D. D. Burgess, R. J. Tervo: Background estimation for gamma-ray spectroscopy. NIM 214 (1983), 431-434.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.