471,305 Members | 1,245 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,305 software developers and data experts.

Scientific computing and data visualization.

Hallo

I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chosepython, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author or an experienced user. Unfortunately a mailto author returned as undeliverable.

Does anybody now about suitable visualisation tool?

Does anybody have an experience with OpenDx and py_opendx instalation?

Thanks for your response.

fiepye

Sep 6 '06 #1
11 3424

Fie Pye wrote:
Hallo

I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chose python, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author or an experienced user. Unfortunately a mail to author returned as undeliverable.

Does anybody now about suitable visualisation tool?

Does anybody have an experience with OpenDx and py_opendx instalation?

Thanks for your response.

fiepye
As another poster pointed out below, VTK is a very strong vis tool. It
is actively supported and has bindings to several languages (C++,
Python, Java, and Tcl at last count). I have used the combination of
python and VTK together to produce many scientific visualizations,
including production quality animations (Usually, I use Python/VTK to
generate isosurfaces or the like, and import the resulting geometry
data into Maya or another high-quality renderer)

One hurdle to overcome is transferring array data from Numeric/Numpy
into VTK. I have a sort of ad-hoc method to do that (mainly for volume
data). If anyone knows of any elegant solution, or a module to ease the
pain, I'd like to hear about it.

If you are working with NetCDF files, you may wish to add
ScientificPython (distinct from SciPy) to your toolset. It has a very
nice NetCDF interface. Unfortunately, it is ancient, and you would have
to install Numeric Python (ancestor to NumPy). However, it is easy to
convert Numeric arrays into Numpy arrays:
>>my_numpy_array=numpy.array(my_numeric_array)

-matt

Sep 6 '06 #2
Matteo wrote:
One hurdle to overcome is transferring array data from Numeric/Numpy
into VTK. I have a sort of ad-hoc method to do that (mainly for volume
data). If anyone knows of any elegant solution, or a module to ease the
pain, I'd like to hear about it.
https://svn.enthought.com/enthought/wiki/TVTK

Much, much, MUCH nicer interface to VTK than the plain bindings that come by
default. And built from the ground up to seamlessly couple numpy with VTK.

Cheers,

f

Sep 6 '06 #3
Matteo wrote:
If you are working with NetCDF files, you may wish to add
ScientificPython (distinct from SciPy) to your toolset. It has a very
nice NetCDF interface. Unfortunately, it is ancient, and you would have
to install Numeric Python (ancestor to NumPy). However, it is easy to
convert Numeric arrays into Numpy arrays:
>>>my_numpy_array=numpy.array(my_numeric_array)
The NetCDF interface has been ported to numpy and currently resides in the scipy
sandbox.

http://svn.scipy.org/svn/scipy/trunk...andbox/netcdf/

--
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying truth."
-- Umberto Eco

