WinXAS: a Program for X-ray Absorption Spectroscopy Data Analysis under MS-Windows



Similar documents
Introduction to the EXAFS data analysis

ATHENA, ARTEMIS, HEPHAESTUS: data analysis for X-ray absorption spectroscopy using IFEFFIT

Fundamentals of modern UV-visible spectroscopy. Presentation Materials

Signal to Noise Instrumental Excel Assignment

Function Guide for the Fourier Transformation Package SPIRE-UOL-DOC

Structure Factors

Introduction to X-Ray Powder Diffraction Data Analysis

Jorge E. Fernández Laboratory of Montecuccolino (DIENCA), Alma Mater Studiorum University of Bologna, via dei Colli, 16, Bologna, Italy

EDA: EXAFS Data Analysis Software Package

Copyright 2007 Casa Software Ltd. ToF Mass Calibration

The KaleidaGraph Guide to Curve Fitting

Improved predictive modeling of white LEDs with accurate luminescence simulation and practical inputs

Preface Light Microscopy X-ray Diffraction Methods

International Year of Light 2015 Tech-Talks BREGENZ: Mehmet Arik Well-Being in Office Applications Light Measurement & Quality Parameters

The accurate calibration of all detectors is crucial for the subsequent data

Powder diffraction and synchrotron radiation

Longitudinal Relaxation Time (T 1 ) Measurement for 1 H on VnmrJ2.2D (use on Ra, Mut, and Isis)

Spherical Beam Volume Holograms Recorded in Reflection Geometry for Diffuse Source Spectroscopy

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

FTIR Instrumentation

Manual for simulation of EB processing. Software ModeRTL

Amptek Application Note XRF-1: XRF Spectra and Spectra Analysis Software By R.Redus, Chief Scientist, Amptek Inc, 2008.

Spectral distribution from end window X-ray tubes

Strategies for Developing Optimal Synchronous SIM-Scan Acquisition Methods AutoSIM/Scan Setup and Rapid SIM. Technical Overview.

NMR and IR spectra & vibrational analysis


Synchrotron Data Analysis Using XOP

Spectrophotometry and the Beer-Lambert Law: An Important Analytical Technique in Chemistry

High-Concentration Submicron Particle Size Distribution by Dynamic Light Scattering

Introduction to the analysis of EXAFS data

Measuring, Controlling and Regulating with labworldsoft

Experiment #5: Qualitative Absorption Spectroscopy

Tutorial on XRF Data Analysis

X-Ray Diffraction HOW IT WORKS WHAT IT CAN AND WHAT IT CANNOT TELL US. Hanno zur Loye

Period04 User Guide. Abstract. 1 Introduction. P. Lenz, M. Breger

Nuclear Science and Technology Division (94) Multigroup Cross Section and Cross Section Covariance Data Visualization with Javapeño

Application Note: Absorbance

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

Technical Information

SpecLine Offline Spectroscopy Analysis Software SPECLINE-P/SPECLINE-U. Installation and Operation Manual Document Number

Diffraction Course Series 2015

A Digital Spectrometer Approach to Obtaining Multiple Time-Resolved Gamma-Ray. Spectra for Pulsed Spectroscopy. W. K. Warburton a

Uses of Derivative Spectroscopy

Coating Thickness and Composition Analysis by Micro-EDXRF

Short Description Installation Starting Up Configuration. Generalized Postprocessor

Bragg Grating Simulation Software

1 st day Basic Training Course

Computer Creep System

Supporting Information

EDXRF of Used Automotive Catalytic Converters

Phase determination methods in macromolecular X- ray Crystallography

Mass Frontier Version 7.0

Analysis Programs DPDAK and DAWN

Guide to Understanding X-ray Crystallography

Gamma Distribution Fitting

The Fourier Analysis Tool in Microsoft Excel

Visualizing molecular simulations

MestRe-C User Guide Megan Bragg 04/14/05

Using NIST Search with Agilent MassHunter Qualitative Analysis Software James Little, Eastman Chemical Company Sept 20, 2012.

Research on the UHF RFID Channel Coding Technology based on Simulink

Automated Laboratory Quality Assurance Program: Using the ORTEC GammaVision -32 Software

