Commit cfebebea authored by Wout De Nolf's avatar Wout De Nolf
Browse files

update notebooks

parent b428b506
Pipeline #78478 passed with stages
in 16 minutes and 56 seconds
%% Cell type:markdown id:9bbca2b5-3771-4f4f-b60d-0eecaa1c0c7f tags:
# XrayLarch XAS data processing
XrayLarch is a spectroscopy library for python:
%% Cell type:markdown id:6e9d9db8-56d2-4738-a4f1-fcf15bbdc67f tags:
## Example EXAFS spectrum
%% Cell type:code id:0f4550af-6f41-4c51-a53e-4f2de701ccfc tags:
``` python
%matplotlib inline
import matplotlib.pyplot as plt
from import example_spectrum
from est.resources import resource_path
filename = str(resource_path("exafs/EXAFS_Cu.dat"))
energy, mu = example_spectrum("exafs/EXAFS_Cu.dat")
plt.figure(figsize=(20, 10))
plt.plot(energy, mu)
plt.xlabel("Energy (eV)")
print("Example EXFAS spectrum")
%% Output
Example EXFAS spectrum
This source diff could not be displayed because it is too large. You can view the blob instead.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment