as

Crystal structure and supra­molecular features of a host–guest inclusion complex based on A1/A2-hetero-difunctionalized pillar[5]arene

A host–guest supra­molecular inclusion complex was obtained from the co-crystallization of A1/A2-bromo­but­oxy-hy­droxy difunctionalized pillar[5]arene (PilButBrOH) with adipo­nitrile (ADN), C47H53.18Br0.82O10·C6H8N2. The adipo­nitrile guest is stabilized within the electron-rich cavity of the pillar[5]arene host via multiple C—H⋯O and C—H⋯π inter­actions. Both functional groups on the macrocyclic rim are engaged in supra­molecular inter­actions with an adjacent inclusion complex via hydrogen-bonding (O—H⋯N or C—H⋯Br) inter­actions, resulting in the formation of a supra­molecular dimer in the crystal structure.




as

Synthesis, crystal structure and absolute configuration of (3aS,4R,5S,7aR)-7-(but-3-en-1-yn-1-yl)-2,2-dimethyl-3a,4,5,7a-tetra­hydro-2H-1,3-benzodioxole-4,5-diol

The absolute configuration of the title compound, C13H16O4, determined as 1S,2R,3S,4R based on the synthetic pathway, was confirmed by single-crystal X-ray diffraction. The mol­ecule is a relevant inter­mediary for the synthesis of speciosins, ep­oxy­quinoides or their analogues. The mol­ecule contains fused five- and six-membered rings with two free hydroxyl groups and two protected as an iso­propyl­idenedioxo ring. The packing is directed by hydrogen bonds that define double planes of mol­ecules laying along the ab plane and van der Waals inter­actions between aliphatic chains that point outwards of the planes.




as

Structural multiplicity in a solvated hydrate of the anti­retroviral protease inhibitor Lopinavir

Lopinavir is a potent protease inhibitor that is used as a first-line pharmaceutical drug for the treatment of HIV. The multi-component solvated Lopinavir crystal, systematic name (2S)-N-[(2S,4S,5S)-5-[2-(2,6-di­methyl­phen­oxy)acetamido]-4-hy­droxy-1,6-di­phenyl­hexan-2-yl]-3-methyl-2-(2-oxo-1,3-diazinan-1-yl)butanamide–ethane-1,2-diol–water (8/3/7) 8C37H48N4O5·3C2H6O2·7H2O, was prepared using evaporative methods. The crystalline material obtained from this experimental synthesis was characterized and elucidated by single-crystal X-ray diffraction (SC-XRD). The crystal structure is unusual in that the unit cell contains 18 mol­ecules. The stoichiometric ratio of this crystal is eight Lopinavir mol­ecules [8(C37H48N4O5)], three ethane-1,2-diol mol­ecules [3(C2H6O2)] and seven water mol­ecules [7(H2O)]. The crystal packing features both bi- and trifurcated hydrogen bonds between atoms.




as

Multi-segment cooling design of a reflection mirror based on the finite-element method

Through numerical optimization of cooling lengths and cooling groove positions for the first reflection mirror of a free-electron laser [OK?], the root mean square of the height error of the mirror's thermal deformation was minimized. The optimized mirror design effectively mitigated stray light and enhanced the peak intensity of the focus spot at the sample, thereby enhancing the optical performance of the high-heat-load mirror under high repetition rates at beamline FEL-II of the SHINE facility.




as

Reducing heat load density with asymmetric and inclined double-crystal monochromators: principles and requirements revisited

The major principles and requirements of asymmetric and inclined double-crystal monochromators are re-examined and presented to guide their design and development for significantly reducing heat load density and gradient on the monochromators of fourth-generation synchrotron light sources and X-ray free-electron lasers.




as

Development of MHz X-ray phase contrast imaging at the European XFEL

The development of instrumentation as well as applications for megahertz X-ray phase contrast imaging at the Single Particles, Clusters, and Biomolecules and Serial Femtosecond Crystallography instrument of the European XFEL are introduced here.




as

Review and experimental comparison of speckle-tracking algorithms for X-ray phase contrast imaging

This review focuses on low-dose near-field X-ray speckle phase imaging in the differential mode introducing the existing algorithms with their specifications and comparing their performances under various experimental conditions.




as

The use of ethanol as contrast enhancer in Synchrotron X-ray phase-contrast imaging leads to heterogeneous myocardial tissue shrinkage: a case report

In this work, we showed that the use of ethanol to increase image contrast when imaging cardiac tissue with synchrotron X-ray phase-contrast imaging (X-PCI) leads to heterogeneous tissue shrinkage, which has an impact on the 3D organization of the myocardium.




as

Enhancing the Efficiency of a Wavelength-Dispersive Spectrometer based upon a Slit-less Design Using a Single-Bounce Monocapillary

A slit-less wavelength-dispersive spectrometer design using a single-bounce monocapillary that aligns the sample on the Rowland circle, enhancing photon throughput and maintaining resolution. The compact design supports flexibility and reconfiguration in facilities without complex beamline infrastructure, significantly improving detection efficiency.




as

The International Tables Symmetry Database