C:\Users\<your_user_name>\AppData\Roaming\IEA\IDBAnalyzerV3

CALCULATION METHODS OF X-RAY SPECTRA: A COMPARATIVE STUDY

The evolution of DAVE

The software beyond the climatic. Environment simulation

MASCOT Search Results Interpretation

PROCESSOR CONFIGURATION SOFTWARE USER GUIDE

DYNAMIC LIGHT SCATTERING COMMON TERMS DEFINED

Accurate Measurement of the Mains Electricity Frequency

ADVANCED APPLICATIONS OF ELECTRICAL ENGINEERING

CREATING A CORPORATE BOND SPOT YIELD CURVE FOR PENSION DISCOUNTING DEPARTMENT OF THE TREASURY OFFICE OF ECONOMIC POLICY WHITE PAPER FEBRUARY 7, 2005

Introduction to Fourier Transform Infrared Spectrometry

RF Measurements Using a Modular Digitizer

SIMPLIFIED PERFORMANCE MODEL FOR HYBRID WIND DIESEL SYSTEMS. J. F. MANWELL, J. G. McGOWAN and U. ABDULWAHID

INSTRUCTOR WORKBOOK Quanser Robotics Package for Education for MATLAB /Simulink Users

International Journal of Computer Trends and Technology (IJCTT) volume 4 Issue 8 August 2013

Electron spectroscopy Lecture Kai M. Siegbahn ( ) Nobel Price 1981 High resolution Electron Spectroscopy

COMPLETE USER VISUALIZATION INTERFACE FOR KENO

EBERSPÄCHER ELECTRONICS automotive bus systems. solutions for network analysis

Calculation of Source-detector Solid Angle, Using Monte Carlo Method, for Radioactive Sources with Various Geometries and Cylindrical Detector

Data exploration with Microsoft Excel: analysing more than one variable

Pulsed Fourier Transform NMR The rotating frame of reference. The NMR Experiment. The Rotating Frame of Reference.

EXPERIMENT 11 UV/VIS Spectroscopy and Spectrophotometry: Spectrophotometric Analysis of Potassium Permanganate Solutions.

World-first Proton Pencil Beam Scanning System with FDA Clearance

Applying a circular load. Immediate and consolidation settlement. Deformed contours. Query points and query lines. Graph query.

EMC Publishing. Ontario Curriculum Computer and Information Science Grade 11

Algebra Academic Content Standards Grade Eight and Grade Nine Ohio. Grade Eight. Number, Number Sense and Operations Standard

The interaction of Cu(100)-Fe surfaces with oxygen studied with photoelectron spectroscopy. I

ALGORITHM FOR DETERMINING CONTROLLING PATH CONSIDERING RESOURCE CONTINUITY

How To Use A High Definition Oscilloscope

Calibration and Linear Regression Analysis: A Self-Guided Tutorial

FITMASTER Software for data review, analysis and fitting

How to Get More Value from Your Survey Data

Transcription:

