Electron wave front modulation with patterned mirrors