Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ti = np.arange(0.0,N+dt,dt)
- tlist = []
- for t in Ti:
- t0 = -hlife*log(1-random())/log(2)
- tlist.append(t0)
- time = np.sort(tlist)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement