nd_projection_maker.py
Go to the documentation of this file.
1 times = [0.0, 0.0, 0.0, 0.81, 5.31, 1.46, 0.0, 1.31, 1.09, 0.72]
2 sizes = [0.0, 0.0, 0.0, 13.94, 294.64, 510.02, 0.0, 567.48, 587.77, 580.87]
3 eff = [1.,1.,1.,0.04,1.,1.,1.,1.,1.,1.]
4 fs = [3000,3000,3000,500,3000,3000,3000,3000,3000,3000]
5 ps = [8000000,8000000,8000000,6400000,8000000,8000000,8000000,8000000,8000000,8000000]
6 
7 tpf = []
8 tpp = []
9 spf = []
10 spp = []
11 S_TO_KILOWEEKS = 1. / (60.*60.*24.*7.*1000.)
12 
13 for i in range(len(times)):
14  time = times[i]
15  size = sizes[i]
16  events_per_file = fs[i]
17  events_per_production = ps[i]
18 
19  inverse_eff = 1. / eff[i]
20 
21  tpf.append(time * events_per_file * inverse_eff)
22  tpp.append(time * events_per_production * inverse_eff * S_TO_KILOWEEKS)
23 
24  spf.append(size * events_per_file / (1024*1024) )
25  spp.append(size * events_per_production / (1024*1024*1024) )
26 print tpf
27 print tpp
28 print spf
29 print spp