Hi all,
I've just selfupdated fink (10.3 tree) and installed mayavi and I was
playing with it when I've noticed some warnings messages. Being a
novice I can't understand them, I hope someone could help me. Here it
is the example with the warning messages:
import Numeric as nu
import scipy
import pyvtk
x = (nu.arange(50.) - 25.) * 0.5
y = (nu.arange(50.) - 25.) * 0.5
r = nu.sqrt(x[:,nu.NewAxis]**2 + y**2)
z = 5.0 * scipy.special.j0(r)
z1 = nu.reshape(nu.transpose(z), (-1,))
point_data = pyvtk.PointData(pyvtk.Scalars(z1))
Scalars.__init__._get_name.warning:
Using name='Scalars0'
Scalars.__init__._get_lookup_table.warning:
Using lookup_table='default'
grid = pyvtk.StructuredPoints((50,50,1), (-12.5, -12.5, 0), (0.5,0.5,1))
data = pyvtk.VtkData(grid, point_data)
VtkData.__init__.warning:
Using header='Really cool data'
data.tofile('test.vtk')
Despite these warnings the surface is plotted correctly. I've also
tried to click and drag the surface and it rotates as expected, but
when I release the mouse button python starts to hog cpu cycles and
hang up and I must kill it manually. Any suggestion about this?
Thanks in advance,
Andrea.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users