xrd.get.DebyeScherrer.Rd
Returns the particle size or film thickness as calculated with the Scherrer equation; units of Angstrom, for more information see [Scherrer Equation](https://en.wikipedia.org/wiki/Scherrer_equation)
xrd.get.DebyeScherrer(PeakStats, Lambda = 1.5406, K = 0.9)
vector with the peak statistics
wavelength of x-ray in (A)
geometrical factor, usually a number between 0.9 and 1.0
peak width in Angstrom
[xrd.get.PeakStats()]
filename = xrd.getSampleFiles()[1]
d = xrd.read.ASC(filename)
ds = xrd.get.PeakStats(d$theta, d$I, 38.2)
xrd.get.DebyeScherrer(ds)
#> [1] 152.3146