Ilan Schnell | 1 Mar 2010 02:04
Gravatar

Re: ETS 3.4.0 released

Hello Glenn,

in the root of the ETS svn repository is a file called
project_map.ini which hasn't been updated yet.  This
is the file which the ets command uses to determine
the versions.  Unfortunately, Dave Peterson, who wrote
the ets command, and is the only person who knows
how to update this file, no longer works at Enthought.
So for the time being, just ignore the wrong version:
$ ets co ets
always gets the trunk projects.

- Ilan

On Feb 27, 2010, at 12:14 PM, Glenn Tarbox, PhD wrote:

>
>
> On Fri, Feb 26, 2010 at 9:30 AM, Ilan Schnell  
> <ischnell@...> wrote:
> Hello Raphael,
>
> I've fixed the source tarballs, and uploaded them to PyPI
> again.  Should be OK now.
>
> I've tried "ets co ets" which brings down 3.3.1....
>
> ets co "ets==3.4.0"
>
> doesn't seem to work
(Continue reading)

M Trumpis | 1 Mar 2010 02:06
Picon
Favicon

Re: mayavi scalar_field

Hey,

On Fri, Feb 26, 2010 at 2:13 AM, Gael Varoquaux
<gael.varoquaux@...> wrote:
> On Fri, Feb 26, 2010 at 01:14:07AM -0800, M Trumpis wrote:
>> > So, ImageData cannot be in diagonal. As you point out in a later email,
>> > StructuredGrid can, but you have to slice it with a 'ScalarCutPlane'
>> > which is much slower than the ImagePlaneWidget. You cannot 'Coerce it
>> > into an ImageData without sampling it to a non diagonal grid. However, if
>> > you want to do this, the 'ImageDataProbe', called 'Probe on image data'
>> > in the filter menu of Mayavi, should do the trick.
>
>
>> This is great! It did work, except the dimensions for the filter seem
>> to be calculated wrong starting off, giving this VTK error:
>
>> ERROR: In ../../Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 818
>> vtkStreamingDemandDrivenPipeline (0x216d7480): The update extent
>> specified in the information for output port 0 on algorithm
>> vtkAssignAttribute(0x216d3130) is 0 0 0 96 0 60, which is outside the
>> whole extent 0 93 0 89 0 66.
>
> OK, that's probably something that we can fix. I'll try and have a look
> at the code of the ImageDataProbe when I have time (unless you beat me to
> it, of course).
>

I've given it a look (in _setup_probe_data(), unless I'm mistaken). So
in this filter we're creating a new ImageData object with the grid
aligned on the spatial axes. I don't know the underlying filter
(Continue reading)

Daniel Soto | 1 Mar 2010 02:56
Picon
Favicon

KeyBinding not working on mac os x 10.6

i ran the key_bindings.py example on ubuntu karmic koala and it works but when i run it on mac os x 10.6 (my main
platform), it doesn't work.  how do i report this as a bug?

thx,
drs
Daniel Soto | 1 Mar 2010 02:58
Picon

KeyBinding with OKButton

how do i specify a key binding with built in buttons like OKButton and CancelButton?  do they have
method_name fields that i should use?  

thanks,
daniel soto
Gökhan Sever | 1 Mar 2010 04:44
Picon
Gravatar

Python tutorial at UND

Hello Enthought,

I am going to give a tutorial titled as "Python and Scientific Computing in Open-Source" [1] here at the University of North Dakota. I had given small set of tutorials [2] at department level before, but this time it is going to be a campus-wide session. It is planned to be 1 to 1.5 hours and within this short time I will try to achieve the following goal statement:

"The purpose of this tutorial is to open new windows in your computational horizon, and show you some wonders from Python land while inviting you to discover your interests further."

On my preparation to the tutorial I am planning to install the EPD to some of the borrowed laptops along with PythonXY. Could you please tell me if I can install/distribute copies of EPD packages with one time download made by myself?

Thank you.


[1] http://www.graduateschool.und.edu/html/PythonTutorial.html

[2] http://atmoswiki.aero.und.edu/atmos/py4science

--
Gökhan

_______________________________________________
Enthought-Dev mailing list
Enthought-Dev@...
https://mail.enthought.com/mailman/listinfo/enthought-dev
Gael Varoquaux | 1 Mar 2010 07:04
Favicon
Gravatar

Re: mayavi scalar_field

