> TraitError: The 'point_scalars_name' trait of a SetActiveAttribute instance
> must be one of ['scalar', ''], but a value of 'angle' <type 'str'> was
> specified.

This error comes from the fact that my dataset has shape

(689, 797, 1)

If I numpy.dstack it:

Phi=numpy.dstack((Phi,Phi))

and retry, it works without a problem.

Now, this is unhappy: I really have 2D data, and I need to locate points on 
it. I can, of course, keep doing that with the dstacked data, but I will get 
every point I want, TWICE, so another solution would be preferable.

Any ideas?

Cheers,
Juha

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
MayaVi-users mailing list
MayaVi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mayavi-users

Reply via email to