A sample chamber has been developed that is compatible with the commercially available Lytle ion chamber with soller slits. The key features are (i) the sample position can be shifted vertically without changing the geometry with respect to the soller slits and ion chamber, (ii) the gas-tight structure makes it possible for experiments to work with samples that require anaerobic conditions.