In [6]:
%load_ext autoreload
%autoreload 2
from extremefill2D.tools import getSMTRecords, smt_ipy_table
records = getSMTRecords(path='..', tags=['fig4'])
for r in records:
print r.label
In [7]:
smt_ipy_table(records,
fields=['label', 'timestamp', 'parameters', 'duration', 'version', 'tags'],
parameters=['kPlus', 'kMinus', 'appliedPotential', 'bulkSuppressor', 'Nx'])
Out[7]:
In [9]:
%matplotlib inline
from extremefill2D.contourViewer import ContourViewer
import matplotlib.pyplot as plt
import numpy as np
record = records[0]
fig = plt.figure(figsize=(2.5, 8), dpi=200)
ax = plt.subplot(1, 1, 1)
viewer = ContourViewer(record, ax=ax)
all_spines = ['top', 'bottom', 'right', 'left']
for spine in all_spines:
ax.spines[spine].set_visible(False)
#plt.text(0.32, 0.01, '$\\texttt{{{0}}}$'.format(record.label[:8]), fontsize=12, transform=ax.transAxes)
viewer.plot(times = np.arange(10) * 2000. / 9. , mirror=True, cutoff=True, cutoffvalue=0., show=False)
In [ ]: