Lines Matching refs:wlen
38 def smooth(x, wlen): argument
39 if x.size < wlen:
43 s = r_[2*x[0]-x[wlen:1:-1], x, 2*x[-1]-x[-1:-wlen:-1]]
44 w = hamming(wlen)
49 y1 = y[wlen-1:-wlen+1]
59 def smooth_fft(timefile, countfile, sample_hz, wlen): argument
66 print("Hamming Window Length: ", wlen)
85 y = smooth(xi, wlen)
95 plot(hamming(wlen))
96 axis([0,wlen-1,0,1.1])
97 title(str(wlen)+" Point Hamming Window")
136 wlen = 25 variable
150 wlen = int(a) variable
156 smooth_fft(times_file, counts_file, sample_hz, wlen)