Commit 6ef8bc0d authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

added script to gather maximum of waves

parent 26aa0b28
#!/usr/bin/python
import sys
if len(sys.argv)<2:
print 'usage:', sys.argv[0], '<file1> <file2> ... <fileN>'
sys.exit()
for f in sys.argv[1:]:
lines=open(f).readlines()
top=None
for ln in lines:
key, val=ln.split('\t')
val=float(val)
if top is None or val>top:
top=val
print top,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment