Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revisionBoth sides next revision
technical:sliding_window [2020/10/13 19:24] – [Sliding window time histogram] chunchungtechnical:sliding_window [2020/10/13 19:27] – [Sliding window time histogram] chunchung
Line 37: Line 37:
     tts.append(tw)     tts.append(tw)
     rrs.append(0)     rrs.append(0)
-    return np.array(tts)+wsz/2,np.array(rrs)+    return np.array(tts)+wsz/2,np.array(rrs)/wsz
 </code> </code>
 ====Example==== ====Example====