%0 Journal article %A Sadri, Alireza %A Hadian-Jazi, Marjan %A Yefanov, Oleksandr %A Galchenkova, Marina %A Kirkwood, Henry %A Mills, Grant %A Sikorski, Marcin %A Letrun, Romain %A de Wijn, Raphael %A Vakili, Mohammad %A Oberthuer, Dominik %A Komadina, Dana %A Brehm, Wolfgang %A Mancuso, Adrian P. %A Carnis, Jerome %A Gelisio, Luca %A Chapman, Henry N. %T Automatic bad‐pixel mask maker for X‐ray pixel detectors with application to serial crystallography %R 10.1107/S1600576722009815 %J Journal of Applied Crystallography %V 55 %N 6 %I International Union of Crystallography %X X‐ray crystallography has witnessed a massive development over the past decade, driven by large increases in the intensity and brightness of X‐ray sources and enabled by employing high‐frame‐rate X‐ray detectors. The analysis of large data sets is done via automatic algorithms that are vulnerable to imperfections in the detector and noise inherent with the detection process. By improving the model of the behaviour of the detector, data can be analysed more reliably and data storage costs can be significantly reduced. One major requirement is a software mask that identifies defective pixels in diffraction frames. This paper introduces a methodology and program based upon concepts of machine learning, called robust mask maker (RMM), for the generation of bad‐pixel masks for large‐area X‐ray pixel detectors based on modern robust statistics. It is proposed to discriminate normally behaving pixels from abnormal pixels by analysing routine measurements made with and without X‐ray illumination. Analysis software typically uses a Bragg peak finder to detect Bragg peaks and an indexing method to detect crystal lattices among those peaks. Without proper masking of the bad pixels, peak finding methods often confuse the abnormal values of bad pixels in a pattern with true Bragg peaks and flag such patterns as useful regardless, leading to storage of enormous uninformative data sets. Also, it is computationally very expensive for indexing methods to search for crystal lattices among false peaks and the solution may be biased. This paper shows how RMM vastly improves peak finders and prevents them from labelling bad pixels as Bragg peaks, by demonstrating its effectiveness on several serial crystallography data sets. %U http://resolver.sub.uni-goettingen.de/purl?gldocs-11858/11414 %~ FID GEO-LEO e-docs