118 J. Synchrotron Rad. (1998). 5, 118-122 WinXAS: a Program for X-ray Absorption Spectroscopy Data Analysis under MS-Windows T. Resslert Institut for Physikalische Chemic, Universit~t Hamburg, Bundesstrasse 45, D-20146 Hamburg, Germany. E-mail: ressler@vxdesy.desy.de (Received 8 August 1997; accepted 11 December 1997) WinXAS is a new X-ray absorption spectroscopy (XAS) data-analysis program. It runs under the operating system MS-Windows 95/NT and offers several unique features. It has a user-friendly graphical environment and is capable of reading a variety of data formats. It contains a number of useful numerical algorithms beyond those used in conventional XAS analysis and offers a simple interface to the ab-initio theoretical code FEFF. The availability of fast macros in WinXAS makes it particularly useful for on-line data examination at synchrotron radiation facilities during XAS experiments as well as for the analysis of multiple-scan data such as those from time-resolved experiments. Keywords: XAFS data analysis; FEFF; time-resolved studies; energy-dispersive XAS. 1. Introduction Regardless of the system under investigation, basically every XAS (X-ray absorption spectroscopy) data analysis begins with the visualization of experimental spectra and basic reduction steps such as energy calibration, glitch removal and background subtraction. Whereas instrumentation and theoretical developments have been considerably improved in the past few years, the availability of versatile graphical data-analysis programs that exceed the requirements of conventional XAS analysis does not seem to have caught up with this evolution. Furthermore, with standard XAS beamlines equipped with fast scanning options (Quick-EXAFS) or energy-dispersive XAS beamlines providing time resolution in the sub-second range, XAS is used in a growing number of time-resolved experiments and kinetic studies. Since the number of spectra measured during one multiple-scan experiment can amount to several hundred, such investigations demand data-reduction software prepared to cope with large data sets. This paper presents WinXAS, an XAFS data-analysis program for MS-Windows that combines a versatile and efficient graphical user interface with numerous XAS analysis capabilities, useful numerical subroutines, and automated analysis features for multiple-scan data. In the following, the numerical procedures and graphical routines that comprise the basic modules of WinXAS are described. 2. System requirements WinXAS runs under the 32-bit operating system Microsoft Windows 95/NT on IBM-compatible personal computers t Current address: Lawrence Livermore National Laboratory, University of California, PO Box 808, L-369 Livcrmore, CA 94551, USA. ~13 1998 International Union of Crystallography Printed in Great Britain - all rights reserved (PC). A Pentium 100 MHz processor (or comparable), 16 Mbytes RAM and SVGA monitor resolution are recommended as a minimal configuration for fast data analysis. Owing to general MS-Windows features, the appearance of most Windows programs is similar with respect to their basic functions, and getting started with WinXAS should be simple even for novice users. A PC mouse is used to select single menu entries, to input values directly from several dialog boxes, and to change XAFS function parameters interactively. Information about the latest WinXAS version as well as how to register can be obtained from the World Wide Web (http://ourworld.compuserve.com/homepages/t_ressler). The program is distributed together with on-line help, a manual in postscript format, and a graphical visualization program for molecules and clusters (RasMol; Sayle, 1995). 3. Basic I/O and graphical features WinXAS is capable of reading various ASCII file formats from a number of XAFS beamlines. Multiple-column ASCII files are automatically recognized and the user can choose the proper column number for photon energy, I0, 11 and 12 to calculate the absorption spectrum and reference spectrum (with I0, 11 and 12 being the beam intensity measured before and after the sample, and after the reference, respectively). Therefore, a separate conversion program for data from various beamlines may turn out to be unnecessary in most cases. WinXAS stores data by default in a binary format to save storage space and access time. As a user option, spectra can also be saved in a two- Journal of Synchrotron Radiation ISSN 0909-0495 1998

T. Ressler 119 column ASCII format for data transfer. Both formats are kept simple and are well documented. One of the outstanding features of WinXAS is its userfriendly graphical interface. WinXAS offers a full visualization of results and intermediate steps during data reduction. A maximum of four spectra can be processed simultaneously, each in a separate graphic window, and plots from each window can be superimposed and compared at any time. Moreover, each of the four graphic windows contains four internal data arrays that are used to hold and display intermediate analysis steps and final results. Thus, every data-reduction step can be undone, and input and output of each analysis procedure are available for comparison. Furthermore, WinXAS plots can readily be copied to common word processors. 4. Numerical subroutines Numerical subroutines implemented in WinXAS include a selection of common and useful algorithms to calculate integrals, derivatives, roots, Fourier transformation, smoothing, and least-squares refinement of a variety of profile functions. All of these algorithms can be employed independently from an ongoing XAS analysis at every step of the reduction procedure. Each numerical subroutine is documented in the WinXAS manual and details such as constraints, limitations and accuracy can be obtained from the cited literature (Press et al., 1989; Engeln-Mtillges & Uhlig, 1996). Profile functions can be composed of a variety of built-in functions (i.e. Gaussian, Lorentzian, Voigt, trigonometrical, polynomials etc.). WinXAS also allows one to add or multiply profile functions and data as well as to apply profile functions to the abscissa or ordinate of a spectrum. In this way, difference files can be calculated and spectra can be normalized. 5. Conventional XAS data analysis Since WinXAS does not consist of separate analysis modules, all numerical procedures and graphical features can be used at any stage of XAS data analysis. Therefore, WinXAS exceeds the step-by-step approach of earlier analysis programs. Data-reduction features such as smoothing, convolution, XANES profile fitting, linear combination XANES fitting using experimental spectra (mixture analysis) or difference file techniques (Vaarkamp et al, 1993) extend the implemented conventional XAFS analysis capabilities. Moreover, different reduction procedures can be applied to the same spectrum in different windows and respective results can be compared. Fig. 1 displays the WinXAS user interface and four different examples for its XAS data-analysis capabilities. WinXAS offers multiple subroutines for most of the conventional XAFS data-reduction procedures. However, certain recommendations for the analysis of XAFS spectra have been implemented (Teo, 1986; Koningsberger & Prins, 1988). All necessary steps for conventional XAS data reduction can be carried out [background subtraction (Victoreen, one or two polynomial), E0 determination (first and second derivative, XANES profile function fitting), atomic absorption #0 (cubic spline fitting, polynomial fit), fast Fourier transform (several window functions, variable step width in R space)]. Furthermore, experimental phase shifts and backscattering amplitudes obtained from reference compounds, as well as theoretical phases and amplitudes, can be used to perform singlescattering plane-wave XAFS refinements. Higher cumulants can be added to the standard XAFS formula to account for a non-gaussian distribution in thermal disorder. XAFS refinements can be carried out in k space or in R space. During all the above-mentioned analysis steps a proper visualization of results and their dependence on the various parameters is provided. The atomic absorption (#0- fit) window, for instance, not only displays the spectrum and the refined cubic spline, but also the resulting XAFS function g(k), the first derivative of the cubic spline, and the magnitude and imaginary part of the Fourier-transformed x(k). Therefore, the user has maximal information at hand on how changing the number of nodes for the spline, the weighting scheme or the section of the spectrum affects the resulting g(k) and FT[x(k)]. In the case of an XAFS simulation using experimental or theoretical phases and amplitudes, single-function parameters can be changed interactively. In a corresponding dialog box each XAFS parameter can be changed stepwise, while after each step the effect on the theoretical g(k) is displayed immediately. This procedure is very much suited as a teaching tool to visualize the dependence of the overall shape of g(k) or FT[x(k)] on the various structural or scattering parameters. Additionally, every data-reduction step in WinXAS can be recorded in a macro. A complete XAS data analysis, containing background correction, #0 fitting, Fourier transform and XAFS refinement, can basically be carried out in one step. After recording, these macros can be applied conveniently to a large number of spectra measured under similar conditions. 6. FEFF interface WinXAS contains an interface to the ab-initio multiplescattering XAFS code FEFFby Rehr et al. (1992) (FEFF is not part of the WinXAS package and has to be obtained separately). In the recent past, FEFF has proven to be a reliable and user-friendly theoretical XAFS code. However, regardless of the operating system used, FEFF provides no graphical visualization of input or output data for analysis of experimental spectra. Although numerical tools in addition to FEFF are available (Stern et al., 1995), they basically also lack graphical visualization. The WinXAS FEFF interface enables users to perform an XAFS analysis using FEFF-generated theoretical phases and amplitudes. WinXAS allows the user to choose all

120 WinXAS: a program for X-ray absorption spectroscopy data analysis under MS-Windows necessary paths from the FEFF output file 'FILES.DAT' which contains the names of all single-output files that belong to the scattering paths included in the calculation. The selected FEFF phases and amplitudes can be employed in a multiple-shell XAFS simulation or refinements in both k space and R space. Furthermore, WinXAS offers several schemes to correlate or constrain XAFS function parameters during the refinement (e.g. Debye-Waller factors of different paths can be refined the same or, in the case of a multiplescattering path, can be forced to be equal to the sum of the single-scattering-path Debye-Waller factors; coordination numbers of two paths in an octahedral environment can be constrained to have a sum equal to six; and others). The output of an XAFS refinement includes structural and scattering parameters, standard deviations, correlation matrix, and the graphical fit residual. The Fourier trans- form of the fit residual, the experimental spectrum and the theoretical g(k) are also displayed. In addition to XAFS refinements, WinXAS offers several features to facilitate FEFF calculations. Running FEFF on a PC involves setting up the proper input files in an editor, executing FEFF and afterwards changing to a graphic program to display the calculated XAFS function. With WinXAS, these steps can be carried out in a single program's environment. After FEFF input files have been set up in an editor, the program can be launched directly from WinXAS and, after the calculation is completed, the resulting x(k) is loaded and displayed instantaneously for further analysis or comparison with experimental data. Furthermore, WinXAS supports RasMol, a simple but effective molecular-structure viewing program (Sayle, 1995). FEFF input files are converted into three-column xyz files that can be read from RasMol and allows mole- '"=*~ -PI ~ Edit ~ow ~mnc ~ ~S r=me-~$olved XBD pj~ion= hal,^,o,,,=..~~x,v,e~,n ~_~!~t~1~1~1~ 11"i77I ~!~==-,~ "1!=~=~=,,] -i ~ I,x=~ -J 7." -.: 7 -: 7.... A..I... a..~ ".... llli... F / Linear combination of a,b,c,cj ',::~ i'"...,, I "* 61 ~,= o.o,o~. ~.~j iid IIII *"~-,ll 11.~~/~Reference spectra.. o.o~ o - O.Ol I. "~ /! " ~-,r,~ia.m o.s Theor. FT magnitude...111. "= '= '~=' e~iac, n Jr, ed Theor. FT imag. part?i f.,.: "3 i. Exp. FT magnitude IV * ' " ' " " I " 20.4603, Y= 1.53822 J : 19.8 to 21.2 [ Y: 0.82903 to 2.8196 I No 674 Figure 1 'Screen-shot' of the WinXAS program for XAS data analysis showing the user interface as well as four graphic windows containing examples for analysis capabilities. Window I: 'Quick-XAS' data analysis of an as-measured absorption spectrum (A). The 'Quick-XAS' option represents an automated data-reduction procedure. Experimental spectra can be analyzed on-line by pressing a single button on the WinXAS interface. The algorithm yields the normalized and background-corrected spectrum (B), the extracted XAS function x(k) (C) and the Fourier transformed x(k) (D). Window II: Least-squares XANES fit. The experimental XANES (dotted) can be simulated by a linear combination of four reference compounds [a (0.1), b (0.21), c (0.23) and d (0.46)]. Window III: three-dimensional plot of diffraction data from a time-resolved experiment. In a subsequent analysis, WinXAS's macro capabilities can be used to determine peak shifts and intensity variations with time. Window IV: Two-shell XAS refinement in R space using FEFF theoretical phases and amplitudes. The plot shows the FF magnitude and imaginary part for the experimental (dotted) and theoretical (solid) curve as well as the magnitude for both single shells.

T. Ressler 121 cules or clusters to be displayed in colours, rotated and printed. The combination of WinXAS and RasMol not only makes a convenient tool, it can also help novice users to understand the concept of nearest-neighbour shells, of different coordination geometry and distortions, and of linear multiple-scattering paths that will have a particularly strong contribution to the theoretical XAFS function. 7. Time-resolved experiments The analysis of XAS data obtained from time-resolved experiments can become a very tedious task due to the large number of consecutive spectra. WinXAS offers several features to treat the large amount of data obtained from time-resolved experiments. Considering the number of spectra from a single run, data reduction of each spectrum by hand appears to be inefficient. Since many analysis steps have to be carried out similarly for each spectrum, efficient data treatment requires the possibility of applying a sequence of analysis steps in a serial procedure. WinXAS can record single data-reduction steps into a macro and execute this macro to analyze each individual spectrum out of a large data set. All numerical and XAFS algorithms contained in WinXAS can be used this way. Additionally, several spectra can be averaged to improve data quality. Moreover, a serial data treatment can be performed at an early stage of a time-resolved experiment investigation. Besides the fact that WinXAS aims at timeresolved XAS investigations, it can be employed in a variety of experiments that produce a large number of consecutive spectra or patterns that require serial treatment. 8. Energy-dispersive XAS The analysis of XAS data measured in an energy-dispersive mode (Hagelstein et al., 1989) requires some additional reduction steps compared with conventional XAS data analysis. In contrast to a standard double-crystal monochromator, where the energy range is scanned stepwise by changing the Bragg angle of both crystals, the dispersive spectrometer applies a bent monochromator crystal. The absorption signal is then recorded on a position-sensitive detector. The major difference between conventional and energydispersive XAS data reduction lies in the energy calibration of the measured absorption spectra. In order to calibrate dispersive XAS spectra, a polynomial has to be calculated representing the energy-position correlation on the detector and converting the measured absorption spectra to photon energy. With WinXAS, the polynomial coefficients can be determined from an automated comparison of the measured metal foil with a calibrated metalfoil spectrum obtained at a standard XAS beamline. If DXAS data and the reference metal-foil spectrum are available in a comparable quality, this procedure usually results in a reliable energy calibration of dispersive XAS data. More detailed descriptions on using WinXAS for energy-dispersive XAS analysis can be found elsewhere (Ressler, 1995, 1997). Although WinXAS was originally written for the DXAS beamline at HASYLAB, Hamburg, all functions are generalized enough to be used at any other DXAS stations. Experimental data can either be used as measured or be converted into a binary WinXAS format. 9. Summary WinXAS is an XAS data-analysis program for computers running MS-Windows 95/NT. The most important feature of WinXAS is the versatile graphical user interface. Win- XAS allows a maximum of four data files to be processed at a time and results can be superimposed and compared. Furthermore, WinXAS represents a good educational tool due to the immediate graphical response on changes in, for instance, XAFS fit parameters, k weighting, number of nodes for cubic-spline fits, and much more. Thus, WinXAS can help to gain insight into the interaction of atomic distances, disorder parameters, or number of shells, and their influence on the XAFS function x(k) and hence the observed experimental signal. WinXAS contains all necessary numerical algorithms and procedures for conventional XAS data analysis and offers an interface to the ab-initio theoretical code FEFF. Moreover, many additional techniques that exceed conventional data reduction can be carried out, such as difference file technique, experimental XANES linear combination fits (component analysis), XANES profile fitting, and using FEFF theoretical phases and amplitudes for XAFS refinement. Owing to an open and flexible data file structure, WinXAS can read a variety of multiple-column files from different XAS beamlines without previous conversion. Besides numerical and conventional XAS features, WinXAS contains several routines for the analysis of energy-dispersive XAS data. Furthermore, WinXAS macros can be employed in a serial treatment of a large number of consecutive spectra such as those obtained from time-resolved experiments. The author wishes to thank the following colleagues for valuable technical discussions: J. Ehrich, H. Esemann, M. Fr6ba, M. Hagelstein, U. Hatje, N. Hilbrandt, K. Lochte, W. Metz, W. Meyer, W. Niemann, J. R6hler, A. San-Miguel, B. Scholze and J. Wong. References Engeln-Miillges, G. & Uhlig, E (1996). Numerical Algorithms with C. Berlin: Springer. Hagelstein, M., Cunis, S., Frahm, R., Niemann, W. & Rabe, P. (1989). Physica B, 158, 324-325.

122 WinXAS: a program for X-ray absorption spectroscopy data analysis under MS-Windows Koningsberger, D. C. & Prins, R. (1988). X-ray Absorption Spectroscopy, Chemical Analysis 92. New York: Wiley. Press, W. H., Flannery, B. P., Teukolsky, S. A. & Vetterling, W. T. (1989). Numerical Recipes in C. Cambridge University Press. Rehr, J. J., Albers, R. C. & Zabinsky, S. I. (1992). Phys. Rev. Lett. 69, 3397-3400. Ressler, T. (1995). PhD thesis, University of Hamburg, Germany. Ressler, T. (1997). J. Phys. IV, 7, C2-269-270. Sayle, R. (1995). RasMol. Version 2.6. http://mc2.cchem.berkeley.edu/rasmol. (Enhanced by the MultiCHEM Facility, University of California, Berkeley, USA.) Stern, E. A., Newville, M., Ravel, B., Yacoby, Y. & Haskel, D. (1995). Physica B, 208/209, 117-120. Teo, B. K. (1986). EXAFS: Basic Principles and Data Analysis. New York: Springer. Vaarkamp, M., Modica, E S., Miller, J. T. & Koningsberger, D. C. (1993). J. Catal. 144, 611-626.