The experimental conditions for Compton scattering in the electron microscope