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