
The effect is used in gamma spectroscopy to measure the energy of high-energy photons from the energy of scattered electrons. In astrophysics, Compton scattering, including the inverse effect, shapes the X-ray spectra of accretion disks of black holes and pulsars.