On Sun, Feb 28, 2010 at 05:06:07PM -0800, M Trumpis wrote:
> > On Fri, Feb 26, 2010 at 01:14:07AM -0800, M Trumpis wrote:
> >> > So, ImageData cannot be in diagonal. As you point out in a later email,
> >> > StructuredGrid can, but you have to slice it with a 'ScalarCutPlane'
> >> > which is much slower than the ImagePlaneWidget. You cannot 'Coerce it
> >> > into an ImageData without sampling it to a non diagonal grid. However, if
> >> > you want to do this, the 'ImageDataProbe', called 'Probe on image data'
> >> > in the filter menu of Mayavi, should do the trick.

> >> This is great! It did work, except the dimensions for the filter seem
> >> to be calculated wrong starting off, giving this VTK error:

> >> ERROR: In ../../Filtering/vtkStreamingDemandDrivenPipeline.cxx, line 818
> >> vtkStreamingDemandDrivenPipeline (0x216d7480): The update extent
> >> specified in the information for output port 0 on algorithm
> >> vtkAssignAttribute(0x216d3130) is 0 0 0 96 0 60, which is outside the
> >> whole extent 0 93 0 89 0 66.

> > OK, that's probably something that we can fix. I'll try and have a look
> > at the code of the ImageDataProbe when I have time (unless you beat me to
> > it, of course).

> I've given it a look (in _setup_probe_data(), unless I'm mistaken). So
> in this filter we're creating a new ImageData object with the grid
> aligned on the spatial axes. I don't know the underlying filter
> mechanics, but one would think that the extents and dimension sizes
> may be different for the input and output data. Maybe this is a case
> of making an initial assumption about the output dimension extents,
> and failing to update it later?

Sounds plausible. That's probably the sort of thing that should be
updated on update_data.

> >> I had another problem, which I never solved but did work around. The
> >> following sequence of commands fail with another VTK error (pasted
> >> further below). I get back a filter that seems uninitialized. However,
> >> if I add something like a structured_grid_outline to the pipeline
> >> before creating the ImageDataProbe filter, then I'm back in business
> >> (at least to the point above, with the wrong dimensions). So what's
> >> changes when I add a vis module to the data first?

> >> r = tvtk.StructuredGrid(dimensions=map_img.shape)
> >> r.points = xyz_coords
> >> r.point_data.scalars = np.asarray(map_img).flatten().copy()
> >> md = mlab.pipeline.add_dataset(r)
> >> idp = mlab.pipeline.image_data_probe(md)

> > OK, I suspect that it is a pipelining bug. Can you try to add:

> >    md.update_pipeline()

> > before the image_data_probe.

> Actually, md is

> In [23]: md
> Out[23]: <enthought.mayavi.sources.vtk_data_source.VTKDataSource
> object at 0x20cef9c0>

> and doesn't have an update_pipeline() member. Is there another way to do it?

Does it have an update_data()? or a render? Try these.

Gaël
Varun Hiremath | 1 Mar 2010 07:41
Picon

Re: ETS 3.4.0 released (Debian Packages)

Hi all,

I have updated all the enthought packages in Debian to the latest
3.4.0 release. Please update and let me know if there are any issues.

Thanks,
Varun
Peter Wang | 1 Mar 2010 08:01

Re: ETS 3.4.0 released (Debian Packages)

On 3/1/10 12:41 AM, Varun Hiremath wrote:
> Hi all,
>
> I have updated all the enthought packages in Debian to the latest
> 3.4.0 release. Please update and let me know if there are any issues.
>
> Thanks,
> Varun

Thank you so much for doing this!

-Peter
Gael Varoquaux | 1 Mar 2010 09:20
Favicon
Gravatar

Re: ETS 3.4.0 released (Debian Packages)

On Mon, Mar 01, 2010 at 01:01:51AM -0600, Peter Wang wrote:
> On 3/1/10 12:41 AM, Varun Hiremath wrote:
> > Hi all,

> > I have updated all the enthought packages in Debian to the latest
> > 3.4.0 release. Please update and let me know if there are any issues.

> > Thanks,
> > Varun

> Thank you so much for doing this!

Yes, a big +1. Packaging is so important!

Gaël
Gael Varoquaux | 1 Mar 2010 09:23
Favicon
Gravatar

Re: ETS 3.4.0 released (Debian Packages)

On Mon, Mar 01, 2010 at 01:41:33AM -0500, Varun Hiremath wrote:
> I have updated all the enthought packages in Debian to the latest
> 3.4.0 release. Please update and let me know if there are any issues.

Just to make sure I get things right: I don't see them in sid. They are
in experimental, right? What's the timeframe for moving from experimental
to sid?

Cheers,

Gaël

Gmane