Simulated Cu pattern
One peak, close up
Recovered size per peak
Forward model: from the true sample to the observed peak
Peak positions from Bragg's law for fcc Cu, a = 3.6150 Å, Cu Kα1 = 1.540562 Å and Kα2 = 1.544390 Å (Bearden 1967), Kα2/Kα1 = 0.5; relative intensities of JCPDS 04-0836 as in the package.
The observed width and η are what a perfect, noise-free fit of the Kα1 component would return; real fits add their own error.
Analysis: what xrd_analysis does with the observed width
The Scherrer equation attributes all sample broadening to size, so microstrain makes it underestimate the size, more at high angle. The quadratic correction treats both widths as Gaussian; the size broadening is Lorentzian, so it under-corrects. With the Voigt correction and pure size broadening the size is recovered exactly; when microstrain adds a Gaussian part, splitting (TCH) and recombining (Olivero–Longbothum) use slightly different width formulas.
Checks
The instrument parameters are illustrative values for a laboratory diffractometer, not a calibration: the repository's config.yaml leaves U, V and W to be calibrated with a LaB6 standard (NIST SRM 660c).
Sources
J. A. Bearden, Rev. Mod. Phys. 39, 78 (1967): wavelengths. J. I. Langford and A. J. C. Wilson, J. Appl. Cryst. 11, 102 (1978): Scherrer constants. P. Thompson, D. E. Cox and J. B. Hastings, J. Appl. Cryst. 20, 79 (1987): pseudo-Voigt width and η. G. Caglioti, A. Paoletti and F. P. Ricci, Nucl. Instrum. 3, 223 (1958): instrument width. J. J. Olivero and R. L. Longbothum, J. Quant. Spectrosc. Radiat. Transfer 17, 233 (1977): Voigt width.