Finally, we calculate the angular spectral fluence radiated by an electron passing over a lamellar grating of finite length, examine its coherent enhancement in SP-FELs and rf linacs, and compare the results with numerical simulations and available experimental data.