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


The autoreload extension is already loaded. To reload it, use:
  %reload_ext autoreload
3e8cef26a552

In [7]:
smt_ipy_table(records,
              fields=['label', 'timestamp', 'parameters', 'duration', 'version', 'tags'],
              parameters=['kPlus', 'kMinus', 'appliedPotential', 'bulkSuppressor', 'Nx'])


Out[7]:
LabelTimestampParametersDurationVersionTags
3e8cef262017-04-14 21:07kPlus: 546.0, kMinus: 37900000.0, appliedPotential: -0.45, bulkSuppressor: 0.06, Nx: 2001h 30m 23.82sc81f5d79e36dfig4

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 [ ]: