Exemplo n.º 1
0
 def writefn(t0, length, step, val):
     val = buffn(val)
     for i, v in itertools.izip(xrange(t0, t0 + step * length, step),
                                val):
         Trace.write_trace(i, v, self)
Exemplo n.º 2
0
 def writefn(t0, length, step, val):
     val = buffn(val)
     step *= len(self.offsets)
     for i, v in zip(range(t0, t0 + step * length, step), val):
         Trace.write_trace(i, v, self)