A scanning transmission electron microscope comprising an electron source configured to provide a primary electron beam with cross-over, a condenser system, an objective electromagnetic lens comprising an upper pole piece and a lower pole piece forming a pole piece gap configured to provide a pre-field and a post-field with respect to a sample plane located inside the pole piece gap, wherein the upper pole piece comprises an upper pole piece face and the lower pole piece comprises a lower pole piece face, the scanning transmission electron microscope further comprising a projection lens system comprising at least a first projection lens and a second projection lens, and a detection system, wherein at least one diffraction pattern is located in a distance from the lower pole piece face outside the pole piece gap, wherein the distance between the lower pole piece face and the at least one diffraction pattern is in the interval (0-1) mm.