On Tue, Jul 12, 2011 at 12:53:32PM +, Juha Jäykkä wrote:
> > I don't know: you gave only a fairly non-specific description of your
> > problem. I would have to write an example to find out where things
> > exactly fail.
> I did attach a script.
Please accept my excuses. I try to answer to May
> I don't know: you gave only a fairly non-specific description of your
> problem. I would have to write an example to find out where things
> exactly fail.
I did attach a script. The failure occurs at the second
set_active_attribute(). It does not matter what you replace my Phi with, in
fact, y
On Tue, Jul 12, 2011 at 12:16:59PM +, Juha Jäykkä wrote:
> > The atomic_orbital example does an isosurface on the data. Doing an
> > isosurface on a flat dataset is an ill-defined operation. You probably
> > want to be doing something different than an isosurface. What's your end
> That does n
> The atomic_orbital example does an isosurface on the data. Doing an
> isosurface on a flat dataset is an ill-defined operation. You probably
> want to be doing something different than an isosurface. What's your end
That does not really address the problem with set_active_attribute().
> goal? W
On Tue, Jul 12, 2011 at 11:26:41AM +, Juha Jäykkä wrote:
> 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.
The atom
> TraitError: The 'point_scalars_name' trait of a SetActiveAttribute instance
> must be one of ['scalar', ''], but a value of 'angle' 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 w
Hi all!
I have a strange problem with the atomic_orbitals.py example. I edited the
code to read in the numpy array Phi from a hdf5 file and it stopped working,
saying
TraitError: The 'point_scalars_name' trait of a SetActiveAttribute instance
must be one of ['scalar', ''], but a value of 'angl