$C_{\text{SUPP}}$ v $E_{\text{APPLIED}}$ contour plot with Nx=200

Simulations are to create a map of $C_{\text{SUPP}}$ v $E_{\text{APPLIED}}$ to figure out a better set of paramters that might give full fill inside the feature.


In [1]:
from tools import batch_launch

!date
    
reason = "Running simulation for bulkSuppressor v appliedPotential contour plot with Nx=200"
    
for bulkSuppressor in (2 * np.logspace(-3, -1, 20)):
    for appliedPotential in (-2.5 * np.logspace(-2, 0, 20)):
        batch_launch(reason=reason,
                     tags=['annular60'],
                     kPlus=5e2,
                     kMinus=3e7,
                     rboundary=50e-6 / np.sqrt(np.pi),
                     Nx=200,
                     spacing_ratio=1.2,
                     CFL=0.1,
                     levelset_update_ncell=5,
                     data_frequency=100,
                     bulkSuppressor=bulkSuppressor,
                     appliedPotential=appliedPotential)


Fri Nov  1 12:16:41 EDT 2013

Refinement 1


In [1]:
%load_ext autoreload
%autoreload 2
from tools import getSMTRecords, smt_ipy_table
records = getSMTRecords(tags=['annular60'])


Created Django record store using PostgreSQL

In [2]:
print len(records)


345

In [3]:
%load_ext autoreload
%autoreload 4
from featureProperty import FeatureProperty

suppressor = []
potential = []
void_size = []
height = []

for r in records:
    if len(r.output_data) > 0:
        fp = FeatureProperty(r)
        void_size.append(fp.getVoidSize())
        height.append(fp.getHeight())
        suppressor.append(r.parameters['bulkSuppressor'])
        potential.append(r.parameters['appliedPotential'])
        fp.close()
    
void_size = np.array(void_size)
height = np.array(height)
suppressor = np.array(suppressor)
potential = np.array(potential)

values = height - void_size

In [4]:
from tools import refine_contour_plot
points = np.log10(np.array((suppressor, -potential)).transpose())
new_points = refine_contour_plot(points, values)[:100]
new_suppressor, new_potential = 10**new_points[:,0], 10**new_points[:,1]

In [5]:
from scipy.spatial import Delaunay
ps = np.concatenate((points, new_points))
tri1 = Delaunay(points)
tri2 = Delaunay(ps)
import matplotlib.pyplot as plt
fig = plt.figure()
ax1 = fig.add_subplot(1, 2, 1)
ax1.triplot(points[:,0], points[:,1], tri1.vertices.copy())
ax1.plot(points[:,0], points[:,1], 'o', ms=3)
ax2 = fig.add_subplot(1, 2, 2)
ax2.triplot(ps[:,0], ps[:,1], tri2.vertices.copy())
ax2.plot(ps[:,0], ps[:,1], 'o', ms=3)
plt.show()



In [6]:
!date

from tools import batch_launch

reason = "Fig 7, Nx=200, refinement 1"
    
for bulkSuppressor, appliedPotential in  zip(new_suppressor, -new_potential):
    batch_launch(reason=reason,
                 tags=['fig7_nx200_refinement1_1'],
                 kPlus=5e2,
                 kMinus=3e7,
                 rboundary=50e-6 / np.sqrt(np.pi),
                 Nx=200,
                 spacing_ratio=1.2,
                 CFL=0.1,
                 levelset_update_ncell=5,
                 data_frequency=100,
                 bulkSuppressor=bulkSuppressor,
                 appliedPotential=appliedPotential)


Mon Nov  4 11:21:37 EST 2013

Array of Trenches


In [ ]:


In [2]:
!qstat


