• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

Commit MetaInfo

修訂8e109aa327bf8f6c67138bb0334d9710cfeec326 (tree)
時間2011-03-11 22:27:46
作者lorenzo
Commiterlorenzo

Log Message

Minor modifications to these codes.

Change Summary

差異

diff -r 24010637384d -r 8e109aa327bf Python-codes/read_and_plot_aggregates.py
--- a/Python-codes/read_and_plot_aggregates.py Thu Mar 10 17:09:59 2011 +0000
+++ b/Python-codes/read_and_plot_aggregates.py Fri Mar 11 13:27:46 2011 +0000
@@ -7,8 +7,8 @@
77
88 import sys
99
10-kf=1.3
11-df= 2.3 # 1.8
10+kf=1.
11+df= 1.78 # 1.8
1212
1313 print sys.argv
1414
diff -r 24010637384d -r 8e109aa327bf Python-codes/read_and_save_distances.py
--- a/Python-codes/read_and_save_distances.py Thu Mar 10 17:09:59 2011 +0000
+++ b/Python-codes/read_and_save_distances.py Fri Mar 11 13:27:46 2011 +0000
@@ -7,7 +7,7 @@
77
88 import sys
99
10-kf=1.3
10+kf=1.
1111 df= 1.78 # 1.8
1212
1313 print sys.argv
@@ -115,8 +115,8 @@
115115 n.savetxt("distance_distribution.dat", s.ravel(dist_mat))
116116
117117
118-
119-print "s.shape(dist_mat) is, ", s.shape(dist_mat)
118+my_dim=s.shape(dist_mat)
119+print "s.shape(dist_mat) is, ", my_dim
120120
121121 threshold=2.1
122122
@@ -127,11 +127,14 @@
127127
128128 k=s.sum(adjacency, axis=1)-1
129129
130+n.savetxt("degree_list.dat", k)
131+
132+
130133 print "k is, ", k
131134
132-x=final_cluster[:,0]
133-y=final_cluster[:,1]
134-z=final_cluster[:,2]
135+# x=final_cluster[:,0]
136+# y=final_cluster[:,1]
137+# z=final_cluster[:,2]
135138
136139
137140 # mlab.clf()
@@ -166,7 +169,7 @@
166169 print "R1agg is, ", R1_agg
167170
168171
169-N_tot=len(x)
172+N_tot=my_dim[1]
170173
171174 print "the total number of monomers is, ", N_tot
172175