This figure shows a schematic for a generic SEM. Electrons from a filament in an electron gun are beamed at the specimen in a vacuum chamber. The beam forms a line that continuously sweeps across the specimen at high speed. This beam irradiates the specimen which in turn produces a signal in the form of either x-ray fluorescence, secondary or backscattered electrons.