The tutorial 7th

Contents

The tutorial 7th#

Explains how PyXplore analyzes extended X-ray absorption fine structure (EXAFS) data.

coding#

1. Save your XAS data to the root directory and rename the file to absorb.csv.

# import PyXplore package
from PyXplore import WPEM
import pandas as pd

WPEM.EXAFS('absorb.csv',de_bac = True).fit(first_cutoff_energy=22100,second_cutoff_energy=22400)
██╗    ██╗██████╗ ███████╗███╗   ███╗
██║    ██║██╔══██╗██╔════╝████╗ ████║
██║ █╗ ██║██████╔╝█████╗  ██╔████╔██║
██║███╗██║██╔═══╝ ██╔══╝  ██║╚██╔╝██║
╚███╔███╔╝██║     ███████╗██║ ╚═╝ ██║
 ╚══╝╚══╝ ╚═╝     ╚══════╝╚═╝     ╚═╝                                                  

A Diffraction Refinement Software : WPEM
Bin Cao, Advanced Materials Thrust, Hong Kong University of Science and Technology (Guangzhou)
URL : https://github.com/Bin-Cao/WPEM
Executed on : 2025-07-22 11:01:54  | Have a great day.
====================================================================================================
type error: <class 'NoneType'>
../../_images/1822dbaded7ddbb4011058fe3eb87fb8c1b0241807db01fdb1edfda79d9c3776.png
E0 = 22127.85757857858
../../_images/8a813805cc7ebe3826e0ddc0f60f87ee242453014a346ea0e063cb3c4ef21efd.png ../../_images/a1c5e02b0a43f465db118e21b6e91036a67d7f6a53cd71425b2b36d8fc314392.png ../../_images/58824b6960fff256e798bbe1b8c3831661ef1bef2de5f090c5afd7d5ea2f3d5e.png ../../_images/4634815317a4ca0fdf0ef513b3352aa97cadb6c67d8dfc8ed5d25453629152c0.png ../../_images/640c050d7a8b0947512e661730a6f6b55abd12f65bc00a6743257f3c2b3d73c7.png
<Figure size 640x480 with 0 Axes>

The result is saved in the XAFS/EXAFS folder.