13. XAFS Analysis

One of the primary motivations for Larch was processing XAFS data. Larch was originally conceived to be version 2 of Ifeffit [Newville (2001)], replacing and expanding all the XAFS analysis capabilities of that package. XAFS Analysis can generally be broken into a few separate steps: This replacement is essentially complete insofar as all the main functionality of Ifeffit is available in Larch. There may still be a few minor features of Ifeffit that are not yet available, and some functionality to port from Athena [Ravel and Newville (2005)] back to the core library. In addition, there are some minor differences in implementation details, so that slightly different numerical results may be obtained. Importantly, several features are available with Larch that were not available with Ifeffit 1.2 and some small errors in Ifeffit 1.2 have been fixed.

  1. Reading in raw data.

  2. Making corrections to the data, and converting to \(\mu(E)\)

  3. Pre-edge background removal and normalization.

  4. Interpreting normalized \(mu(E)\) as XANES spectra

  5. Post-edge background removal, conversion to \(\chi(k)\)

  6. XAFS Fourier Transform to \(\chi(R)\)

  7. Reading and processing FEFF Paths from external files.

  8. Fitting XAFS \(\chi(k)\) to a sum of FEFF paths.

The XAFS-specific functions in Larch follow these general steps. They are all kept in the _xafs Group, which can be easily accessed, as this is in the default search path.

synopsis

Basic XAFS Functions

References

Newville (2001)

M Newville. Ifeffit: interactive xafs analysis and feff fitting. Journal of Synchrotron Radiation, 8(Part 2):322–324, MAR 2001. doi:10.1107/S0909049500016964.

Ravel and Newville (2005)

B Ravel and M Newville. ATHENA, ARTEMIS, HEPHAESTUS: data analysis for X-ray absorption spectroscopy using IFEFFIT. Journal of Synchrotron Radiation, 12(Part 4):537–541, 2005. doi:10.1107/S0909049505012719.