job-ID  prior   name       user         state submit/start at     queue                          slots ja-task-ID 
-----------------------------------------------------------------------------------------------------------------
1695498 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695499 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695500 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695501 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695502 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695503 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695504 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695505 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695506 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695507 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695508 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695509 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695510 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695511 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695512 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695513 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695514 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695515 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695516 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695517 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695518 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695519 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695520 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695521 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695522 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695523 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695524 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695525 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695526 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695527 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695528 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695529 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695530 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r019                         1        
1695531 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r017                         1        
1695532 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r016                         1        
1695533 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695534 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r018                         1        
1695535 0.01868 launcher   wd15         r     10/18/2013 17:20:39 ctcms@r015                         1        
1695536 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695537 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695538 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695539 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695540 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695541 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695542 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695543 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695544 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695545 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695546 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695547 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695548 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695549 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695550 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695551 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r037                        1        
1695552 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695553 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695554 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695555 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695556 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695557 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695558 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695559 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695560 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695561 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695562 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695563 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695564 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695565 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695566 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695567 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695568 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695569 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695570 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695571 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695572 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695573 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695574 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695575 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695576 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695577 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695578 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695579 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695580 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695581 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695582 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695583 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695584 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695585 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695586 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695587 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695588 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695589 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695590 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695591 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695592 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695593 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695594 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695595 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695596 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695597 0.01868 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695598 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695599 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695600 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695601 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695602 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695603 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695604 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695605 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695606 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695607 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695608 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695609 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695610 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695611 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695612 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695613 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695614 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695615 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695616 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r038                        1        
1695617 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r040                        1        
1695618 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r039                        1        
1695619 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r033                        1        
1695620 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695621 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695622 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695623 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695624 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695625 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695626 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695627 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695628 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide2@r010                         1        
1695629 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695630 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695631 0.01867 launcher   wd15         r     10/18/2013 17:20:39 wide64@r032                        1        
1695632 0.00465 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695633 0.00461 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695634 0.00458 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695635 0.00455 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695636 0.00451 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695637 0.00448 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695638 0.00445 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695639 0.00442 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695640 0.00439 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695641 0.00436 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695642 0.00433 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695643 0.00430 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695644 0.00427 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695645 0.00424 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695646 0.00421 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695647 0.00418 launcher   wd15         qw    10/18/2013 17:20:38                                    1        
1695648 0.00415 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695649 0.00413 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695650 0.00410 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695651 0.00407 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695652 0.00405 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695653 0.00402 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695654 0.00400 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695655 0.00397 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695656 0.00395 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695657 0.00392 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695658 0.00390 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695659 0.00387 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695660 0.00385 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695661 0.00383 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695662 0.00380 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695663 0.00378 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695664 0.00376 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695665 0.00374 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695666 0.00371 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695667 0.00369 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695668 0.00367 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695669 0.00365 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695670 0.00363 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695671 0.00361 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695672 0.00359 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695673 0.00357 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695674 0.00355 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695675 0.00353 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695676 0.00351 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695677 0.00349 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695678 0.00347 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695679 0.00345 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695680 0.00343 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695681 0.00341 launcher   wd15         qw    10/18/2013 17:20:39                                    1        
1695682 0.00339 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695683 0.00337 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695684 0.00336 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695685 0.00334 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695686 0.00332 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695687 0.00330 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695688 0.00329 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695689 0.00327 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695690 0.00325 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695691 0.00323 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695692 0.00322 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695693 0.00320 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695694 0.00319 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695695 0.00317 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695696 0.00315 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695697 0.00314 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695698 0.00312 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695699 0.00311 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695700 0.00309 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695701 0.00308 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695702 0.00306 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695703 0.00305 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695704 0.00303 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695705 0.00302 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695706 0.00300 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695707 0.00299 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695708 0.00298 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695709 0.00296 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695710 0.00295 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695711 0.00293 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695712 0.00292 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695713 0.00291 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695714 0.00289 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695715 0.00288 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695716 0.00287 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695717 0.00285 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695718 0.00284 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695719 0.00283 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695720 0.00282 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695721 0.00280 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695722 0.00279 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695723 0.00278 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695724 0.00277 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695725 0.00275 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695726 0.00274 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695727 0.00273 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695728 0.00272 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695729 0.00271 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695730 0.00270 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695731 0.00268 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695732 0.00267 launcher   wd15         qw    10/18/2013 17:20:40                                    1        
1695733 0.00266 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695734 0.00265 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695735 0.00264 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695736 0.00263 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695737 0.00262 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695738 0.00260 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695739 0.00259 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695740 0.00258 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695741 0.00257 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695742 0.00256 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695743 0.00255 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695744 0.00254 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695745 0.00253 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695746 0.00252 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695747 0.00251 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695748 0.00250 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695749 0.00249 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695750 0.00248 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695751 0.00247 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695752 0.00246 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695753 0.00245 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695754 0.00244 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695755 0.00243 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695756 0.00242 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695757 0.00241 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695758 0.00241 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695759 0.00240 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695760 0.00239 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695761 0.00238 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695762 0.00237 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695763 0.00236 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695764 0.00235 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695765 0.00234 launcher   wd15         qw    10/18/2013 17:20:41                                    1        
1695766 0.00233 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695767 0.00232 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695768 0.00232 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695769 0.00231 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695770 0.00230 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695771 0.00229 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695772 0.00228 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695773 0.00227 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695774 0.00227 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695775 0.00226 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695776 0.00225 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695777 0.00224 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695778 0.00223 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695779 0.00223 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695780 0.00222 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695781 0.00221 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695782 0.00220 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695783 0.00219 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695784 0.00219 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695785 0.00218 launcher   wd15         qw    10/18/2013 17:20:42                                    1        
1695786 0.00217 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695787 0.00216 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695788 0.00215 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695789 0.00215 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695790 0.00214 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695791 0.00213 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695792 0.00213 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695793 0.00212 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695794 0.00211 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695795 0.00210 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695796 0.00210 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695797 0.00209 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695798 0.00208 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695799 0.00208 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695800 0.00207 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695801 0.00206 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695802 0.00206 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695803 0.00205 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695804 0.00204 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695805 0.00204 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695806 0.00203 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695807 0.00202 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695808 0.00202 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695809 0.00201 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695810 0.00200 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695811 0.00200 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695812 0.00199 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695813 0.00198 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695814 0.00198 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695815 0.00197 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695816 0.00197 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695817 0.00196 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695818 0.00195 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695819 0.00195 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695820 0.00194 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695821 0.00194 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695822 0.00193 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695823 0.00192 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695824 0.00192 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695825 0.00191 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695826 0.00191 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695827 0.00190 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695828 0.00189 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695829 0.00189 launcher   wd15         qw    10/18/2013 17:20:43                                    1        
1695830 0.00188 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695831 0.00188 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695832 0.00187 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695833 0.00186 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695834 0.00186 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695835 0.00185 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695836 0.00185 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695837 0.00184 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695838 0.00184 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695839 0.00183 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695840 0.00183 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695841 0.00182 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695842 0.00182 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695843 0.00181 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695844 0.00181 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695845 0.00180 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695846 0.00180 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695847 0.00179 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695848 0.00179 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695849 0.00178 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695850 0.00177 launcher   wd15         qw    10/18/2013 17:20:44                                    1        
1695851 0.00177 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695852 0.00176 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695853 0.00176 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695854 0.00175 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695855 0.00175 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695856 0.00174 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695857 0.00174 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695858 0.00173 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695859 0.00173 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695860 0.00172 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695861 0.00172 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695862 0.00171 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695863 0.00171 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695864 0.00171 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695865 0.00170 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695866 0.00170 launcher   wd15         qw    10/18/2013 17:20:45                                    1        
1695867 0.00169 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695868 0.00168 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695869 0.00168 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695870 0.00168 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695871 0.00167 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695872 0.00167 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695873 0.00166 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695874 0.00166 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695875 0.00165 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695876 0.00165 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695877 0.00164 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695878 0.00164 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695879 0.00164 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695880 0.00163 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695881 0.00163 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695882 0.00162 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695883 0.00162 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695884 0.00161 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695885 0.00161 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695886 0.00161 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695887 0.00160 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695888 0.00160 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695889 0.00159 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695890 0.00159 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695891 0.00159 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695892 0.00158 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695893 0.00158 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695894 0.00157 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695895 0.00157 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695896 0.00157 launcher   wd15         qw    10/18/2013 17:20:46                                    1        
1695897 0.00156 launcher   wd15         qw    10/18/2013 17:20:46                                    1        

