First, it determines the size and shape of the lattice "box" and which atoms will go into it. Then, it predicts the arrangement of atoms within the box. For each diffraction pattern, the model ...