An X-ray study of the heat motions of the atoms in a rock-salt crystal