In [1]:
%load_ext autoreload
%autoreload 2
from tools import getSMTRecords, smt_ipy_table
records = getSMTRecords(tags=['annular59'])


Created Django record store using PostgreSQL

In [6]:
from multiViewer import MultiViewer
from tools import getRecord
        
bulkSuppressors = 2 * np.logspace(-3, -1, 20)
appliedPotentials = -2.5 * np.logspace(-2, 0, 20)

reorderedRecords = [[getRecord(records=records, bulkSuppressor=bulkSuppressor, appliedPotential=appliedPotential) \
    for bulkSuppressor in bulkSuppressors] for appliedPotential in appliedPotentials]


def me(n):
    s = '%1.1e' % n
    m, e = s.split('e')
    return float(m), int(e)

def rowlabel(r):
    if r:
        m, e = me(r.parameters['appliedPotential'])
        return '${0:1.1f}\\times 10^{{{1}}}$'.format(m, e)
    else:
        return ''

def columnlabel(r):
    if r:
        m, e = me(r.parameters['bulkSuppressor'])
        return '${0:1.1f}\\times 10^{{{1}}}$'.format(m, e)
    else:
        return ''

viewer = MultiViewer(reorderedRecords,
                     rowtitle=rowlabel,
                     columntitle=columnlabel,
                     figsize=(1.5, 6))

viewer.plot(times=np.arange(20) * 5000. / 19.)
#
#smt_ipy_table([j for i in reorderedRecords for j in i if j],
#              fields=['label', 'timestamp', 'parameters', 'duration', 'version', 'tags'],
#              parameters=['bulkSuppressor', 'appliedPotential', 'kPlus', 'kMinus'])



In [ ]: