|
International
Tables for Crystallography Volume I X-ray absorption spectroscopy and related techniques Edited by C. T. Chantler, F. Boscherini and B. Bunker © International Union of Crystallography 2024 |
International Tables for Crystallography (2024). Vol. I. ch. 6.15, pp. 799-803
https://doi.org/10.1107/S1574870720003419 Chapter 6.15. Multiplatform Applications for XAFS (MAX)aICMPE, UMR7182, UPEC–CNRS, 2–8 Rue Henri Dunant, 94320 Thiais, France Multiplatform Applications for XAFS (MAX) is a multiplatform (Windows, MacOS and Linux) set of standalone applications dedicated to most aspects of XAFS experiment preparation and spectral data analysis. ABSORBIX deals with absorbance calculations at any X-ray energy and fluorescence self-absorption correction. CHEROKEE allows EXAFS extraction and XANES normalization from raw data. CRYSTALFFREV links any crystallographic structure to FEFF input files. EXAFS nonlinear fitting is performed by ROUNDMIDNIGHT and chemometric aspects are treated by STRAIGHTNOCHASER. Normalization of X-ray magnetic circular-dichroism spectra is performed with SOS_XMCD. Keywords: XAFS data analysis; software. |
Multiplatform Applications for XAFS (MAX) is a set of six standalone applications covering almost all aspects of XAFS experiment preparation and data analysis (Michalowicz et al., 2009
, 2013
). ABSORBIX deals with X-ray absorbance and fluorescence tables, absorbance calculation at any X-ray energy and fluorescence self-absorption correction. CHEROKEE allows EXAFS extraction, Fourier analysis and XANES normalization from raw data. CRYSTALFFREV links crystallographic structures to FEFF input files. EXAFS nonlinear fits are performed by ROUNDMIDNIGHT and linear chemometric aspects are treated by STRAIGHTNOCHASER. Normalization of X-ray magnetic circular-dichroism (XMCD) spectra is performed with SOS_XMCD.
Most of the codes, including numerical calculations and the user interface (commands, graphical and file facilities), are written in the multiplatform script language Livecode (https://livecode.com/
), which allows the simultaneous creation of standalone applications for Windows, MacOS and Linux from a unique code on a unique platform. The user interfaces are automatically adapted to each operating system, while the functions are strictly identical. One exception is ROUNDMIDNIGHT, which is composed of two applications, a user interface written in Livecode and a fitting procedure based on the CERN minimization code MINUIT (James & Roos, 1975
), which is kept in its original Fortran language and compiled separately on each platform.
MAX is freely downloadable from the Institute of Chemistry and Materials Paris East (ICMPE) website (Michalowicz, 2017
) and is easy to install: just download, unzip and run. Its main advantages are (i) it is totally standalone and (ii) the user's file management and the graphical and printing facilities follow the standards of each computer operating system. MAX is provided with a series of example files. Printable Help windows, including XAFS data-analysis principles, mathematical explanations and user manuals, are included in the code.
X-ray absorption edges, fluorescence lines and mass attenuation coefficients are based on McMaster's tables (McMaster et al., 1970
) as compiled in a Livecode version of Mucal (P. Bandyopadhyay & C. U. Segre; http://csrri.iit.edu/mucal.html
).
ABSORBIX provides the following.
(i) A search of X-ray absorption edges and fluorescence lines for any energy range.
(ii) X-ray absorbance values and plots, sample concentrations and thickness optimization for X-ray absorption experiments. Sample chemical composition is entered via an interactive X-ray periodic table. Total absorbance is evaluated versus the absorption jump, the sample mass/surface, the thickness or the sample concentration for solid and liquid dilute samples, taking the solvent characteristics into account.
(iii) Normalized fluorescence XANES or EXAFS spectra self-absorption correction using the nonlinear equations of Haskel (1999
) and Booth & Bridges (2005
), respectively, solved using Brent's numerical equation root solver algorithm (Brent, 1973
), without any absorption-length linear approximation.
This application contains all of the procedures for a complete treatment of X-ray absorption spectra to obtain EXAFS and XANES spectra for further analysis.
(i) Energy recalibration based on monochromator characteristics.
(ii) Edge-jump determination by extrapolation of the pre-edge and atomic backgrounds.
(iii) Atomic background determination by three different algorithms: polynomial least-squares fitting, cubic spline least-squares fitting and spline smoothing (de Boor, 1978
). We underline the advantages of manual access to different background-removal options, associated with a quantitative estimation of the systematic amplitude errors by Fourier analysis, in order to allow an easy switch to the most efficient algorithm in difficult cases where an unique automatic algorithm may be insufficient and lead to side effects.
(iv) Energy-dependent EXAFS normalization using either Lengeler–Eisenberger expansion (Lengeler & Eisenberger, 1980
) or McMaster's tables (McMaster et al., 1970
).
(v) Fourier transform and filtering, Fourier smoothing, signal-to-noise evaluation and residual background subtraction. Scattering phase and amplitude extraction by Fourier filtering from any EXAFS spectrum (experimental or theoretical).
(vi) Total absorbance or XANES normalization and calculation of derivatives.
CHEROKEE also provides many other functions, such as monochromator calibration, energy and k-space deglitching, and switchable automatic or manual step-by-step data treatments.
CHEROKEE is organized into two sections for the treatment of individual spectra and of series of spectra simultaneously.
CRYSTALFFREV is a crystallographic tool for the conversion of crystal structures into FEFF (Rehr & Albers, 2000
; Kas et al., 2024
) or FDMNES (Joly, 2001
; Bunău et al., 2024
) input files.
The structure can be created either by manually introducing the cell parameters, space group and asymmetric unit content, or input from a CIF or PDB file, and saved in CRYSTALFFREV, CIF or PDF format. All International Tables for Crystallography space groups (Hahn, 2002
) are available in a database and can be selected by name or number, imported, edited and checked. All International Tables for Crystallography origin choices and trigonal space-group descriptions (rhombohedral or hexagonal axes) can be used. It is also possible to enter nonconventional crystallographic symmetry operations.
A cluster is created by selecting the central absorbing atom and defining any cluster radius. It is possible to rotate the local cluster in order to choose the z axis (which is useful for axial ligand analysis of macrocycle metalloenzyme active sites). Disorder tools are available to deal with partial substitutions or vacancies through random generators, or to introduce random radial distribution functions for selected atoms (Gaussian distribution).
Finally, FEFF7, FEFF8/9 and FDMNES input files, including most control cards, can be directly edited in CRYSTALFFREV.
ROUNDMIDNIGHT is our EXAFS fitting program. The fit of theoretical versus experimental EXAFS is based on the standard multiple-scattering and spherical waves EXAFS formula as documented in the FEFF ab initio code (Rehr & Albers, 2000
; Kas et al., 2024
) and the general function minimization software MINUIT from the CERN computer library (James & Roos, 1975
).
ROUNDMIDNIGHT is totally compatible with FEFF, both in the fitting module and in the multiple-scattering paths analysis module. However, any other sources of scattering phase and amplitude functions can also be admitted. The empirical photoelectron mean free path curve can be fitted on model standards and used in place of, or in combination with, the FEFF reduction factor and calculated photoelectron mean free path in order to improve the EXAFS fit in the low-k (<3 Å−1) domain. In order to prevent correlations (Provost et al., 2013
), it is possible to fit individual or grouped scattering paths, and various options are proposed to constrain the coordination numbers (any linear combination is admitted), effective Debye–Waller factors (multiplier option), distances (distances differing by a fixed distance shift to deal with linear ligands) and Eo correction. A `batch' module is available in order to edit, run and analyse the results of multiple fits of input files associated with a constraints editor.
The fitting procedure follows the IXS Standard and Criteria Subcommittee definitions and recommendations (Sayers, 2000
) on statistical error estimation (either Student's statistics on several EXAFS recordings or Fourier noise-filtering methods), reduced Δχ2 (quality factor QF) calculated either in k- or R-space, parameter correlations and fitting convergence criteria, and F-test calculator (Michalowicz et al., 1999
).
STRAIGHTNOCHASER is dedicated to properly normalized XAFS spectral analysis of mixtures by statistical and linear algebra methods. Linear combination analysis (LCA) by linear least-squares fit (LSF) is used to determine the concentration profile of experimental spectra linearly composed of a known number of known standards (Bevington, 1969
; Press et al., 1997
). If the number of standards included in the experimental series is a priori unknown, principal component analysis (PCA) allows its evaluation, while target transformation (TT) can evaluate whether a standard is likely to be a component of the series (Klementiev, 2013
; Malinowski, 2002
; Manceau et al., 2014
; Ravel, 2016
; Ravel & Newville, 2005
; Ressler et al., 2000
; Wasserman et al., 1999
; Webb, 2005
). Multivariate curve resolution–alternating least squares (MCR-ALS) deals with time series of spectra where the number of standard components is known but the nature of these standards is partially unknown (Cassinelli et al., 2014
; de Juan et al., 2014
; Faro et al., 2011
; Jaumot et al., 2005
). It is particularly useful to recover the spectra of pure unknown intermediates mixed with other components in the series. Mathematically, the three methods are based on matrix singular values decomposition (SVD) and its applications, matrix pseudo-inversion, rank reduction and vector orthogonal projection (Press et al., 1997
). The help manual included in the software contains the user manual, and most of the mathematical definitions and more developed texts with mathematical developments and demonstrations are provided in the package.
The LCA module provides LSF solutions, standard spectra variance–covariance and correlation matrices, statistical errors on coefficients and quality of fit (QF or reduced Δχ2) evaluations (Press et al., 1997
). We systematically use the SVD pseudo-inversion since it has been proved to be equivalent to the classical LSF solution but to be much more efficient when standard spectra are correlated. The LCA module also produces the standard-components concentration profile of a series of spectra. The fits can be unconstrained or positive concentration constrained. We propose a search of the more likely standards representing series of experimental mixture spectra among a set of standard spectra by combinatory LCA with an original sorting `progressive' algorithm (Michalowicz et al., 2013
).
The PCA of an XAFS data matrix is used to determine the number of independent components and to separate the physical signal from noise (Klementiev, 2013
; Malinowski, 2002
; Manceau et al., 2014
; Ravel, 2016
; Ravel & Newville, 2005
; Ressler et al., 2000
; Wasserman et al., 1999
; Webb, 2005
). STRAIGHTNOCHASER provides the standard Malinowski's criteria (Malinowski, 2002
). We also propose a new original test: the reconstruction of the data matrix by LSF on the basis of the PCA abstract components and a QF() plot versus the data indexes, where
is the number of abstract components used in each plot (Fig. 1
). When the data matrix represents a smooth time evolution of the mixture, as in chemical reactions, the LSF of the data matrix can also be used in score plots of the components of LSF coefficients versus time. The time evolution of the coefficients corresponding to the principal components reflects the smooth evolution of the spectra, while the noisy nature of the components of lower singular values is clearly demonstrated (Fig. 2
). The PCA module also provides a tool for determination of the data noise level. The target-transformation (TT) method (Malinowski, 2002
) helps to test whether the spectrum of a standard is likely to be represented in the data matrix of experimental mixtures. In addition to TT, we also provide least-squares fitting of the standards on the principal components basis, which provides equivalent results more quickly. The goodness of the TT and LSF tests are evaluated by the statistical QF and the SPOIL factor.
MCR-ALS (de Juan et al., 2014
) is used to recover the spectra of a priori unknown intermediate compounds in a time-evolving mixture, even if these intermediates only appear as mixtures during the reaction and cannot be isolated directly in the data set. MCR-ALS provides both the calculated spectra of the pure components and the corresponding concentration profiles. While most previously published work was performed with graphical user interfaces linked to commercial mathematical software such as Matlab (Jaumot et al., 2005
), STRAIGHTNOCHASER in MAX is totally standalone and free. It provides all of the necessary tools to perform self-consistent cycles of MCR-ALS, alternating between LSF estimation of the concentration profile and the spectra basis. To reach convergence, after the choice of the number of pure real components and a first reasonable guess, the lack of spectral and concentration information is compensated by constraints: concentration non-negativity, closure (total concentration equal to 1), average edge jump equal to 1, null pre-edge, and beginning and end spectra optionally fixed. After convergence, the calculated spectra can be used as standards in other LCA studies or classically analysed for a XANES and EXAFS study of the local structures of the unknown intermediate species.
SOS_XMCD is dedicated to XMCD data analysis, providing treatment of both XAS and XMCD spectra in a unique tool. Any ASCII column-format data can be input, with energy entered as electronvolts, kiloelectronvolts or even pixels provided that the coefficients for calibration are known. SOS_XMCD XANES normalization proceeds as in CHEROKEE. XMCD baseline definition is based on polynomial regression, with the possibility of defining exclusion zones in the spectra. XMCD normalization directly uses the normalization coefficients defined in the XANES analysis. Simple tools for XANES and XMCD joint analysis are provided.
References
Bevington, P. (1969). Data Reduction and Error Analysis for Physical Sciences. New York: McGraw-Hill.Google Scholar
Boor, C. de (1978). A Practical Guide to Splines. New York: Springer-Verlag.Google Scholar
Booth, C. H. & Bridges, F. (2005). Phys. Scr. 2005, 202.Google Scholar
Brent, R. P. (1973). Algorithms for Minimization Without Derivatives. Englewood Cliffs: Prentice Hall.Google Scholar
Bunău, O., Ramos, A. Y. & Joly, Y. (2024). Int. Tables Crystallogr. I, ch. 6.6, 752–757
.Google Scholar
Cassinelli, W. H., Martins, L., Passos, A. R., Pulcinelli, S. H., Santilli, C. V., Rochet, A. & Briois, V. (2014). Catal. Today, 229, 114–122.Google Scholar
Faro, A. C., Rodrigues, V. O. & Eon, J.-G. (2011). J. Phys. Chem. C, 115, 4749–4756.Google Scholar
Hahn, T. (2002). International Tables for Crystallography, Vol. A, 5th ed., edited by Th. Hahn. Dordrecht: Kluwer Academic Publishers.Google Scholar
Haskel, D. (1999). FLUO: Correcting XANES for Self-absorption in Fluorescence Measurements. http://www.aps.anl.gov/~haskel/fluo.html
.Google Scholar
James, F. & Roos, M. (1975). Comput. Phys. Commun. 10, 343–367.Google Scholar
Jaumot, J., Gargallo, R., de Juan, A. & Tauler, R. (2005). Chemom. Intell. Lab. Syst. 76, 101–110.Google Scholar
Joly, Y. (2001). Phys. Rev. B, 63, 125120.Google Scholar
Juan, A. de, Jaumot, J. & Tauler, R. (2014). Anal. Methods, 6, 4964–4976.Google Scholar
Kas, J. J., Vila, F. D. & Rehr, J. J. (2024). Int. Tables Crystallogr. I, ch. 6.8, 764–769
.Google Scholar
Klementiev, K. (2013). XANES Dactyloscope. https://intranet.cells.es/Beamlines/CLAESS/software/xanda.html
.Google Scholar
Lengeler, B. & Eisenberger, P. (1980). Phys. Rev. B, 21, 4507–4520.Google Scholar
Malinowski, E. R. (2002). Factor Analysis in Chemistry, 3rd ed. New York: Wiley.Google Scholar
Manceau, A., Marcus, M. & Lenoir, T. (2014). J. Synchrotron Rad. 21, 1140–1147.Google Scholar
McMaster, W. H., Kerr Del Grande, N., Mallett, J. H. & Hubbell, J. H. (1970). At. Data Nucl. Data Tables, 8, 443–444.Google Scholar
Michalowicz, A. (2017). MAX. https://www.icmpe.cnrs.fr/en/laboratory/research-services/
.Google Scholar
Michalowicz, A., Moscovici, J., Bouvet-Muller, D. & Provost, K. (2009). J. Phys. Conf. Ser. 190, 012034.Google Scholar
Michalowicz, A., Moscovici, J., Muller-Bouvet, D. & Provost, K. (2013). J. Phys. Conf. Ser. 430, 012016.Google Scholar
Michalowicz, A., Provost, K., Laruelle, S., Mimouni, A. & Vlaic, G. (1999). J. Synchrotron Rad. 6, 233–235.Google Scholar
Press, W. H., Teukolsky, S. A., Vetterling, W. T. & Flannery, B. P. (1997). Numerical Recipes. Cambridge University Press.Google Scholar
Provost, K., Beret, E. C., Muller, D., Marcos, E. S. & Michalowicz, A. (2013). J. Phys. Conf. Ser. 430, 012015.Google Scholar
Ravel, B. (2016). Athena User's Guide. http://bruceravel.github.io/demeter/documents/Athena/index.html
.Google Scholar
Ravel, B. & Newville, M. (2005). J. Synchrotron Rad. 12, 537–541.Google Scholar
Rehr, J. J. & Albers, R. C. (2000). Rev. Mod. Phys. 72, 621–654.Google Scholar
Ressler, T., Wong, J., Roos, J. & Smith, I. L. (2000). Environ. Sci. Technol. 34, 950–958.Google Scholar
Sayers, D. E. (2000). Report of the International XAFS Society Standards and Criteria Committee. http://ixs.iit.edu/IXS/subcommittee_reports/sc/SC00report.pdf
.Google Scholar
Wasserman, S. R., Allen, P. G., Shuh, D. K., Bucher, J. J. & Edelstein, N. M. (1999). J. Synchrotron Rad. 6, 284–286.Google Scholar
Webb, S. M. (2005). Phys. Scr. 2005, 1011.Google Scholar