Revision | 46aba94810162bb69df68017075b4e0c9262c11f (tree) |
---|---|
Zeit | 2010-04-01 19:32:12 |
Autor | lorenzo |
Commiter | lorenzo |
Minor modifications (I am also saving data on the real times [made unique]
of the infection).
@@ -282,6 +282,20 @@ | ||
282 | 282 | n.savetxt(filename, s.unique1d(dynamic_infection[1]-dynamic_infection[1][0]),fmt="%d") |
283 | 283 | |
284 | 284 | |
285 | + prefix="dynamic_infectious_real_times_unique_" | |
286 | + | |
287 | + prefix=prefix+file_number | |
288 | + | |
289 | + postfix="_%01d"%(visitor_iter) | |
290 | + | |
291 | + postfix=postfix+"_.dat" | |
292 | + | |
293 | + filename=prefix+postfix | |
294 | + | |
295 | + | |
296 | + n.savetxt(filename, s.unique1d(dynamic_infection[1]),fmt="%d") | |
297 | + | |
298 | + | |
285 | 299 | start_infection[visitor_iter]=dynamic_infection[1][0] |
286 | 300 | |
287 | 301 | #print "time_unique is, ", time_unique |