In [1]:
%matplotlib inline

import numpy as np
import matplotlib.pyplot as plt

import xanespy as xp

$L_3$ Edge Curve


In [2]:
Es = np.linspace(845, 865, num=1000)

l3 = xp.fitting.L3Edge(Es)

ODs = l3(1.1, 853, 0.6, 1, 855, 0.6, 0.15, 854, 10, 3)
plt.plot(Es, ODs)

xp.plots.remove_extra_spines(plt.gca())

plt.xlabel('Energy /eV')
plt.ylabel('Intensity')

plt.tight_layout()
plt.savefig('images/l3-curve.svg')



In [ ]: