41 "-h" : (
"height", int,
"Output image height in pixels."),
42 "-w" : (
"width", int,
"Output image width in pixels."),
43 "-v" : (
"verbosity", int,
"Verbosity level."),
44 "-d" : (
"duration", float,
"Duration of the part of the input" 45 " to process in seconds."),
46 "-l" : (
"loc_nr", int,
"Number of localities in the analysed" 47 " process. If 1, localities are ignored."),
48 "-s" : (
"step", int,
"Milliseconds between timestamp axes."),
49 "-f" : (
"maxfom", int,
"Maximum number of foms per locality."),
50 "-t" : (
"starttime", str,
"Timestamp in the addb format at which" 51 " output generation starts."),
52 "-L" : (
"label", int,
"If 0, omit text labels,"),
53 "-o" : (
"outname", str,
"Output file name.")
56 opts, args = getopt.getopt(argv[1:],
"h:w:l:d:s:t:o:f:v:L:")
57 except getopt.GetoptError:
58 print "{} [options]\n\nOptions:\n".
format(argv[0])
60 print " {} : {}".
format(k, xlate[k][2])
64 kw[xl[0]] = xl[1](arg)
68 for line
in fileinput.input([]):
69 params = line[1:].
split()
72 rec = record.parse(tr, params)
81 if __name__ ==
"__main__":
static void split(m0_bindex_t offset, int nr, bool commit)