|
Download _sources/tutorials/EXAFS/7th.md from caobin/PyXplore: direct link, hf CLI and curl.
- Browser
- Download file 689 Bytes
-
https://huggingface.co/datasets/caobin/PyXplore/resolve/main/_sources/tutorials/EXAFS/7th.md
- Command line
-
hf download hf://datasets/caobin/PyXplore/_sources/tutorials/EXAFS/7th.md
-
curl -L -o 7th.md https://huggingface.co/datasets/caobin/PyXplore/resolve/main/_sources/tutorials/EXAFS/7th.md
689 Bytes
| jupytext: | |
| formats: md:myst | |
| text_representation: | |
| extension: .md | |
| format_name: myst | |
| format_version: 0.13 | |
| jupytext_version: 1.11.5 | |
| kernelspec: | |
| display_name: Python 3 | |
| language: python | |
| name: python3 | |
| # 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`.** | |
| ```{code-cell} | |
| # 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) | |
| ``` | |
| > **The result is saved in the `XAFS/EXAFS` folder.** | |