Functions | Variables
plot_timing_data Namespace Reference

Functions

def time_format (hrs)
 
def join_with_spaces (vec)
 

Variables

list gs = []
 
dictionary times = {}
 
 fname = 'plots/'
 
 time
 
string det = ''
 
string datamc = ''
 
string horn = ''
 
string swap = ''
 
string version = ''
 
string release = ''
 
string mrcc = ''
 
string special = ''
 
 title = join_with_spaces([det, horn, swap, special, mrcc, release, datamc])
 
int total_time = 0
 
 c = gs[-1]
 
 h = gs[-1]
 
 mean = h.GetMean()
 
 lat = gs[-1]
 
 local
 

Function Documentation

def plot_timing_data.join_with_spaces (   vec)

Definition at line 19 of file plot_timing_data.py.

References open().

20  if len(vec) == 0: return ''
21  if len(vec) == 1: return vec[0]
22  if vec[0] == '': return join_with_spaces(vec[1:])
23  return vec[0]+' '+join_with_spaces(vec[1:])
24 
25 
def join_with_spaces(vec)
def plot_timing_data.time_format (   hrs)

Definition at line 14 of file plot_timing_data.py.

References makeTrainCVSamples.int, and runNovaSAM.str.

14 def time_format(hrs):
15  if hrs < 1: return str(int(hrs*60+.5))+'m'
16  return str(int(hrs))+'h'+str(int(hrs*60+.5)%60)+'m'
17 
18 # Skips blank entries without superfluous spaces

Variable Documentation

plot_timing_data.c = gs[-1]

Definition at line 103 of file plot_timing_data.py.

plot_timing_data.datamc = ''

Definition at line 39 of file plot_timing_data.py.

plot_timing_data.det = ''

Definition at line 34 of file plot_timing_data.py.

string plot_timing_data.fname = 'plots/'

Definition at line 28 of file plot_timing_data.py.

list plot_timing_data.gs = []

Definition at line 9 of file plot_timing_data.py.

plot_timing_data.h = gs[-1]

Definition at line 106 of file plot_timing_data.py.

plot_timing_data.horn = ''
plot_timing_data.lat = gs[-1]

Definition at line 125 of file plot_timing_data.py.

plot_timing_data.local

Definition at line 147 of file plot_timing_data.py.

plot_timing_data.mean = h.GetMean()

Definition at line 113 of file plot_timing_data.py.

plot_timing_data.mrcc = ''

Definition at line 77 of file plot_timing_data.py.

Referenced by pi0_xcheck().

plot_timing_data.release = ''

Definition at line 70 of file plot_timing_data.py.

plot_timing_data.special = ''
plot_timing_data.swap = ''
plot_timing_data.time

Definition at line 28 of file plot_timing_data.py.

dictionary plot_timing_data.times = {}
plot_timing_data.title = join_with_spaces([det, horn, swap, special, mrcc, release, datamc])

Definition at line 93 of file plot_timing_data.py.

int plot_timing_data.total_time = 0

Definition at line 97 of file plot_timing_data.py.

plot_timing_data.version = ''

Definition at line 58 of file plot_timing_data.py.