Electron beams are typically generated in an electron microscope or an electron beam lithography system. In these devices, electrons are emitted from a heated filament or a field emission source. The emitted electrons are then accelerated to high energies using an electric field, and subsequently focused into a fine beam using electromagnetic lenses.