projects
/
430.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eac3c59
)
Make stand-alone script
author
Dan White
<dan@whiteaudio.com>
Tue, 4 Sep 2012 18:00:38 +0000
(13:00 -0500)
committer
Dan White
<dan@whiteaudio.com>
Tue, 4 Sep 2012 18:00:38 +0000
(13:00 -0500)
python-lib/cal-times.py
patch
|
blob
|
history
diff --git
a/python-lib/cal-times.py
b/python-lib/cal-times.py
index a9649518eb6dab05bc3203fcfe02ce0abfc13264..10dce7729fdde3e39cb9b42c9446998b8147de8c 100644
(file)
--- a/
python-lib/cal-times.py
+++ b/
python-lib/cal-times.py
@@
-1,3
+1,6
@@
+#!/usr/bin/env python
+
+from pylab import *
from glob import glob
infiles = glob('*.npz')
@@
-17,3
+20,7
@@
ylabel('Time (s)')
print len(dt)
print 1.0*(dt[0]-dt[-1]) / dt[0]
+
+if __name__ == '__main__':
+ show()
+