Figure 6
Four Python objects – an X-ray beam, a polycrystalline sample, a detector and a sample motion – define an experiment in xrd_simulator. Scattering units are computed and stored in the detector object. By selecting a ray tracing and intensity model a diffraction pattern image can be rendered. |