research papers\(\def\hfill{\hskip 5em}\def\hfil{\hskip 3em}\def\eqno#1{\hfil {#1}}\)

Journal logoJOURNAL OF
APPLIED
CRYSTALLOGRAPHY
ISSN: 1600-5767

Desmearing small-angle scattering data by central moment expansions of instrument resolution

crossmark logo

aDepartment of Engineering and System Science, National Tsing Hua University, Hsinchu 30013, Taiwan, bPhysics Division, National Center for Theoretical Sciences, Taipei 10617, Taiwan, cInstitut Laue–Langevin, BP 156, F-38042 Grenoble Cedex 9, France, dMaterials Science and Technology Division, Oak Ridge National Laboratory, Oak Ridge, TN 37831, USA, eNeutron Technologies Division, Oak Ridge National Laboratory, Oak Ridge, TN 37831, USA, and fNeutron Scattering Division, Oak Ridge National Laboratory, Oak Ridge, TN 37831, USA
*Correspondence e-mail: [email protected], [email protected]

Edited by E. P. Gilbert, Australian Centre for Neutron Scattering, ANSTO, Australia (Received 24 November 2024; accepted 9 May 2025; online 20 June 2025)

This article is part of a collection of articles related to the 19th International Small-Angle Scattering Conference (SAS2024) in Taipei, Taiwan.

This study introduces an enhanced numerical technique tailored specifically for refining 1D small-angle scattering (SAS) intensity profiles affected by smearing. Our primary objective is to address the resolution blurring commonly encountered in SAS data, particularly in systems with clearly defined correlation peaks whose spread aligns with the width of the resolution function at corresponding Q positions. Unlike previous approaches that expanded the SAS intensity using central moment expansion, the new method focuses on expanding the resolution function itself, thus eliminating artificial oscillations observed in smeared spectra due to limitations inherent in our earlier algorithm. This method is straightforward to implement, computationally efficient and consistently performs well in numerical benchmarking. To illustrate its effectiveness, we present a case study of a lamellar phase characterized by distinct peaks in its small-angle neutron scattering intensities.

1. Introduction

The intensity profiles of small-angle scattering (SAS) of neutrons and X-rays are smeared by the finite resolution of instruments, such as the finite beam size and finite angular spread. The smearing often hinders quantitative structural analyses. To obtain smearing-free data from radially averaged, 1D SAS data I(Q), various desmearing approaches have been developed; these include polynomial approximations, spline interpolations (Taylor & Schmidt, 1967[Taylor, T. R. & Schmidt, P. W. (1967). Acta Phys. Austr. 25, 293-296.]; Schelten & Hossfeld, 1971[Schelten, J. & Hossfeld, F. (1971). J. Appl. Cryst. 4, 210-223.]), basis expansion approaches (Hossfeld, 1968[Hossfeld, F. (1968). Acta Cryst. A24, 643-650.]; Vonk, 1971[Vonk, C. G. (1971). J. Appl. Cryst. 4, 340-342.]), regularization techniques (Svergun et al., 1988[Svergun, D. I., Semenyuk, A. V. & Feigin, L. A. (1988). Acta Cryst. A44, 244-250.]) and 2D fast Fourier transform methods (Jaksch et al., 2021[Jaksch, S., Pipich, V. & Frielinghaus, H. (2021). J. Appl. Cryst. 54, 1580-1593.]).

We have recently introduced a numerical algorithm rooted in the mathematical framework of central moment expansion (CME) (Huang et al., 2023[Huang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537-1543.]). This approach is mathematically equivalent to the unfolding series (Sauder, 1966[Sauder, W. C. (1966). J. Appl. Phys. 37, 1495-1507.]). Through computational benchmarking, we have demonstrated the effectiveness of this approach in maintaining numerical consistency in desmeared data when compared with existing deconvolution techniques. Our method has been integrated into the GRASP package (Dewhurst, 2023[Dewhurst, C. D. (2023). J. Appl. Cryst. 56, 1595-1609. ]) for the analysis and reduction of small-angle neutron scattering (SANS) data acquired from instruments at the Institut Laue–Langevin (ILL).

After thorough testing of our methodology, it became apparent that the CME approach introduces spurious features into the desmeared I(Q). Specifically, when applied to deconvolute experimentally measured I(Q) from highly ordered systems exhibiting sharp correlation peaks, artificial oscillations manifest alongside these peaks, as detailed below. These artificial features result from the sharpness of the correlation peaks, whose width is comparable to that of the instrumental resolution function.

The objective of this report is to address this issue by modifying the target function for expansion. We propose expanding the resolution function around the sharp peak of the experimentally measured intensities, rather than expanding the ground-truth intensity. This adjustment effectively mitigates the aforementioned problem. We have validated the numerical accuracy of this approach through computational benchmarking and confirmed its practical viability by desmearing the SANS intensity of aqueous solutions of Aerosol OT, a well studied lamellar system (Petrov et al., 2002[Petrov, P. G., Ahir, S. V. & Terentjev, E. M. (2002). Langmuir 18, 9133-9139.]) characterized by multiple distinct correlation peaks in I(Q).

In the following section, we offer a detailed exposition of the proposed methodology, elucidating its mathematical aspects.

2. Method

The experimentally measured scattering intensity profile, [I_{\rm exp}(Q)], is expressed as

[I_{\rm exp}(Q) = \int\,{\rm d}x\ I(x)R(Q-x).\eqno(1)]

Here, I(Q) represents the scattering cross section without instrument smearing, and R(Q) is the instrument resolution function.

Equation (1[link]) indicates that, as I(Q) approaches a Dirac delta function, [I_{\rm exp}(Q)] tends to approximate [R(Q-Q_{\rm m})]. In Fig. 1[link], the green line represents the fixed resolution [R(Q-Q_{\rm m})], where [Q_{\rm m}] denotes the peak position of [I_{\rm exp}(Q)]. Enhancing the sharpness of [I({{Q} / {Q_{\rm m}}})], shown by the black dashed line, leads to [I_{\rm exp}({{Q} / {Q_{\rm m}}})] (illustrated by the black solid line) progressively resembling [R(Q-Q_{\rm m})].

[Figure 1]
Figure 1
A comparison of the smeared [I_{\rm exp}(Q)] (depicted by black curves), obtained through the convolution of resolution-free scattering intensity I(Q) (represented by black dashed curves) and resolution function [R(Q-Q_{\rm m})] (shown as green curves), characterized by the peak width [\sigma_{Q} = 2.24\times 10^{-2}Q_{\rm m}]. Here, [Q_{\rm m}] represents the maximum position of [I_{\rm exp}(Q)], and the peak widths of I(Q) are [\sigma_{Q}/1.25], [\sigma_{Q}/1.45], [\sigma_{Q}/1.65] and [\sigma_{Q}/1.85] in panels (a), (b), (c) and (d), respectively.

Therefore, if [I_{\rm exp}(Q_{\rm m})] possesses a peak width that is sufficiently small compared with that of [R(Q_{\rm m})], expanding the instrument resolution function by CME at [Q = Q_{\rm m}] results in the following expression:

[R(Q-x) = \sum_{n = 0}^{\infty}{{(-1)^{n}(x-Q_{\rm m})^{n}} \over {n!}}R^{(n) }(Q-Q_{\rm m}).\eqno(2)]

Substituting equation (2[link]) into equation (1[link]) produces a linear combination of central moments of I(x) around [x = Q_{\rm m}]:

[I_{\rm exp}(Q) = N\sum_{n = 0}^{\infty}{{(-\mu_{n})^{n}} \over {n!}}R^{(n)}(Q-Q_{\rm m}),\eqno(3)]

where [N = \int\, {\rm d}x\ I(x)] and [\mu_{n}] represents the nth central moment defined by the following expression:

[\mu_{n} = {{1} \over {N}}\int \,{\rm d}x\ I(x)(x-Q_{\rm m})^{n}.\eqno(4)]

In Fig. 2[link], we compare [I_{\rm exp}(Q)] with the summation of various terms outlined in equation (3[link]), where [\mu_{0} = 1]. Here, IRn(Q) denotes the outcome of summing the initial n terms, with the subscript R signifying that the CME is conducted over the resolution function R(Q). When I(Q) is sufficiently sharp, the first four central moments – mean, variance, skewness and kurtosis – are typically sufficient to reconstruct [I_{\rm exp}(Q)]. In such cases, the maximum of I(Q) is highly localized, and contributions from its long-tail distribution are negligible. Therefore, higher-order terms in the CME of equation (1[link]) can be omitted without compromising accuracy. For broader scattering profiles, where the variation in I(Q) with respect to Q is slower than that of the resolution function R(Q), the inclusion of higher-order terms becomes necessary. Under these conditions, the previous CME method (Huang et al., 2023[Huang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537-1543.]), which expands in terms of the central moments of R(Q), is expected to yield more accurate desmearing results. According to this rationale, [I_{\rm exp}(Q)] can be expressed as

[I_{\rm exp}(Q)\sim N\sum_{n = 0}^{4}{{(-\mu_{n})^{n}} \over {n!}}R^{(n)}(Q -Q_{\rm m}) = I_{R}^{4}(Q).\eqno(5)]

Equation (5[link]) provides the mathematical framework for implementing the desmearing of [I_{\rm exp}(Q)]. The initial step involves performing regression analysis on [I_{\rm exp}(Q)] using equation (5[link]) to determine the numerical values of N and [\mu_{n}]. Extracted values of N and [\mu_{n}] are used as inputs in equation (4[link]) to reconstruct I(Q) via the principle of maximum probabilistic entropy (Kardar, 2007[Kardar, M. (2007). Statistical physics of particles. Cambridge University Press.]). In this approach, the information entropy S is defined by the following integral:

[S = -{{1} \over {N}}\int\,{\rm d}Q\ I(Q)\ln{I(Q)}.\eqno(6)]

Subject to the constraint outlined in equation (4[link]), one viable strategy for maximizing S involves using the method of Lagrange multipliers (Wylie & Barrett, 1995[Wylie, C. R. & Barrett, L. C. (1995). Advanced engineering mathematics. New York: McGraw-Hill.]). This approach yields the following analytical equations for I(Q):

[I(Q) = \exp{\left[\sum_{n}\lambda_{n}(Q-Q_{\rm m})^{n}\right]},\eqno(7)]

where [\lambda_{n}] are constants and can be determined by equation (4[link]). Using the maximum probabilistic entropy approach with the first three central moments results in a Gaussian function. Moreover, incorporating higher-order central moments effectively addresses the skewness and kurtosis of I(Q). The key difference between the present method and our previous approach (Huang et al., 2023[Huang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537-1543.]) lies in the choice of the expansion function from equation (1[link]) to equation (7[link]). Specifically, the current method expands equation (1[link]) using the central moments of the scattering intensity, whereas the previous method employed the central moments of the resolution function R(Q). This modification is more suitable when the scattering profile is localized with insignificant long tails and sharper than the resolution function. Moreover, the present method exhibits reduced sensitivity to noise amplification, as it avoids the use of the second derivative of the experimentally measured I(Q) required in the previous approach. While the two formulations are mathematically equivalent, their applicability depends on the relative sharpness of the scattering intensity and the resolution function.

[Figure 2]
Figure 2
A comparison of smeared [I_{\rm exp}(Q)] (shown as black curves), two-term CME IR2(Q) (represented by circles), three-term CME IR3(Q) (depicted as crosses) and four-term CME IR4(Q) (marked by triangles) for the corresponding I(Q) and [R(Q-Q_{\rm m})] in Fig. 1[link].

A numerical benchmarking was conducted to assess the feasibility of the desmearing algorithm that combines CME and maximum entropy, as shown in Fig. 3[link]. When employing the same resolution function [R(Q-Q_{\rm m})], the scattering intensity obtained from the CME of I(Q), denoted as II(Q), exhibits artificial oscillations around both sides of the correlation peaks at [{{Q} / {Q_{\rm m}}}\sim 0.9] and [{{Q} / {Q_{\rm m}}}\sim 1.1]. Additionally, the desmeared correlation peak appears less well defined, with [I_{I}({{Q} / {Q_{\rm m}}})] observed to be lower and the width broader compared with [I({{Q} / {Q_{\rm m}}})]. We identified that the cause of this numerical artifact is the faster rate of change of I(Q) with respect to Q, compared with that of R(Q).

[Figure 3]
Figure 3
A comparison of various scattering intensities: smeared [I_{\rm exp}(Q)] (depicted by black curves), resolution function (green curves), resolution-free scattering intensity I(Q) (shown as black dashed curves), and desmeared intensities IR2(Q) (indicated by red circles) and IR4(Q) (represented by red triangles), using central moment values extracted in Fig. 2[link]. IR2(Q) and IR4(Q) denote the reconstructed scattering intensities using the maximum entropy approach with two- and four-term central moments. Additionally, II(Q) (marked as blue crosses) represents the reconstructed scattering intensity obtained from our previously reported desmeared algorithm (Huang et al., 2023[Huang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537-1543.]). The insets in panels (a)–(d) show magnified views of the scattering profiles near the inter-particle correlation peaks, providing visual evidence of artificial oscillation behavior.

3. Assessing the feasibility of desmearing experimental data

To validate the viability of our proposed desmearing method, we conducted SANS on a well studied lyotropic system: sodium dioctyl sulfosuccinate, commonly known as AOT, sourced from Thermo Scientific. Aqueous solutions of AOT with varying weight concentrations of 40% and 50% were prepared by dissolving AOT powders in deuterium oxide (D2O) procured from Sigma Aldrich, ensuring a deuteration degree of at least 99.9%. These solutions were continuously stirred under standard environmental conditions for approximately 4 h, resulting in optically transparent solutions. Notably, the concentration range investigated has been previously identified as equilibrium lamellar phases (Petrov et al., 2002[Petrov, P. G., Ahir, S. V. & Terentjev, E. M. (2002). Langmuir 18, 9133-9139.]).

The SANS experiments were performed using the D22 large-dynamic-range small-angle diffractometer at the ILL, with the following instrument parameters: beam size of 7 mm × 10 mm, collimation length of 17.6 m, and triangular-shaped pixel dimensions of 8 mm × 4 mm along the horizontal and vertical directions, respectively. To achieve comprehensive coverage of the essential Q range from 0.001 to 0.5 Å−1, where coherent neutron scattering was observed, two wavelengths of 6 and 11.5 Å, with a wavelength spread of 10% FWHM, were used. The AOT aqueous solutions were contained in Hellma banjo cells with a path length of 1 mm. The measurements were carried out at two temperatures of 50 and 80°C.

Fig. 4[link] presents the experimentally measured SANS intensity [I_{\rm exp}(Q)] (depicted by black curves), juxtaposed with II(Q) (represented by blue symbols) and IR(Q) (represented by red symbols). Notably, the artificial oscillations previously reported in II(Q) (Tung et al., 2024[Tung, C. H., Hsiao, Y. J., Chen, H. L., Huang, G. R., Porcar, L., Chang, M. C., Carrillo, J. M., Wang, Y., Sumpter, B. G., Shinohara, Y., Taylor, J., Do, C. & Chen, W. R. (2024). J. Colloid Interface Sci. 659, 739-750.]) are no longer discernible in IR(Q). Moreover, except for the Q range from 0.15 to 0.2 Å−1, where the peak width of I(Q) is comparable to that of R(Q), IR(Q) is set to be identical to II(Q). This decision is informed by the small standard deviation of R(Q) compared with that of I(Q), and the absence of artificial oscillations in II(Q).

[Figure 4]
Figure 4
The SANS intensities of AOT molecules immersed in fully deuterated water with concentration 40 wt% at 50°C (a) and 80°C (b), and with concentration 50 wt% at 50°C (c) and 80°C (d). Panel (e) shows the standard deviation [\sigma_{Q}(Q)] of the resolution function R(Q) as a function of Q for the cases presented in panels (a)–(d). Since the [\sigma_{Q}(Q)] curves are nearly identical, the values corresponding to panels (b), (c) and (d) are vertically offset by 0.002, 0.004 and 0.006 Å−1, respectively, to facilitate visual comparison. The insets in panels (a)–(d) show magnified views of the scattering profiles near the inter-particle correlation peaks, providing visual evidence of artificial oscillation behavior. [I_{\rm exp}(Q)] represents the experimentally measured scattering intensity, II(Q) stands for the corresponding desmeared data using the previously developed CME method, and IR(Q) is the desmeared intensity using the maximum entropy approach with four-term central moments. For Q values outside the range of 0.15 to 0.2 Å−1, IR(Q) is set to be equal to II(Q).

4. Conclusion

This study introduces a numerical algorithm designed to address the impact of instrument resolution on SANS data. It represents a conceptual extension of our previously developed desmearing algorithm (Huang et al., 2023[Huang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537-1543.]). Both algorithms utilize the central moment expansion scheme to extract relevant parameters, albeit from different target functions. In particular, the present method focuses on scenarios where correlation peaks exhibit a width comparable with that of the instrument resolution function. Computational benchmarking confirms the numerical accuracy of the approach, and its practical feasibility is demonstrated through application to a series of SANS intensity profiles from lamellar solutions featuring sharp correlation peaks.

Looking ahead, the proposed framework is mathematically extendable to the desmearing of higher-dimensional scattering data by applying the central moment expansion along multiple directions in reciprocal space. Moreover, the method is well suited for integration into widely used small-angle scattering analysis platforms, such as SASView (https://www.sasview.org/), GRASP (ILL) and user environments like the Galaxy platform (https://galaxyproject.org/) used at Oak Ridge National Laboratory. Such integration could enhance the accessibility of the method and promote its broader adoption within the small-angle scattering community.

Acknowledgements

We would like to thank ILL for the provision of beam time on the D22 SANS instrument.

Funding information

This research was sponsored by the Laboratory Directed Research and Development Program of Oak Ridge National Laboratory, managed by UT-Battelle, LLC, for the US Department of Energy (DOE). A portion of this research used resources at the Spallation Neutron Source, a DOE Office of Science User Facility operated by the Oak Ridge National Laboratory. GRH is supported by the National Science and Technology Council (NSTC) in Taiwan under grant Nos. NSTC 111-2112-M-110-021-MY3 and NSTC 113-2112-M-029-007. YS was supported by the DOE, Office of Science, Office of Basic Energy Sciences, Materials Science and Engineering Division, under contract No. DE-AC05-00OR22725.

References

First citationDewhurst, C. D. (2023). J. Appl. Cryst. 56, 1595–1609.   CrossRef CAS IUCr Journals Google Scholar
First citationHossfeld, F. (1968). Acta Cryst. A24, 643–650.  CrossRef IUCr Journals Web of Science Google Scholar
First citationHuang, G.-R., Tung, C.-H., Chen, M.-Z., Porcar, L., Shinohara, Y., Wildgruber, C. U., Do, C. & Chen, W.-R. (2023). J. Appl. Cryst. 56, 1537–1543.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationJaksch, S., Pipich, V. & Frielinghaus, H. (2021). J. Appl. Cryst. 54, 1580–1593.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationKardar, M. (2007). Statistical physics of particles. Cambridge University Press.  Google Scholar
First citationPetrov, P. G., Ahir, S. V. & Terentjev, E. M. (2002). Langmuir 18, 9133–9139.  CAS Google Scholar
First citationSauder, W. C. (1966). J. Appl. Phys. 37, 1495–1507.  CrossRef Google Scholar
First citationSchelten, J. & Hossfeld, F. (1971). J. Appl. Cryst. 4, 210–223.  CrossRef IUCr Journals Web of Science Google Scholar
First citationSvergun, D. I., Semenyuk, A. V. & Feigin, L. A. (1988). Acta Cryst. A44, 244–250.  CrossRef Web of Science IUCr Journals Google Scholar
First citationTaylor, T. R. & Schmidt, P. W. (1967). Acta Phys. Austr. 25, 293–296.  Google Scholar
First citationTung, C. H., Hsiao, Y. J., Chen, H. L., Huang, G. R., Porcar, L., Chang, M. C., Carrillo, J. M., Wang, Y., Sumpter, B. G., Shinohara, Y., Taylor, J., Do, C. & Chen, W. R. (2024). J. Colloid Interface Sci. 659, 739–750.  CrossRef CAS PubMed Google Scholar
First citationVonk, C. G. (1971). J. Appl. Cryst. 4, 340–342.  CrossRef CAS IUCr Journals Web of Science Google Scholar
First citationWylie, C. R. & Barrett, L. C. (1995). Advanced engineering mathematics. New York: McGraw-Hill.  Google Scholar

This is an open-access article distributed under the terms of the Creative Commons Attribution (CC-BY) Licence, which permits unrestricted use, distribution, and reproduction in any medium, provided the original authors and source are cited.

Journal logoJOURNAL OF
APPLIED
CRYSTALLOGRAPHY
ISSN: 1600-5767
Follow J. Appl. Cryst.
Sign up for e-alerts
Follow J. Appl. Cryst. on Twitter
Follow us on facebook
Sign up for RSS feeds