source: doc/theses/mike_brooks_MMath/plots/list-1ord.py

Last change on this file was 1abcec9b, checked in by Michael Brooks <mlbrooks@…>, 4 days ago

Add overlaid means to list perf histograms. Add 2nd-order graph to the paper and its discussion.

  • Property mode set to 100644
File size: 990 bytes
Line 
1import pandas as pd
2import numpy as np
3import os
4import sys
5
6sys.path.insert(0, os.path.dirname(__file__))
7from ListCommon import *
8
9sumFile = open( sys.argv[1], 'w' )
10detFile = open( sys.argv[2], 'w' )
11
12physicals = ['machine', 'SizeZone']
13ops = ['movement', 'polarity', 'accessor']
14fx = ['fx']
15bkgnd = ['NumNodes'] # never drilled/marginalized, always conditioned
16
17assert( set( explanations )
18 - set( ['InterleaveFrac'] ) # unused and always zero
19 ==
20 set(physicals) | set(ops) | set(fx) | set(bkgnd) )
21
22printHistos(
23 tgtMovement = 'all',
24 tgtPolarity = 'all',
25 tgtAccessor = 'all',
26 drillOn=physicals,
27 sumFile = sumFile,
28 detFile = detFile )
29
30printHistos(
31 tgtMovement = 'all',
32 tgtPolarity = 'all',
33 tgtAccessor = 'all',
34 drillOn=ops,
35 sumFile = sumFile,
36 detFile = detFile )
37
38printHistos(
39 tgtMovement = 'all',
40 tgtPolarity = 'all',
41 tgtAccessor = 'all',
42 drillOn=fx,
43 sumFile = sumFile,
44 detFile = detFile )
Note: See TracBrowser for help on using the repository browser.