• R/O
  • SSH

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision46aba94810162bb69df68017075b4e0c9262c11f (tree)
Zeit2010-04-01 19:32:12
Autorlorenzo
Commiterlorenzo

Log Message

Minor modifications (I am also saving data on the real times [made unique]
of the infection).

Ändern Zusammenfassung

Diff

diff -r 1bc6d6b46e17 -r 46aba9481016 Python-codes/iterate_deterministic_infection.py
--- a/Python-codes/iterate_deterministic_infection.py Wed Mar 31 14:19:36 2010 +0000
+++ b/Python-codes/iterate_deterministic_infection.py Thu Apr 01 10:32:12 2010 +0000
@@ -282,6 +282,20 @@
282282 n.savetxt(filename, s.unique1d(dynamic_infection[1]-dynamic_infection[1][0]),fmt="%d")
283283
284284
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+
285299 start_infection[visitor_iter]=dynamic_infection[1][0]
286300
287301 #print "time_unique is, ", time_unique