The International Tables Symmetry Database (https://symmdb.iucr.org/), which is part of International Tables for Crystallography, is a collection of individual databases of crystallographic space-group and point-group information with associated programs. The programs let the user access and in some cases interactively visualize the data, and some also allow new data to be calculated `on the fly'. Together these databases and programs expand upon and complement the symmetry information provided in International Tables for Crystallography Volume A, Space-Group Symmetry, and Volume A1, Symmetry Relations between Space Groups. The Symmetry Database allows users to learn about and explore the space and point groups, and facilitates the study of group–subgroup relations between space groups, with applications in determining crystal-structure relationships, in studying phase transitions and in domain-structure analysis. The use of the International Tables Symmetry Database in all these areas is demonstrated using several examples.




as

Texture measurements on quartz single crystals to validate coordinate systems for neutron time-of-flight texture analysis

In crystallographic texture analysis, ensuring that sample directions are preserved from experiment to the resulting orientation distribution is crucial to obtain physical meaning from diffraction data. This work details a procedure to ensure instrument and sample coordinates are consistent when analyzing diffraction data with a Rietveld refinement using the texture analysis software MAUD. A quartz crystal is measured on the HIPPO diffractometer at Los Alamos National Laboratory for this purpose. The methods described here can be applied to any diffraction instrument measuring orientation distributions in polycrystalline materials.




as

Fast nanoscale imaging of strain in a multi-segment heterostructured nanowire with 2D Bragg ptychography

Developing semiconductor devices requires a fast and reliable source of strain information with high spatial resolution and strain sensitivity. This work investigates the strain in an axially heterostructured 180 nm-diameter GaInP nanowire with InP segments of varying lengths down to 9 nm, simultaneously probing both materials. Scanning X-ray diffraction (XRD) is compared with Bragg projection ptychography (BPP), a fast single-projection method. BPP offers a sufficient spatial resolution to reveal fine details within the largest segments, unlike scanning XRD. The spatial resolution affects the quantitative accuracy of the strain maps, where BPP shows much-improved agreement with an elastic 3D finite element model compared with scanning XRD. The sensitivity of BPP to small deviations from the Bragg condition is systematically investigated. The experimental confirmation of the model suggests that the large lattice mismatch of 1.52% is accommodated without defects.




as

Using XAS to monitor radiation damage in real time and post-analysis, and investigation of systematic errors of fluorescence XAS for Cu-bound amyloid-β

X-ray absorption spectroscopy (XAS) is a promising technique for determining structural information from sensitive biological samples, but high-accuracy X-ray absorption fine structure (XAFS) requires corrections of systematic errors in experimental data. Low-temperature XAS and room-temperature X-ray absorption spectro-electrochemical (XAS-EC) measurements of N-truncated amyloid-β samples were collected and corrected for systematic effects such as dead time, detector efficiencies, monochromator glitches, self-absorption, radiation damage and noise at higher wavenumber (k). A new protocol was developed using extended X-ray absorption fine structure (EXAFS) data analysis for monitoring radiation damage in real time and post-analysis. The reliability of the structural determinations and consistency were validated using the XAS measurement experimental uncertainty. The correction of detector pixel efficiencies improved the fitting χ2 by 12%. An improvement of about 2.5% of the structural fitting was obtained after dead-time corrections. Normalization allowed the elimination of 90% of the monochromator glitches. The remaining glitches were manually removed. The dispersion of spectra due to self-absorption was corrected. Standard errors of experimental measurements were propagated from pointwise variance of the spectra after systematic corrections. Calculated uncertainties were used in structural refinements for obtaining precise and reliable values of structural parameters including atomic bond lengths and thermal parameters. This has permitted hypothesis testing.




as

BioXTAS RAW 2: new developments for a free open-source program for small-angle scattering data reduction and analysis

BioXTAS RAW is a free open-source program for reduction, analysis and modelling of biological small-angle scattering data. Here, the new developments in RAW version 2 are described. These include improved data reduction using pyFAI; updated automated Guinier fitting and Dmax finding algorithms; automated series (e.g. size-exclusion chromatography coupled small-angle X-ray scattering or SEC-SAXS) buffer- and sample-region finding algorithms; linear and integral baseline correction for series; deconvolution of series data using regularized alternating least squares (REGALS); creation of electron-density reconstructions using electron density via solution scattering (DENSS); a comparison window showing residuals, ratios and statistical comparisons between profiles; and generation of PDF reports with summary plots and tables for all analysis. Furthermore, there is now a RAW API, which can be used without the graphical user interface (GUI), providing full access to all of the functionality found in the GUI. In addition to these new capabilities, RAW has undergone significant technical updates, such as adding Python 3 compatibility, and has entirely new documentation available both online and in the program.




as

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.




as

Crystals in the community and the classroom

The growing pressure on school curricula has meant crystals and the science of crystallography have been cut from or made optional for many educational programs. This omission is a serious disservice to the history and understanding of modern sciences, given that crystallography underpins many of the greatest advancements in science over the past century, is a critical component of many modern research papers and patents, and has 29 Nobel Prizes awarded in the field. This contribution describes a simple activity to target classroom and public engagement with crystallography, using marshmallows or equivalent sweets/candy to represent atoms and cocktail sticks to represent bonds, together with examples of how crystals are studied and how they are useful. Though it has a simple basis, this activity can be extended in numerous ways to reflect the aims of the demonstrator, and a few of these are described.




as

A note on the Hendrickson–Lattman phase probability distribution and its equivalence to the generalized von Mises distribution

Hendrickson & Lattman [Acta Cryst. (1970), B26, 136–143] introduced a method for representing crystallographic phase probabilities defined on the unit circle. Their approach could model the bimodal phase probability distributions that can result from experimental phase determination procedures. It also provided simple and highly effective means to combine independent sources of phase information. The present work discusses the equivalence of the Hendrickson–Lattman distribution and the generalized von Mises distribution of order two, which has been studied in the statistical literature. Recognizing this connection allows the Hendrickson–Lattman distribution to be expressed in an alternative form which is easier to interpret, as it involves the location and concentration parameters of the component von Mises distributions. It also allows clarification of the conditions for bimodality and access to a simplified analytical method for evaluating the trigonometric moments of the distribution, the first of which is required for computing the best Fourier synthesis in the presence of phase, but not amplitude, uncertainty.




as

Revisiting the hydrogenation behavior of NdGa and its hydride phases

NdGa hydride and deuteride phases were prepared from high-quality NdGa samples and their structures characterized by powder and single-crystal X-ray diffraction and neutron powder diffraction. NdGa with the orthorhombic CrB-type structure absorbs hydrogen at hydrogen pressures ≤ 1 bar until reaching the composition NdGaH(D)1.1, which maintains a CrB-type structure. At elevated hydrogen pressure additional hydrogen is absorbed and the maximum composition recovered under standard temperature and pressure conditions is NdGaH(D)1.6 with the Cmcm LaGaH1.66-type structure. This structure is a threefold superstructure with respect to the CrB-type structure. The hydrogen atoms are ordered and distributed on three fully occupied Wyckoff positions corresponding to tetrahedral (4c, 8g) and trigonal–bipyramidal (8g) voids in the parent structure. The threefold superstructure is maintained in the H-deficient phases NaGaH(D)x until 1.6 ≥ x ≥ 1.2. At lower H concentrations, coinciding with the composition of the hydride obtained from hydrogenation at atmospheric pressure, the unit cell of the CrB-type structure is resumed. This phase can also display H deficiency, NdGaH(D)y (1.1 ≥ y ≥ 0.9), with H(D) exclusively situated in partially empty tetrahedral voids. The phase boundary between the threefold superstructure (LaGaH1.66 type) and the onefold structure (NdGaH1.1 type) is estimated on the basis of phase–composition isotherms and neutron powder diffraction to be x = 1.15.




as

A workflow for single-particle structure determination via iterative phasing of rotational invariants in fluctuation X-ray scattering

Fluctuation X-ray scattering (FXS) offers a complementary approach for nano- and bioparticle imaging with an X-ray free-electron laser (XFEL), by extracting structural information from correlations in scattered XFEL pulses. Here a workflow is presented for single-particle structure determination using FXS. The workflow includes procedures for extracting the rotational invariants from FXS patterns, performing structure reconstructions via iterative phasing of the invariants, and aligning and averaging multiple reconstructions. The reconstruction pipeline is implemented in the open-source software xFrame and its functionality is demonstrated on several simulated structures.




as

Simulations of dislocation contrast in dark-field X-ray microscopy

Dark-field X-ray microscopy (DFXM) is a full-field imaging technique that non-destructively maps the structure and local strain inside deeply embedded crystalline elements in three dimensions. In DFXM, an objective lens is placed along the diffracted beam to generate a magnified projection image of the local diffracted volume. This work explores contrast methods and optimizes the DFXM setup specifically for the case of mapping dislocations. Forward projections of detector images are generated using two complementary simulation tools based on geometrical optics and wavefront propagation, respectively. Weak and strong beam contrast and the mapping of strain components are studied. The feasibility of observing dislocations in a wall is elucidated as a function of the distance between neighbouring dislocations and the spatial resolution. Dislocation studies should be feasible with energy band widths of 10−2, of relevance for fourth-generation synchrotron and X-ray free-electron laser sources.




as

Millisecond X-ray reflectometry and neural network analysis: unveiling fast processes in spin coating

X-ray reflectometry (XRR) is a powerful tool for probing the structural characteristics of nanoscale films and layered structures, which is an important field of nanotechnology and is often used in semiconductor and optics manufacturing. This study introduces a novel approach for conducting quantitative high-resolution millisecond monochromatic XRR measurements. This is an order of magnitude faster than in previously published work. Quick XRR (qXRR) enables real time and in situ monitoring of nanoscale processes such as thin film formation during spin coating. A record qXRR acquisition time of 1.4 ms is demonstrated for a static gold thin film on a silicon sample. As a second example of this novel approach, dynamic in situ measurements are performed during PMMA spin coating onto silicon wafers and fast fitting of XRR curves using machine learning is demonstrated. This investigation primarily focuses on the evolution of film structure and surface morphology, resolving for the first time with qXRR the initial film thinning via mass transport and also shedding light on later thinning via solvent evaporation. This innovative millisecond qXRR technique is of significance for in situ studies of thin film deposition. It addresses the challenge of following intrinsically fast processes, such as thin film growth of high deposition rate or spin coating. Beyond thin film growth processes, millisecond XRR has implications for resolving fast structural changes such as photostriction or diffusion processes.




as

Robust image descriptor for machine learning based data reduction in serial crystallography

Serial crystallography experiments at synchrotron and X-ray free-electron laser (XFEL) sources are producing crystallographic data sets of ever-increasing volume. While these experiments have large data sets and high-frame-rate detectors (around 3520 frames per second), only a small percentage of the data are useful for downstream analysis. Thus, an efficient and real-time data classification pipeline is essential to differentiate reliably between useful and non-useful images, typically known as `hit' and `miss', respectively, and keep only hit images on disk for further analysis such as peak finding and indexing. While feature-point extraction is a key component of modern approaches to image classification, existing approaches require computationally expensive patch preprocessing to handle perspective distortion. This paper proposes a pipeline to categorize the data, consisting of a real-time feature extraction algorithm called modified and parallelized FAST (MP-FAST), an image descriptor and a machine learning classifier. For parallelizing the primary operations of the proposed pipeline, central processing units, graphics processing units and field-programmable gate arrays are implemented and their performances compared. Finally, MP-FAST-based image classification is evaluated using a multi-layer perceptron on various data sets, including both synthetic and experimental data. This approach demonstrates superior performance compared with other feature extractors and classifiers.




as

Ray-tracing analytical absorption correction for X-ray crystallography based on tomographic reconstructions

Processing of single-crystal X-ray diffraction data from area detectors can be separated into two steps. First, raw intensities are obtained by integration of the diffraction images, and then data correction and reduction are performed to determine structure-factor amplitudes and their uncertainties. The second step considers the diffraction geometry, sample illumination, decay, absorption and other effects. While absorption is only a minor effect in standard macromolecular crystallography (MX), it can become the largest source of uncertainty for experiments performed at long wavelengths. Current software packages for MX typically employ empirical models to correct for the effects of absorption, with the corrections determined through the procedure of minimizing the differences in intensities between symmetry-equivalent reflections; these models are well suited to capturing smoothly varying experimental effects. However, for very long wavelengths, empirical methods become an unreliable approach to model strong absorption effects with high fidelity. This problem is particularly acute when data multiplicity is low. This paper presents an analytical absorption correction strategy (implemented in new software AnACor) based on a volumetric model of the sample derived from X-ray tomography. Individual path lengths through the different sample materials for all reflections are determined by a ray-tracing method. Several approaches for absorption corrections (spherical harmonics correction, analytical absorption correction and a combination of the two) are compared for two samples, the membrane protein OmpK36 GD, measured at a wavelength of λ = 3.54 Å, and chlorite dismutase, measured at λ = 4.13 Å. Data set statistics, the peak heights in the anomalous difference Fourier maps and the success of experimental phasing are used to compare the results from the different absorption correction approaches. The strategies using the new analytical absorption correction are shown to be superior to the standard spherical harmonics corrections. While the improvements are modest in the 3.54 Å data, the analytical absorption correction outperforms spherical harmonics in the longer-wavelength data (λ = 4.13 Å), which is also reflected in the reduced amount of data being required for successful experimental phasing.




as

Synthesis and in-depth structure determination of a novel metastable high-pressure CrTe3 phase

This study reports the synthesis and crystal structure determination of a novel CrTe3 phase using various experimental and theoretical methods. The average stoichiometry and local phase separation of this quenched high-pressure phase were characterized by ex situ synchrotron powder X-ray diffraction and total scattering. Several structural models were obtained using simulated annealing, but all suffered from an imperfect Rietveld refinement, especially at higher diffraction angles. Finally, a novel stoichiometrically correct crystal structure model was proposed on the basis of electron diffraction data and refined against powder diffraction data using the Rietveld method. Scanning electron microscopy–energy-dispersive X-ray spectrometry (EDX) measurements verified the targeted 1:3 (Cr:Te) average stoichiometry for the starting compound and for the quenched high-pressure phase within experimental errors. Scanning transmission electron microscopy (STEM)–EDX was used to examine minute variations of the Cr-to-Te ratio at the nanoscale. Precession electron diffraction (PED) experiments were applied for the nanoscale structure analysis of the quenched high-pressure phase. The proposed monoclinic model from PED experiments provided an improved fit to the X-ray patterns, especially after introducing atomic anisotropic displacement parameters and partial occupancy of Cr atoms. Atomic resolution STEM and simulations were conducted to identify variations in the Cr-atom site-occupancy factor. No significant variations were observed experimentally for several zone axes. The magnetic properties of the novel CrTe3 phase were investigated through temperature- and field-dependent magnetization measurements. In order to understand these properties, auxiliary theoretical investigations have been performed by first-principles electronic structure calculations and Monte Carlo simulations. The obtained results allow the observed magnetization behavior to be interpreted as the consequence of competition between the applied magnetic field and the Cr–Cr exchange interactions, leading to a decrease of the magnetization towards T = 0 K typical for antiferromagnetic systems, as well as a field-induced enhanced magnetization around the critical temperature due to the high magnetic susceptibility in this region.




as

Phase-contrast neutron imaging compared with wave propagation and McStas simulations

Propagation-based phase contrast, for example in the form of edge enhancement contrast, is well established within X-ray imaging but is not widely used in neutron imaging. This technique can help increase the contrast of low-attenuation samples but may confuse quantitative absorption measurements. Therefore, it is important to understand the experimental parameters that cause and amplify or dampen this effect in order to optimize future experiments properly. Two simulation approaches have been investigated, a wave-based simulation and a particle-based simulation conducted in McStas [Willendrup & Lefmann (2020). J. Neutron Res. 22, 1–16], and they are compared with experimental data. The experiment was done on a sample of metal foils with weakly and strongly neutron absorbing layers, which were measured while varying the rotation angle and propagation distance from the sample. The experimental data show multiple signals: attenuation, phase contrast and reflection. The wave model reproduces the sample attenuation and the phase peaks but it does not reproduce the behavior of these peaks as a function of rotation angle. The McStas simulation agrees better with the experimental data, as it reproduces attenuation, phase peaks and reflection, as well as the change in these signals as a function of rotation angle and distance. This suggests that the McStas simulation approach, where the particle description of the neutron facilitates the incorporation of multiple effects, is the most convenient way of modeling edge enhancement in neutron imaging.




as

Implications of size dispersion on X-ray scattering of crystalline nanoparticles: CeO2 as a case study

Controlling the shape and size dispersivity and crystallinity of nanoparticles (NPs) has been a challenge in identifying these parameters' role in the physical and chemical properties of NPs. The need for reliable quantitative tools for analyzing the dispersivity and crystallinity of NPs is a considerable problem in optimizing scalable synthesis routes capable of controlling NP properties. The most common tools are electron microscopy (EM) and X-ray scattering techniques. However, each technique has different susceptibility to these parameters, implying that more than one technique is necessary to characterize NP systems with maximum reliability. Wide-angle X-ray scattering (WAXS) is mandatory to access information on crystallinity. In contrast, EM or small-angle X-ray scattering (SAXS) is required to access information on whole NP sizes. EM provides average values on relatively small ensembles in contrast to the bulk values accessed by X-ray techniques. Besides the fact that the SAXS and WAXS techniques have different susceptibilities to size distributions, SAXS is easily affected by NP–NP interaction distances. Because of all the variables involved, there have yet to be proposed methodologies for cross-analyzing data from two techniques that can provide reliable quantitative results of dispersivity and crystallinity. In this work, a SAXS/WAXS-based methodology is proposed for simultaneously quantifying size distribution and degree of crystallinity of NPs. The most reliable easy-to-access size result for each technique is demonstrated by computer simulation. Strategies on how to compare these results and how to identify NP–NP interaction effects underneath the SAXS intensity curve are presented. Experimental results are shown for cubic-like CeO2 NPs. WAXS size results from two analytical procedures are compared, line-profile fitting of individual diffraction peaks in opposition to whole pattern fitting. The impact of shape dispersivity is also evaluated. Extension of the proposed methodology for cross-analyzing EM and WAXS data is possible.




as

TORO Indexer: a PyTorch-based indexing algorithm for kilohertz serial crystallography

Serial crystallography (SX) involves combining observations from a very large number of diffraction patterns coming from crystals in random orientations. To compile a complete data set, these patterns must be indexed (i.e. their orientation determined), integrated and merged. Introduced here is TORO (Torch-powered robust optimization) Indexer, a robust and adaptable indexing algorithm developed using the PyTorch framework. TORO is capable of operating on graphics processing units (GPUs), central processing units (CPUs) and other hardware accelerators supported by PyTorch, ensuring compatibility with a wide variety of computational setups. In tests, TORO outpaces existing solutions, indexing thousands of frames per second when running on GPUs, which positions it as an attractive candidate to produce real-time indexing and user feedback. The algorithm streamlines some of the ideas introduced by previous indexers like DIALS real-space grid search [Gildea, Waterman, Parkhurst, Axford, Sutton, Stuart, Sauter, Evans & Winter (2014). Acta Cryst. D70, 2652–2666] and XGandalf [Gevorkov, Yefanov, Barty, White, Mariani, Brehm, Tolstikova, Grigat & Chapman (2019). Acta Cryst. A75, 694–704] and refines them using faster and principled robust optimization techniques which result in a concise code base consisting of less than 500 lines. On the basis of evaluations across four proteins, TORO consistently matches, and in certain instances outperforms, established algorithms such as XGandalf and MOSFLM [Powell (1999). Acta Cryst. D55, 1690–1695], occasionally amplifying the quality of the consolidated data while achieving superior indexing speed. The inherent modularity of TORO and the versatility of PyTorch code bases facilitate its deployment into a wide array of architectures, software platforms and bespoke applications, highlighting its prospective significance in SX.




as

The master key: structural science in unlocking functional materials advancements

From the historical roots of metalworking to the forefront of modern nanotechnology, functional materials have played a pivotal role in transforming societies, and their influence is poised to persist into the future. Encompassing a wide array of solid-state materials, spanning semiconductors to polymers, molecular crystals to nanoparticles, functional materials find application in critical sectors such as electronics, computers, information, communication, bio­technology, aerospace, defense, environment, energy, medicine and consumer products. This feature article delves into diverse instances of functional materials, exploring their structures, their properties and the underlying mechanisms that contribute to their outstanding performance across fields like batteries, photovoltaics, magnetics and heterogeneous catalysts. The field of structural sciences serves as the cornerstone for unraveling the intricate relationship between structure, dynamics and function. Acting as a bridge, it connects the fundamental understanding of materials to their practical applications.




as

Neural networks for rapid phase quantification of cultural heritage X-ray powder diffraction data

Recent developments in synchrotron radiation facilities have increased the amount of data generated during acquisitions considerably, requiring fast and efficient data processing techniques. Here, the application of dense neural networks (DNNs) to data treatment of X-ray diffraction computed tomography (XRD-CT) experiments is presented. Processing involves mapping the phases in a tomographic slice by predicting the phase fraction in each individual pixel. DNNs were trained on sets of calculated XRD patterns generated using a Python algorithm developed in-house. An initial Rietveld refinement of the tomographic slice sum pattern provides additional information (peak widths and integrated intensities for each phase) to improve the generation of simulated patterns and make them closer to real data. A grid search was used to optimize the network architecture and demonstrated that a single fully connected dense layer was sufficient to accurately determine phase proportions. This DNN was used on the XRD-CT acquisition of a mock-up and a historical sample of highly heterogeneous multi-layered decoration of a late medieval statue, called `applied brocade'. The phase maps predicted by the DNN were in good agreement with other methods, such as non-negative matrix factorization and serial Rietveld refinements performed with TOPAS, and outperformed them in terms of speed and efficiency. The method was evaluated by regenerating experimental patterns from predictions and using the R-weighted profile as the agreement factor. This assessment allowed us to confirm the accuracy of the results.




as

RMCProfile7: reverse Monte Carlo for multiphase systems

This work introduces a completely rewritten version of the program RMCProfile (version 7), big-box, reverse Monte Carlo modelling software for analysis of total scattering data. The major new feature of RMCProfile7 is the ability to refine multiple phases simultaneously, which is relevant for many current research areas such as energy materials, catalysis and engineering. Other new features include improved support for molecular potentials and rigid-body refinements, as well as multiple different data sets. An empirical resolution correction and calculation of the pair distribution function as a back-Fourier transform are now also available. RMCProfile7 is freely available for download at https://rmcprofile.ornl.gov/.




as

Patching-based deep-learning model for the inpainting of Bragg coherent diffraction patterns affected by detector gaps

A deep-learning algorithm is proposed for the inpainting of Bragg coherent diffraction imaging (BCDI) patterns affected by detector gaps. These regions of missing intensity can compromise the accuracy of reconstruction algorithms, inducing artefacts in the final result. It is thus desirable to restore the intensity in these regions in order to ensure more reliable reconstructions. The key aspect of the method lies in the choice of training the neural network with cropped sections of diffraction data and subsequently patching the predictions generated by the model along the gap, thus completing the full diffraction peak. This approach enables access to a greater amount of experimental data for training and offers the ability to average overlapping sections during patching. As a result, it produces robust and dependable predictions for experimental data arrays of any size. It is shown that the method is able to remove gap-induced artefacts on the reconstructed objects for both simulated and experimental data, which becomes essential in the case of high-resolution BCDI experiments.




as

Mix and measure II: joint high-energy laboratory powder diffraction and microtomography for cement hydration studies

Portland cements (PCs) and cement blends are multiphase materials of different fineness, and quantitatively analysing their hydration pathways is very challenging. The dissolution (hydration) of the initial crystalline and amorphous phases must be determined, as well as the formation of labile (such as ettringite), reactive (such as portlandite) and amorphous (such as calcium silicate hydrate gel) components. The microstructural changes with hydration time must also be mapped out. To address this robustly and accurately, an innovative approach is being developed based on in situ measurements of pastes without any sample conditioning. Data are sequentially acquired by Mo Kα1 laboratory X-ray powder diffraction (LXRPD) and microtomography (µCT), where the same volume is scanned with time to reduce variability. Wide capillaries (2 mm in diameter) are key to avoid artefacts, e.g. self-desiccation, and to have excellent particle averaging. This methodology is tested in three cement paste samples: (i) a commercial PC 52.5 R, (ii) a blend of 80 wt% of this PC and 20 wt% quartz, to simulate an addition of supplementary cementitious materials, and (iii) a blend of 80 wt% PC and 20 wt% limestone, to simulate a limestone Portland cement. LXRPD data are acquired at 3 h and 1, 3, 7 and 28 days, and µCT data are collected at 12 h and 1, 3, 7 and 28 days. Later age data can also be easily acquired. In this methodology, the amounts of the crystalline phases are directly obtained from Rietveld analysis and the amorphous phase contents are obtained from mass-balance calculations. From the µCT study, and within the attained spatial resolution, three components (porosity, hydrated products and unhydrated cement particles) are determined. The analyses quantitatively demonstrate the filler effect of quartz and limestone in the hydration of alite and the calcium aluminate phases. Further hydration details are discussed.




as

Subgradient-projection-based stable phase-retrieval algorithm for X-ray ptychography

X-ray ptychography is a lensless imaging technique that visualizes the nano­structure of a thick specimen which cannot be observed with an electron microscope. It reconstructs a complex-valued refractive index of the specimen from observed diffraction patterns. This reconstruction problem is called phase retrieval (PR). For further improvement in the imaging capability, including expansion of the depth of field, various PR algorithms have been proposed. Since a high-quality PR method is built upon a base PR algorithm such as ePIE, developing a well performing base PR algorithm is important. This paper proposes an improved iterative algorithm named CRISP. It exploits subgradient projection which allows adaptive step size and can be expected to avoid yielding a poor image. The proposed algorithm was compared with ePIE, which is a simple and fast-convergence algorithm, and its modified algorithm, rPIE. The experiments confirmed that the proposed method improved the reconstruction performance for both simulation and real data.




as

Quality assessment of the wide-angle detection option planned at the high-intensity/extended Q-range SANS diffractometer KWS-2 combining experiments and McStas simulations

For a reliable characterization of materials and systems featuring multiple structural levels, a broad length scale from a few ångström to hundreds of nanometres must be analyzed and an extended Q range must be covered in X-ray and neutron scattering experiments. For certain samples or effects, it is advantageous to perform such characterization with a single instrument. Neutrons offer the unique advantage of contrast variation and matching by D-labeling, which is of great value in the characterization of natural or synthetic polymers. Some time-of-flight small-angle neutron scattering (TOF-SANS) instruments at neutron spallation sources can cover an extended Q range by using a broad wavelength band and a multitude of detectors. The detectors are arranged to cover a wide range of scattering angles with a resolution that allows both large-scale morphology and crystalline structure to be resolved simultaneously. However, for such analyses, the SANS instruments at steady-state sources operating in conventional monochromatic pinhole mode rely on additional wide-angle neutron scattering (WANS) detectors. The resolution must be tuned via a system of choppers and a TOF data acquisition option to reliably measure the atomic to mesoscale structures. The KWS-2 SANS diffractometer at Jülich Centre for Neutron Science allows the exploration of a wide Q range using conventional pinhole and lens focusing modes and an adjustable resolution Δλ/λ between 2 and 20%. This is achieved through the use of a versatile mechanical velocity selector combined with a variable slit opening and rotation frequency chopper. The installation of WANS detectors planned on the instrument required a detailed analysis of the quality of the data measured over a wide angular range with variable resolution. This article presents an assessment of the WANS performance by comparison with a McStas [Willendrup, Farhi & Lefmann (2004). Physica B, 350, E735–E737] simulation of ideal experimental conditions at the instrument.




as

On the feasibility of time-resolved X-ray powder diffraction of macromolecules using laser-driven ultrafast X-ray sources

With the emergence of ultrafast X-ray sources, interest in following fast processes in small molecules and macromolecules has increased. Most of the current research into ultrafast structural dynamics of macromolecules uses X-ray free-electron lasers. In parallel, small-scale laboratory-based laser-driven ultrafast X-ray sources are emerging. Continuous development of these sources is underway, and as a result many exciting applications are being reported. However, because of their low flux, such sources are not commonly used to study the structural dynamics of macromolecules. This article examines the feasibility of time-resolved powder diffraction of macromolecular microcrystals using a laboratory-scale laser-driven ultrafast X-ray source.




as

DFT2FEFFIT: a density-functional-theory-based structural toolkit to analyze EXAFS spectra

This article presents a Python-based program, DFT2FEFFIT, to regress theoretical extended X-ray absorption fine structure (EXAFS) spectra calculated from density functional theory structure models against experimental EXAFS spectra. To showcase its application, Ce-doped fluorapatite [Ca10(PO4)6F2] is revisited as a representative of a material difficult to analyze by conventional multi-shell least-squares fitting of EXAFS spectra. The software is open source and publicly available.




as

Operando pair distribution function analysis of nanocrystalline functional materials: the case of TiO2-bronze nanocrystals in Li-ion battery electrodes

Structural modelling of operando pair distribution function (PDF) data of complex functional materials can be highly challenging. To aid the understanding of complex operando PDF data, this article demonstrates a toolbox for PDF analysis. The tools include denoising using principal component analysis together with the structureMining, similarityMapping and nmfMapping apps available through the online service `PDF in the cloud' (PDFitc, https://pdfitc.org/). The toolbox is used for both ex situ and operando PDF data for 3 nm TiO2-bronze nanocrystals, which function as the active electrode material in a Li-ion battery. The tools enable structural modelling of the ex situ and operando PDF data, revealing two pristine TiO2 phases (bronze and anatase) and two lithiated LixTiO2 phases (lithiated versions of bronze and anatase), and the phase evolution during galvanostatic cycling is characterized.




as

Determining pair distribution functions of thin films using laboratory-based X-ray sources

This article demonstrates the feasibility of obtaining accurate pair distribution functions of thin amorphous films down to 80 nm, using modern laboratory-based X-ray sources. The pair distribution functions are obtained using a single diffraction scan without the requirement of additional scans of the substrate or of the air. By using a crystalline substrate combined with an oblique scattering geometry, most of the Bragg scattering of the substrate is avoided, rendering the substrate Compton scattering the primary contribution. By utilizing a discriminating energy filter, available in the latest generation of modern detectors, it is demonstrated that the Compton intensity can further be reduced to negligible levels at higher wavevector values. Scattering from the sample holder and the air is minimized by the systematic selection of pixels in the detector image based on the projected detection footprint of the sample and the use of a 3D-printed sample holder. Finally, X-ray optical effects in the absorption factors and the ratios between the Compton intensity of the substrate and film are taken into account by using a theoretical tool that simulates the electric field inside the film and the substrate, which aids in planning both the sample design and the measurement protocol.




as

Revealing nanoscale sorption mechanisms of gases in a highly porous silica aerogel

Geological formations provide a promising environment for the long-term and short-term storage of gases, including carbon dioxide, hydrogen and hydro­carbons, controlled by the rock-specific small-scale pore structure. This study investigates the nanoscale structure and gas uptake in a highly porous silica aerogel (a synthetic proxy for natural rocks) using transmission electron microscopy, X-ray diffraction, and small-angle and ultra-small-angle neutron scattering with a tracer of deuterated methane (CD4) at pressures up to 1000 bar. The results show that the adsorption of CD4 in the porous silica matrix is scale dependent. The pore space of the silica aerogel is fully accessible to the invading gas, which quickly equilibrates with the external pressure and shows no condensation on the sub-nanometre scale. In the 2.5–50 nm pore size region a classical two-phase adsorption behaviour is observed. The structure of the aerogel returns to its original state after the CD4 pressure has been released.




as

Ptychographic phase retrieval via a deep-learning-assisted iterative algorithm

Ptychography is a powerful computational imaging technique with microscopic imaging capability and adaptability to various specimens. To obtain an imaging result, it requires a phase-retrieval algorithm whose performance directly determines the imaging quality. Recently, deep neural network (DNN)-based phase retrieval has been proposed to improve the imaging quality from the ordinary model-based iterative algorithms. However, the DNN-based methods have some limitations because of the sensitivity to changes in experimental conditions and the difficulty of collecting enough measured specimen images for training the DNN. To overcome these limitations, a ptychographic phase-retrieval algorithm that combines model-based and DNN-based approaches is proposed. This method exploits a DNN-based denoiser to assist an iterative algorithm like ePIE in finding better reconstruction images. This combination of DNN and iterative algorithms allows the measurement model to be explicitly incorporated into the DNN-based approach, improving its robustness to changes in experimental conditions. Furthermore, to circumvent the difficulty of collecting the training data, it is proposed that the DNN-based denoiser be trained without using actual measured specimen images but using a formula-driven supervised approach that systemically generates synthetic images. In experiments using simulation based on a hard X-ray ptychographic measurement system, the imaging capability of the proposed method was evaluated by comparing it with ePIE and rPIE. These results demonstrated that the proposed method was able to reconstruct higher-spatial-resolution images with half the number of iterations required by ePIE and rPIE, even for data with low illumination intensity. Also, the proposed method was shown to be robust to its hyperparameters. In addition, the proposed method was applied to ptychographic datasets of a Simens star chart and ink toner particles measured at SPring-8 BL24XU, which confirmed that it can successfully reconstruct images from measurement scans with a lower overlap ratio of the illumination regions than is required by ePIE and rPIE.




as

Laboratory-based 3D X-ray standing-wave analysis of nanometre-scale gratings

The increasing structural complexity and downscaling of modern nanodevices require continuous development of structural characterization techniques that support R&D and manufacturing processes. This work explores the capability of laboratory characterization of periodic planar nanostructures using 3D X-ray standing waves as a promising method for reconstructing atomic profiles of planar nanostructures. The non-destructive nature of this metrology technique makes it highly versatile and particularly suitable for studying various types of samples. Moreover, it eliminates the need for additional sample preparation before use and can achieve sub-nanometre reconstruction resolution using widely available laboratory setups, as demonstrated on a diffractometer equipped with a microfocus X-ray tube with a copper anode.




as

Coordinate-based simulation of pair distance distribution functions for small and large molecular assemblies: implementation and applications

X-ray scattering has become a major tool in the structural characterization of nanoscale materials. Thanks to the widely available experimental and computational atomic models, coordinate-based X-ray scattering simulation has played a crucial role in data interpretation in the past two decades. However, simulation of real-space pair distance distribution functions (PDDFs) from small- and wide-angle X-ray scattering, SAXS/WAXS, has been relatively less exploited. This study presents a comparison of PDDF simulation methods, which are applied to molecular structures that range in size from β-cyclo­dextrin [1 kDa molecular weight (MW), 66 non-hydrogen atoms] to the satellite tobacco mosaic virus capsid (1.1 MDa MW, 81 960 non-hydrogen atoms). The results demonstrate the power of interpretation of experimental SAXS/WAXS from the real-space view, particularly by providing a more intuitive method for understanding of partial structure contributions. Furthermore, the computational efficiency of PDDF simulation algorithms makes them attractive as approaches for the analysis of large nanoscale materials and biological assemblies. The simulation methods demonstrated in this article have been implemented in stand-alone software, SolX 3.0, which is available to download from https://12idb.xray.aps.anl.gov/solx.html.




as

The promise of GaAs 200 in small-angle neutron scattering for higher resolution

The Q resolution in Bonse–Hart double-crystal diffractometers is determined for a given Bragg angle by the value of the crystallographic structure factor. To date, the reflections Si 220 or Si 111 have been used exclusively in neutron scattering, which provide resolutions for triple-bounce crystals of about 2 × 10−5 Å−1 (FWHM). The Darwin width of the GaAs 200 reflection is about a factor of 10 smaller, offering the possibility of a Q resolution of 2 × 10−6 Å−1 provided crystals of sufficient quality are available. This article reports a feasibility study with single-bounce GaAs 200, yielding a Q resolution of 4.6 × 10−6 Å−1, six times superior in comparison with a Si 220 setup.




as

Towards dynamically configured databases for CIFs: the new modulated structures open database at the Bilbao Crystallographic Server

This article presents a web-based framework to build a database without in-depth programming knowledge given a set of CIF dictionaries and a collection of CIFs. The framework consists of two main elements: the public site that displays the information contained in the CIFs in an ordered manner, and the restricted administrative site which defines how that information is stored, processed and, eventually, displayed. Thus, the web application allows users to easily explore, filter and access the data, download the original CIFs, and visualize the structures via JSmol. The modulated structures open database B-IncStrDB, the official International Union of Crystallography repository for this type of material and available through the Bilbao Crystallographic Server, has been re-implemented following the proposed framework.




as

Measurable structure factors of dense dispersions containing polydisperse optically inhomogeneous particles

Here, it is investigated how optical properties of single scatterers in interacting multi-particle systems influence measurable structure factors. Both particles with linear gradients of their scattering length density and core–shell structures evoke characteristic deviations between the weighted sum 〈S(Q)〉 of partial structure factors in a multi-component system and experimentally accessible measurable structure factors SM(Q). While 〈S(Q)〉 contains only the structural information of self-organizing systems, SM(Q) is additionally influenced by the optical properties of their constituents, resulting in features such as changing amplitudes, additional peaks in the low-wavevector region or splitting of higher-order maxima, which are not related to structural reasons. It is shown that these effects can be systematically categorized according to the qualitative behaviour of the form factor in the Guinier region, which enables assessing the suitability of experimentally obtained structure factors to genuinely represent the microstructure of complex systems free from any particular model assumption. Hence, a careful data analysis regarding size distribution and optical properties of single scatterers is mandatory to avoid a misinterpretation of measurable structure factors.




as

X-ray-based technologies in emerging fuel cell research

The workshop titled `X-ray-based technologies in emerging fuel cell research', organized by Vivian Stojanoff from Brookhaven National Laboratory (BNL) and Narayanasami Sukumar from Cornell University/Advanced Photon Source-Northeastern Collaborative Access Team, was a notable segment of the National Synchrotron Light Source II and Center for Functional Nanomaterials Users' Meeting held 13–17 May 2024. This one-day event, on 13 May 2024, at BNL in New York, aimed to bring together researchers, beamline scientists, management and developers to propel fuel cell technology forward using model systems inspired by natural photosynthesis and redox enzymes. This summary encapsulates the key discussions, advancements and future implications of the workshop.




as

Deconstructing 3D growth rates from transmission microscopy images of facetted crystals as captured in situ within supersaturated aqueous solutions

Here, a morphologically based approach is used for the in situ characterization of 3D growth rates of facetted crystals from the solution phase. Crystal images of single crystals of the β-form of l-glutamic acid are captured in situ during their growth at a relative supersaturation of 1.05 using transmission optical microscopy. The crystal growth rates estimated for both the {101} capping and {021} prismatic faces through image processing are consistent with those determined using reflection light mode [Jiang, Ma, Hazlehurst, Ilett, Jackson, Hogg & Roberts (2024). Cryst. Growth Des. 24, 3277–3288]. The growth rate in the {010} face is, for the first time, estimated from the shadow widths of the {021} prismatic faces and found to be typically about half that of the {021} prismatic faces. Analysis of the 3D shape during growth reveals that the initial needle-like crystal morphology develops during the growth process to become more tabular, associated with the Zingg factor evolving from 2.9 to 1.7 (>1). The change in relative solution supersaturation during the growth process is estimated from calculations of the crystal volume, offering an alternative approach to determine this dynamically from visual observations.




as

Pinhole small-angle neutron scattering based approach for desmearing slit ultra-small-angle neutron scattering data

Presented here is an effective approach to desmearing slit ultra-small-angle neutron scattering (USANS) data, based on complementary small-angle neutron scattering (SANS) measurements, leading to a seamless merging of these data sets. The study focuses on the methodological aspects of desmearing USANS data, which can then be presented in the conventional manner of SANS, enabling a broader pool of data analysis methods. The key innovation lies in the use of smeared SANS data for extrapolating slit USANS, offering a self-consistent integrand function for desmearing with Lake's iterative method. The proposed approach is validated through experimental data on porous anodized aluminium oxide membranes, showcasing its applicability and benefits. The findings emphasize the importance of accurate desmearing for merging USANS and SANS data in the crossover q region, which is particularly crucial for complex scattering patterns.




as

In situ/operando method for energy stability measurement of synchrotron radiation

A novel in situ/operando method is introduced to measure the photon beam stability of synchrotron radiation based on orthogonal diffraction imaging of a Laue crystal/analyzer, which can decouple the energy/wavelength and Bragg angle of the photon beam using the dispersion effect in the diffraction process. The method was used to measure the energy jitter and drift of the photon beam on BL09B and BL16U at the Shanghai Synchrotron Radiation Facility. The experimental results show that this method can provide a fast way to measure the beam stability of different light sources including bending magnet and undulator with meV-level energy resolution and ms-level time response.




as

High-transmission spectrometer for rapid resonant inelastic soft X-ray scattering (rRIXS) maps

The design and first results of a high-transmission soft X-ray spectrometer operated at the X-SPEC double-undulator beamline of the KIT Light Source are presented. As a unique feature, particular emphasis was placed on optimizing the spectrometer transmission by maximizing the solid angle and the efficiencies of spectrometer gratings and detector. A CMOS detector, optimized for soft X-rays, allows for quantum efficiencies of 90% or above over the full energy range of the spectrometer, while simultaneously offering short readout times. Combining an optimized control system at the X-SPEC beamline with continuous energy scans (as opposed to step scans), the high transmission of the spectrometer, and the fast readout of the CMOS camera, enable the collection of entire rapid resonant inelastic soft X-ray scattering maps in less than 1 min. Series of spectra at a fixed energy can be taken with a frequency of up to 5 Hz. Furthermore, the use of higher-order reflections allows a very wide energy range (45 to 2000 eV) to be covered with only two blazed gratings, while keeping the efficiency high and the resolving power E/ΔE above 1500 and 3000 with low- and high-energy gratings, respectively.