A method of operating an electron microscope having an electron source with a cold field emitter, comprising:
- in a first cleaning mode, cleaning an emission tip of the cold field emitter by heating the emission tip;
- in a second cleaning mode, cleaning an extractor electrode of the electron source by heating the extractor electrode;
- and
- in an operation mode:
- extracting an electron beam from the cold field emitter for propagation along an optical axis, the electron beam being shaped by a first opening provided in the extractor electrode;
- collimating the electron beam with a condenser lens;
- and
- focusing the electron beam onto a specimen with an objective lens.