An electron moving in front of a metal mirror sees an image charge of equal and opposite type. The two together constitute a dipole. Let us look at the problem in the rest frame of the electron. In this frame the grating period is Lorenz contracted to

Because the metal has etchings the dipole moment of electron-image pair is periodically disturbed with a period d'/v
The corresponding frequency is v/d' which is also the proper frequency of radiation emitted. Due to Doppler effect the frequency observed at an angle θ is
