• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revision7f725d5e210b09ea77030af9488c489dcba1c5e2 (tree)
Time2014-11-03 19:54:35
AuthorLorenzo Isella <lorenzo.isella@gmai...>
CommiterLorenzo Isella

Log Message

Minor modifications: I just changed the name of a module I need to import.

Change Summary

Incremental Difference

diff -r f3f28c1a67c5 -r 7f725d5e210b Python-codes/iterate_compose_clusters.py
--- a/Python-codes/iterate_compose_clusters.py Fri Oct 31 18:22:02 2014 +0100
+++ b/Python-codes/iterate_compose_clusters.py Mon Nov 03 11:54:35 2014 +0100
@@ -1,6 +1,6 @@
11 #! /usr/bin/env python
22
3-#from enthought.mayavi import mlab
3+from mayavi import mlab
44 import scipy.linalg as sl
55
66 import scipy as s
@@ -747,7 +747,7 @@
747747 ########################################################################
748748
749749
750-kf=1.6
750+kf=1.3
751751 df= 1.78 # 1.8
752752 epsi=0.01
753753 n_steps=8000 #with the first algorithm, it is the number of failed attempts
@@ -756,14 +756,14 @@
756756 #With the second algoritm, 2pi/n_steps is the angle of every to rotation.
757757
758758
759-algo=2 # use the algorithm which is indicated for low df
759+algo=1 # use the algorithm which is indicated for low df
760760 #=2 use the algortihm for high fractal dimension
761761
762762 # clust_to_combine=32
763763
764764 start=0
765765
766-end=128
766+end=64
767767
768768 clust_list=[]
769769
@@ -851,12 +851,12 @@
851851 z=final_cluster[:,2]
852852
853853
854-#mlab.clf()
855-#pts = mlab.points3d(x, y, z, scale_mode='none', resolution=20,\
856-# color=(0,0,1),scale_factor=2.)
854+mlab.clf()
855+pts = mlab.points3d(x, y, z, scale_mode='none', resolution=20,\
856+ color=(0,0,1),scale_factor=2.)
857857 #mlab.axes(pts)
858858
859-#mlab.show()
859+mlab.show()
860860
861861
862862 R1_agg_sq=s.var(final_cluster[:,0])+s.var(final_cluster[:,1])+\
diff -r f3f28c1a67c5 -r 7f725d5e210b Python-codes/iterate_filippov.py
--- a/Python-codes/iterate_filippov.py Fri Oct 31 18:22:02 2014 +0100
+++ b/Python-codes/iterate_filippov.py Mon Nov 03 11:54:35 2014 +0100
@@ -1,6 +1,9 @@
11 #! /usr/bin/env python
22
3-#from enthought.mayavi import mlab
3+# from enthought.mayavi import mlab
4+
5+from mayavi import mlab
6+
47
58 import scipy as s
69 import numpy as n
@@ -223,14 +226,14 @@
223226
224227 # N=3.
225228 # a=1. and removed from the formula
226-kf=1.6
229+kf=1.3
227230 df= 1.78 # 1.8
228231
229232 epsi=0.01
230233
231234 # N_iter=80
232235
233-N_clust=128
236+N_clust=64
234237
235238
236239 # d_square= new_dist_sq(N,df,kf)