Calculations of the dynamic Debye–Scherrer diffraction patterns for small metal particles