Changes in / [2581f1e:6762d46]


Ignore:
Location:
doc/theses/mike_brooks_MMath/plots
Files:
3 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/plots/ListCommon.py

    r2581f1e r6762d46  
    372372
    373373
    374 def trimPer( df, criteria ):
    375     for field, values in criteria.items():
    376         areMatches = df[ field ].isin(values)
    377         df = df[ areMatches ]
    378     return df
    379 
    380374# The range from 0.9759 to 1.0247 (which is 1.05 x wide) has 1.0 in its centre.
    381375# This is the bucket with key 0.
     
    423417    tgtAccessor = 'all',
    424418    tgtInterleave = 0.0,
    425     earlyFilter = {}, # exclude from benchmarking
    426     lateFilter = {}, # exclude from output
    427419    drillOn = ['fx'],
    428420    marginalizeOn = None ):  # None means match drill-on
     
    442434                  szInc = ['SM', 'ML'],
    443435                  sExcl = [1] )
    444    
    445     timings = trimPer( timings, earlyFilter )
     436
     437
     438#    annotateBaselines(timings)
     439
    446440
    447441    options = timings.groupby(explanations)
     442
    448443    aggregated = options.agg(
    449444        mean_op_dur_ns = ('mean_op_dur_ns', gMeanNoOutlr)
    450445    ).reset_index()
     446
     447
    451448    annotateBaseline(aggregated, marginalizeOn)
    452 
    453     aggregated = trimPer( aggregated, lateFilter )
     449#    annotateCommonBaselines(aggregated)
     450
    454451
    455452    # if examining "why CFA slow" need both
     
    470467
    471468    drillgrp = aggregated.groupby(drillOn)
     469
    472470
    473471    # print(f'measure is {measure}')
Note: See TracChangeset for help on using the changeset viewer.