Inelastic x-ray scattering