An aperture unit for a particle beam device, in particular an electron beam device, is disclosed. A compressed video image is downsampled in the frequency domain. A measuring roller, which projects slightly out of a cavity in a base section that runs parallel to the reference plane, is located inside the guide shoe. Further, the constant control unit changes the control constant of the feedback control in accordance with a value corresponding to the temperature of the gas sensor.