Add new file
parent
31a2f7201c
commit
fb1bcd1cb6
@ -0,0 +1,17 @@
|
||||
import traceanalyzer as tr
|
||||
import matplotlib.pyplot as plt
|
||||
|
||||
#end-to-end delay
|
||||
eedelay1=tr.Eedelay('out1.tr','33')
|
||||
eedelay2=tr.Eedelay('out2.tr','33')
|
||||
eedelay2.sample()#eedelay2.sample(1.5) for sampling with step=1.5
|
||||
eedelay1.plot()
|
||||
eedelay2.plot()
|
||||
plt.show()
|
||||
#getting data
|
||||
time=eedelay2.time_sample
|
||||
eedelay=eedelay2.eedelay_sample
|
||||
idx=0
|
||||
for instant in time:
|
||||
print(instant,' ',eedelay[idx])
|
||||
idx+=1
|
Loading…
Reference in New Issue