Theory of Compton scattering in ignited thermonuclear plasmas