Description Usage Arguments Details Value Examples
bkg fits a background to X-Ray Powder Diffraction data
1  | bkg(xrd, lambda, hwi, it, int)
 | 
xrd | 
 an xy data frame of the data to fit a background to. First column is the 2theta scale, second column is count intensities  | 
lambda | 
 second derivative penalty for primary smoothing. Default = 0.5.  | 
hwi | 
 Half width of local windows. Default = 25.  | 
it | 
 Number of iterations in suppression loop. Default = 50.  | 
int | 
 Number of buckets to divide the data into. Default =   | 
A wrapper for the baseline.fillPeaks in the baseline package.
a powdRbkg object consisting of of 3 vectors
tth | 
 The 2theta axis of the measurement  | 
counts | 
 The count intensities of the measurement  | 
background | 
 The count intensities of the fitted background  | 
1 2 3 4 5 6  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.