リビジョン | 221dfa4b3d3e7d79d49af50aa18e80ca15a6d8d8 (tree) |
---|---|
日時 | 2009-08-31 21:21:14 |
作者 | lorenzo |
コミッター | lorenzo |
Minor modifications to a couple of codes. I simply changed the names of the input files they require to work.
@@ -231,7 +231,7 @@ | ||
231 | 231 | # data_arr=p.load("infectious.log") |
232 | 232 | |
233 | 233 | #filename="output_long_boot_count_number.dat" |
234 | -filename="output_complete.dat" | |
234 | +filename="tag_and_boot_every_20_sec.dat" | |
235 | 235 | # visit_durations_from_code_by_ciro=visit_duration_many_tags(filename) |
236 | 236 | |
237 | 237 | # p.save("duration_new.dat",visit_durations_from_code_by_ciro, fmt='%d') |
@@ -49,7 +49,7 @@ | ||
49 | 49 | |
50 | 50 | #initialize an array I will use to load the data |
51 | 51 | |
52 | -read=1 | |
52 | +read=0 | |
53 | 53 | |
54 | 54 | data_arr=s.zeros(2).astype("int") #just an initialization, it will be |
55 | 55 | #overwritten anyhow |
@@ -101,7 +101,7 @@ | ||
101 | 101 | p.save("data_arr.dat", data_arr , fmt='%d') |
102 | 102 | |
103 | 103 | else: |
104 | - data_arr=p.load("data_arr.dat") | |
104 | + data_arr=p.load("boot_count_cut.dat") | |
105 | 105 | data_arr=data_arr.astype("int") |
106 | 106 | print "I finished reading the data" |
107 | 107 |