skip to main content
US FlagAn official website of the United States government
dot gov icon
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
https lock icon
Secure .gov websites use HTTPS
A lock ( lock ) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.


Title: The Pixel Anomaly Detection Tool : a user-friendly GUI for classifying detector frames using machine-learning approaches
Data collection at X-ray free electron lasers has particular experimental challenges, such as continuous sample delivery or the use of novel ultrafast high-dynamic-range gain-switching X-ray detectors. This can result in a multitude of data artefacts, which can be detrimental to accurately determining structure-factor amplitudes for serial crystallography or single-particle imaging experiments. Here, a new data-classification tool is reported that offers a variety of machine-learning algorithms to sort data trained either on manual data sorting by the user or by profile fitting the intensity distribution on the detector based on the experiment. This is integrated into an easy-to-use graphical user interface, specifically designed to support the detectors, file formats and software available at most X-ray free electron laser facilities. The highly modular design makes the tool easily expandable to comply with other X-ray sources and detectors, and the supervised learning approach enables even the novice user to sort data containing unwanted artefacts or perform routine data-analysis tasks such as hit finding during an experiment, without needing to write code.  more » « less
Award ID(s):
1231306
PAR ID:
10587052
Author(s) / Creator(s):
; ; ;
Publisher / Repository:
Journal of Applied Crystallography
Date Published:
Journal Name:
Journal of Applied Crystallography
Volume:
57
Issue:
2
ISSN:
1600-5767
Page Range / eLocation ID:
529 to 538
Format(s):
Medium: X
Sponsoring Org:
National Science Foundation
More Like this
  1. The field of time-resolved macromolecular crystallography has been expanding rapidly after free electron lasers for hard x rays (XFELs) became available. Techniques to collect and process data from XFELs spread to synchrotron light sources. Although time-scales and data collection modalities can differ substantially between these types of light sources, the analysis of the resulting x-ray data proceeds essentially along the same pathway. At the base of a successful time-resolved experiment is a difference electron density (DED) map that contains chemically meaningful signal. If such a difference map cannot be obtained, the experiment has failed. Here, a practical approach is presented to calculate DED maps and use them to determine structural models. 
    more » « less
  2. X-ray spectroscopy is a valuable technique for the study of many materials systems. Characterizing reactionsin situandoperandocan reveal complex reaction kinetics, which is crucial to understanding active site composition and reaction mechanisms. In this project, the design, fabrication and testing of an open-source and easy-to-fabricate electrochemical cell forin situelectrochemistry compatible with X-ray absorption spectroscopy in both transmission and fluorescence modes are accomplished via windows with large opening angles on both the upstream and downstream sides of the cell. Using a hobbyist computer numerical control machine and free 3D CAD software, anyone can make a reliable electrochemical cell using this design. Onion-like carbon nanoparticles, with a 1:3 iron-to-cobalt ratio, were drop-coated onto carbon paper for testingin situX-ray absorption spectroscopy. Cyclic voltammetry of the carbon paper showed the expected behavior, with no increased ohmic drop, even in sandwiched cells. Chronoamperometry was used to apply 0.4 V versus reversible hydrogen electrode, with and without 15 min of oxygen purging to ensure that the electrochemical cell does not provide any artefacts due to gas purging. The XANES and EXAFS spectra showed no differences with and without oxygen, as expected at 0.4 V, without any artefacts due to gas purging. The development of this open-source electrochemical cell design allows for improved collection ofin situX-ray absorption spectroscopy data and enables researchers to perform both transmission and fluorescence simultaneously. It additionally addresses key practical considerations including gas purging, reduced ionic resistance and leak prevention. 
    more » « less
  3. Polarized resonant soft X-ray scattering (P-RSoXS) has emerged as a powerful synchrotron-based tool that combines the principles of X-ray scattering and X-ray spectroscopy. P-RSoXS provides unique sensitivity to molecular orientation and chemical heterogeneity in soft materials such as polymers and biomaterials. Quantitative extraction of orientation information from P-RSoXS pattern data is challenging, however, because the scattering processes originate from sample properties that must be represented as energy-dependent three-dimensional tensors with heterogeneities at nanometre to sub-nanometre length scales. This challenge is overcome here by developing an open-source virtual instrument that uses graphical processing units (GPUs) to simulate P-RSoXS patterns from real-space material representations with nanoscale resolution. This computational framework – calledCyRSoXS(https://github.com/usnistgov/cyrsoxs) – is designed to maximize GPU performance, including algorithms that minimize both communication and memory footprints. The accuracy and robustness of the approach are demonstrated by validating against an extensive set of test cases, which include both analytical solutions and numerical comparisons, demonstrating an acceleration of over three orders of magnitude relative to the current state-of-the-art P-RSoXS simulation software. Such fast simulations open up a variety of applications that were previously computationally unfeasible, including pattern fitting, co-simulation with the physical instrument foroperandoanalytics, data exploration and decision support, data creation and integration into machine learning workflows, and utilization in multi-modal data assimilation approaches. Finally, the complexity of the computational framework is abstracted away from the end user by exposingCyRSoXSto Python usingPybind. This eliminates input/output requirements for large-scale parameter exploration and inverse design, and democratizes usage by enabling seamless integration with a Python ecosystem (https://github.com/usnistgov/nrss) that can include parametric morphology generation, simulation result reduction, comparison with experiment and data fitting approaches. 
    more » « less
  4. Abstract We report on a multi‐method sourcing study of 35 mineral pigment artefacts from the Middle Stone Age site of Pinnacle Point 5–6 North (PP5–6 N), dating from about 90–50 ka. The artefacts were analysed and compared with geological samples from seven sources using neutron activation analysis (NAA), and supplemented by data from X‐ray diffraction (XRD) and scanning electron microscopy (SEM). Our preliminary results suggest that the occupants of PP5–6 N likely used at least two local and one currently unidentified and possibly non‐local Fe oxide mineral pigment sources. The mineral pigment artefacts derived from the latter source(s) exhibited manganese (Mn) enrichment with concentrations well above those observed in all sampled source deposits in the study area, suggesting a distinctive formation process. The proportions of the Mn‐enriched mineral pigment artefacts within the PP5–6 N assemblage vary over time, but tend to occur at higher rates in the glacial Marine Isotope Stage (MIS) 4 deposits, which holds potential implications for changes in the use of sources over time, increased mobility or increased exchange during this period. 
    more » « less
  5. Nanowire arrays—vertically aligned metal wires with a few hundred nanometers in diameter—are promising nano-structured targets for high-energy-density physics and related applications. We have been developing ultrafast, time-resolved measurements on laser-irradiated targets using the x-ray free electron laser at the SACLA facility. Here, we present fabrication of various kinds of nanowire array in order to explore the absorption mechanism with ultrahigh intensity laser irradiation, and their application to the laser-irradiation experiment is performed at the SACLA facility. To fabricate nanowire arrays with control over their spatial and material parameters, we have developed an approach using an anodic aluminum oxide template and electroplating processes. The nanowire array samples were applied for ultrahigh intensity laser experiments, which coupled with x-ray free-electron-laser facility SACLA. We characterized fundamental “static” data on transmittance calibration for x-ray shadowgraph measurements. We also evaluated the effect of a pre-pulse on spatial changes of a nanowire, showing that the shape of the nanowires was maintained up to a few picoseconds after laser irradiation. On the preliminary laser-irradiation experiments, we observed time-resolved, two-dimensional x-ray images and observed the x-ray transmittance change due to the heating process. 
    more » « less