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'>

E0 = 22127.85757857858





<Figure size 640x480 with 0 Axes>
The result is saved in the
XAFS/EXAFS
folder.