Here is a description probably with examples ccchange
Return a boolean array of the size hkl.shape which corresponds to the real space information that in turn corresponds to a certain region of the diffraction pattern.
Region in terms of screen coordinates in the form of a boolean array of size (screenlatticesize, screenlatticesize)
Rodriques is the typical rodrigues vector provided to the other x-ray functions.
This function turns rodrigues vector field into X-ray diffraction spots. Notice that 1) Strain scales the same as the rodrigues vector. 2) Everything is based on small deformation approximation.
We assume the simple cubic lattice here.
Perform the entire Incoherent X-ray simulation given a set of rodrigues vectors and produce the real-space image of the diffraction on the experimental screen.