Dispersion theory, dispersion relations Scattering and open quantum systems mathematics