Science of determining the arrangement of atoms in solids; the scientific study of crystals. Crystallography relies on the analysis of the diffraction patterns that emerge from a sample bombarded by a beam of some type. The beam is commonly electromagnetic radiation (usually x-rays; x-ray diffraction), but for some purposes electrons or neutrons are used (electron or neutron diffraction).