Home | History | Annotate | Download | only in pywalt

Lines Matching refs:numpy

23 import numpy
30 laser_data = numpy.loadtxt(fname_laser)
40 p = numpy.polyfit(x, y, 1, full=True)
52 shifts = numpy.arange(min_shift, max_shift, step)
56 side = ((numpy.arange(len(tl)) + 1) / 2) % 2
62 yl = numpy.interp(tl + shift, ty, y)
63 xl = numpy.interp(tl + shift, tx, x)
69 best_shift0 = shifts[numpy.argmin(residuals0)]
70 best_shift1 = shifts[numpy.argmin(residuals1)]
90 if numpy.std(x)*2 < numpy.std(y):
97 lmts = numpy.array([-1, 1]) * 3 * coarse_step + best_shift_coarse
116 xx = numpy.interp(ty, tx, x)
119 yl = numpy.interp(tl + shift, ty, y)
120 xl = numpy.interp(tl + shift, tx, x)
121 sides = (((numpy.arange(len(tl)) + 1) / 2) % 2)
123 x_linear = numpy.array([min(x), max(x)])
128 a, c = numpy.polyfit(xls, yls, 1)