Physica B 208&209 (1995) 159 160
ELSEVIER
A new method for parameterization of phase shift and backscattering amplitude Marius Vaarkamp a'b'*, Johannes C. Linders a, Diek C. Koningsberger c aEindhoven University of Technology, P.O. Box 513, 5600 MB Eindhoven, The Netherlands bXAFS Services International, P.O. Box 24040, 3502 MA Utrecht, The Netherlands CDepartment of lnorganic Chemistry, Debye Institute, Utrecht University, P.O. Box 80083, 3508 TB, Utrecht, The Netherlands
Abstract Parameterization of phase and backscattering amplitude with cubic splines is described. Using these cubic spline, the analytical partial derivatives of the plane wave EXAFS function can be calculated. The use of analytical partial derivatives decreases the CPU time needed for a refinement by over 60% for a three shell system compared to a refinement with partial derivatives calculated with the finite difference method.
1. Introduction XAS experiments are in principle suited to yield detailed information on the local structure around the absorbing atom. The information is however buried in complicated mathematical formulas. The most widely used method to extract the information from the experimental data is the comparison of the data with a model spectrum. By adjusting the structural parameters the resemblance of data and model spectrum is improved. The direction and magnitude of the adjustments to the structural parameters are generally calculated using non-linear least squares methods. Due to the discontinuity of the phase and backscattering amplitude function the partial derivatives, required for non-linear least squares methods, can only be calculated using the finite difference method. The parameterization with cubic splines, presented here, makes these functions continuous. The now available analytical
* Corresponding author.
partial derivatives reduce the CPU time required for refinement of the structural parameters.
2. Description, implementation and discussion An accurate theoretical description of EXAFS spectra includes curved wave effects and an energy dependent self-energy [1]. At every distance the curved wave EXAFS formula reduces to the plane-wave EXAFS formula (1), which is the model function used in most refinement procedures: x(k)
=
shells /~. ~ C,2 * ' . /
jL=~,OkR 2
e(-2R/;o e-2k~o-~
× Fj(k) sin(2kRj + ~oj(k)).
(1)
Besides the coordination number N, the distance R and the mean square relative displacement (DebyeWaller factor) a 2, the quantities So2, e t-ER/;~), F(k), and q~(k) are unknown. The backscattering amplitude F(k) and the phase ~b(k) of an absorber-backscatterer pair can be extracted by Fourier filtering from a compound in
0921-4526/95/$09.50 © 1995 Elsevier Science B.V. All rights reserved SSDI 0 9 2 1 - 4 5 2 6 ( 9 4 ) 0 0 6 5 8 - X
160
M. Vaarkamp et al. /Physica B 208&209 (1995) 159-160
which the contributions are well separated, or calculated from first principles. To calculate F(k) from an inverse Fourier transform S 2, e t- 2R/a~,and ¢r2 have to be known. To circumvent this requirement it is assumed that apart from F(k) and ~(k), also S 2 and e ~-2R/x~ are transferable from one compound to another. The validity of this assumption has been shown for compounds with the same absorber-backscatterer pair I-2,3], and even for absorbers or backscatterers which are neighbours in the periodic table [4, 5]. This leads to the definition of a modified backscattering amplitude (F'(k)):
2k2~F(k).
F'(k) = S 2 e ~- 2R/~)e-
(2)
This modified backscattering amplitude contains the Debye-Waller factor of the reference compound. Hence, the Debye-Waller factor obtained during non-linear least squares refinement is relative to the Debye-Waller factor of the reference compound (Ao'2). The function to be minimized becomes N. ~ ~ej= 1 kjRj
shells
Xexp(k) -
Ek'~A";Fj(k~)sin(2k)gj + ~py(k))).
(3)
Here k' is the photo electron wave vector corrected for the difference in inner potential between the sample and the reference compound (AEo): k' =
~/
2me k2 + - ~ - A E o '
(4)
The structural parameters N, R, and Atr2 have to be refined for every contribution (shell). Since AEo is a fitting parameter, the values of k', and consequently F'(k') and q~(k')are subject to change during a refinement. Hence, a fast and accurate method to calculate F'(k') and tp(k') from the original F'(k) and tp(k) data is needed. The smooth nature of cubic splines makes them extremely well suited to describe the slowly varying phase and backscattering amplitude functions. The cubic spline parameterization of phase and backscattering amplitude described has been implemented in XDAP. 1 The time consuming calculation of the spline coefficients is carried out only once for each phase and backscattering amplitude function. Evaluation of a cubic spline and the derivative of a spline is fast due to a search algorithm that uses the knowledge that the points of the EXAFS model function are calculated with increasing energy values. An advantage of the use of cubic splines is that the derivative of the amplitude and phase functions with 1XAFS Data Analysis Program developed by Eindhoven University of Technology, Utrecht University, and XAFS Services International.
Table 1 CPU time required for a refinement on a VAX 4200 Shells
Free parameters
Numerical (s)
Analytical (s)
1
4
2 2 3 3
4 8 4 8
6.7 10.6 19.4 8.3 61.0
6.3 8.2 11.7 13.9 22.5
respect to AEo can be calculated. This offers the possibility to use analytical partial derivatives in the refinement procedure. Table 1 gives the CPU time needed for a refinement with the use of analytical partial derivatives and the numerical estimation of the partial derivatives with the finite difference method. The speed increase is 7% for a single shell system and increases to more than 60% for a three shell system. The finite difference method calculates the complete spectrum for each partial derivative to be evaluated. To calculate an analytical partial derivative only the contribution of the parameter of which the partial derivative is evaluated has to be calculated. The reduction in the number of calculations required increases with the number of contributions to the model EXAFS spectrum. The reduction in CPU time for a single shell model EXAFS is due to the fact that all partial derivatives of a shell are calculated in a single pass, whereas in the finite difference method four EXAFS spectra with a single contribution have to be calculated.
3. Conclusion
Parameterization of phase and backscattering amplitude by cubic splines has been described. The analytical partial derivatives, calculated using the cubic splines, increase the speed of the refinement of structural parameters of a model EXAFS spectrum.
References
[1] M. Vaarkamp, I. Dring, R.J. Oldman, E.A. Stern and D.C. Koningsberger, Phys. Rev. B 50 (1994) 7872. [2] P.H. Citrin, P. Eisenberger and B.M. Kincaid, Phys. Rev. Lett. 22 (1976) 3551. [3] B.A. Bunker and E.A. Stem, Phys. Rev. B 27 (1983) 1017. [4] B. Lengeler, J. Phys. (Paris) 47 (1986) 75. [5] B.K. Teo and P.A. Lee, J. Am. Chem. Soc. 101 (1979) 2815.