View source: R/XPSCustomBaseline.r
LPShirley | R Documentation |
LPShirley generates a Baseline which is defined by LinearPolynomial * Shirley Baseline see Practical Surface Analysis Briggs and Seah Wiley Ed. Applies in all the cases where the Shirley background crosses the spectrum causing the Shirley algorith to diverge. In LPShirley firstly a linear background subtraction is performed to recognize presence of multiple peaks. Then a Modified Bishop polynom weakens the Shirley cross section Bishop polynom: PP[ii]<-1-m*ii*abs(dX) dX = energy step, m=coeff manually selected in LPShirley the classical Shirley expression is multiplied by PP: S(E)i) = Shirley(E) = Integral[ S(E)i-1)* PP(E)* J(E)dE' ] S(E)i), S(E)i-1) are the Shirley at step i and i-1 J(E) = acquired spectrum This function is called by XPSAnalysisGUI
LPShirley(object, mm, limits)
object |
CoreLine where to apply LPshirley function |
mm |
coefficient of the linear BKG component |
limits |
limits of the XPSSample CoreLine |
returns the LPShirley background
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.