Sep 6 '06 #4
A commonly used data analysis framework is root (http://root.cern.ch).
It offers a object oriented C++ framework with all kind of things one
needs for plotting and data visualization. It comes along with PyRoot,
an interface making the root objects available to Python.
Take a look at the root manual for examples, it also contains a section
describing the use of PyRoot.

Cheers! Bernhard

Sep 7 '06 #5
"Fie Pye" <fi****@atlas.czwrites:
Hallo

I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chose python, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author or an experienced user. Unfortunately a mail to author returned as undeliverable.

Does anybody now about suitable visualisation tool?
Have you looked at HippoDraw?

http://www.slac.stanford.edu/grk/ek/hippodraw
Sep 13 '06 #6
Paul F. Kunz wrote:
"Fie Pye" <fi****@atlas.czwrites:

> Hallo

I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chose python, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author or an experienced user. Unfortunately a mail to author returned as undeliverable.

Does anybody now about suitable visualisation tool?

Have you looked at HippoDraw?

http://www.slac.stanford.edu/grk/ek/hippodraw
http://www.slac.stanford.edu/grp/ek/hippodraw/

Claudio Grondi
Sep 13 '06 #7
Fie Pye wrote:
Hallo

I would like to have a high class open source tools for scientific computing and powerful 2D and 3D data visualisation. Therefore I chose python, numpy and scipy as a base. Now I am in search for a visualisation tool. I tried matplotlib and py_opendx with OpenDx. OpenDx seems to me very good but the project py_opendx looks like closed. After py_opendx instalation and subsequent testing I got an error that needs discussion with author or an experienced user. Unfortunately a mail to author returned as undeliverable.

Does anybody now about suitable visualisation tool?

Does anybody have an experience with OpenDx and py_opendx instalation?

Thanks for your response.

fiepye
What sort of "scientific computing" and visualization do you have in
mind? I enjoy R for much of my work. See http://www.r-project.org/

Plz let us know what you have discovered, and what you have settled on.

Tchuss,
DaveB
Sep 14 '06 #8
be************@gmail.com wrote:
A commonly used data analysis framework is root (http://root.cern.ch).
It offers a object oriented C++ framework with all kind of things one
needs for plotting and data visualization. It comes along with PyRoot,
an interface making the root objects available to Python.
Take a look at the root manual for examples, it also contains a section
describing the use of PyRoot.
I can definitively second that. ROOT is a bit hard to learn but very,
very powerful and PyRoot is really a pleasure to work with.

Cheers,

Carl Friedrich Bolz

Oct 6 '06 #9
Hi,

* Carl Friedrich Bolz <cf****@gmx.dewrote:
be************@gmail.com wrote:
>A commonly used data analysis framework is root (http://root.cern.ch).
It offers a object oriented C++ framework with all kind of things one
needs for plotting and data visualization. It comes along with PyRoot,
an interface making the root objects available to Python.
Take a look at the root manual for examples, it also contains a section
describing the use of PyRoot.

I can definitively second that. ROOT is a bit hard to learn but very,
very powerful and PyRoot is really a pleasure to work with.
It sounds interesting. Right now, I use matplotlib for
2D plotting and vtk for 3D. Do you have any experience and
can give some recommendations?

Greetings!
Fabian

Oct 7 '06 #10
I can definitively second that. ROOT is a bit hard to learn but very,
very powerful and PyRoot is really a pleasure to work with.

It sounds interesting. Right now, I use matplotlib for
2D plotting and vtk for 3D. Do you have any experience and
can give some recommendations?
Hi Fabian!

I recommend using matplotlib for data visualization, because the usage
of the plotting commands is much(!!!) more convenient. In ROOT you have
to create objects before you can draw your diagrams. The constructor
often requires arguments about the number of space points, axis length,
name etc. On the other hand, the figure itself has a GUI to manipulate
the plot, which sometimes is nicer than doing everything in the script.
In particular the 3D visualization seems to be more comprehensive (lots
of drawing options, rotation of the plot with the mouse, changing of
visualization lego, surf, contour plots etc.).

ROOT has more than plotting. For example it has a whole bunch of
containers to store very large amounts of data (within complex
datastructures), fitting routines, minimizers etc. But you get that
with scipy and numpy.

I'm using 80% of the time matplotlib because it's much quicker for
quick glances at your data. If I need sophisitcated 3D plots, I use
ROOT, but I would love to switch to matplotlib for this, as well.

My guess is that using python and matplotlib with scipy speeds up my
work by at least 30% in comparison to using purely ROOT (and code in
C++). And even 10-15% in comparison to the usage of ROOT with pyRoot.

Enjoy! Bernhard

Oct 8 '06 #11
Hi Bernhard,

* be************@gmail.com <be************@gmail.comwrote:
I can definitively second that. ROOT is a bit hard to learn but very,
very powerful and PyRoot is really a pleasure to work with.

It sounds interesting. Right now, I use matplotlib for
2D plotting and vtk for 3D. Do you have any experience and
can give some recommendations?

Hi Fabian!

I recommend using matplotlib for data visualization, because the usage
of the plotting commands is much(!!!) more convenient. In ROOT you have
to create objects before you can draw your diagrams. The constructor
often requires arguments about the number of space points, axis length,
name etc. On the other hand, the figure itself has a GUI to manipulate
the plot, which sometimes is nicer than doing everything in the script.
In particular the 3D visualization seems to be more comprehensive (lots
of drawing options, rotation of the plot with the mouse, changing of
visualization lego, surf, contour plots etc.).

ROOT has more than plotting. For example it has a whole bunch of
containers to store very large amounts of data (within complex
datastructures), fitting routines, minimizers etc. But you get that
with scipy and numpy.

I'm using 80% of the time matplotlib because it's much quicker for
quick glances at your data. If I need sophisitcated 3D plots, I use
ROOT, but I would love to switch to matplotlib for this, as well.

My guess is that using python and matplotlib with scipy speeds up my
work by at least 30% in comparison to using purely ROOT (and code in
C++). And even 10-15% in comparison to the usage of ROOT with pyRoot.
Thanks for your advice!

Greetings!
Fabian

Oct 8 '06 #12

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Junpei | last post: by
20 posts views Thread by mclaugb | last post: by
53 posts views Thread by Michael Tobis | last post: by
9 posts views Thread by Joe Attardi | last post: by
reply views Thread by Fie Pye | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.