In [2]:
%matplotlib inline
In [3]:
from skxray.core.constants import XrfElement
In [4]:
e = XrfElement('Cu')
In [5]:
e.emission_line['ka1']
Out[5]:
In [6]:
e.emission_line.all
Out[6]:
In [7]:
e.cs(12).all
Out[7]:
In [8]:
%matplotlib notebook
from demo_xrf_spectrum import (get_line, get_spectrum)
import matplotlib.pyplot as plt
In [9]:
fig, ax = plt.subplots()
get_line(ax, 'Cu', 12)
In [10]:
fig, ax = plt.subplots()
get_spectrum(ax, 'Cu', 12)
In [11]:
fig, ax = plt.subplots()
get_line(ax, 'Gd', 12)
In [12]:
fig, ax = plt.subplots()
get_spectrum(ax, 'Gd', 12)
In [13]:
import skxray
In [14]:
skxray.__version__
Out[14]:
In [ ]: