Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. Ti = np.arange(0.0,N+dt,dt)
  2. tlist = []
  3. for t in Ti:
  4. t0 = -hlife*log(1-random())/log(2)
  5. tlist.append(t0)
  6.  
  7. time = np.sort(tlist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement