[Paraview] paraview and numpy arrays
Berk Geveci
berk.geveci at kitware.com
Fri Feb 6 23:11:37 EST 2009
Hi Johannes,
This is currently not possible. In the future, the collaboration
framework that we are working on may allow this. Currently, you have
to use the built-in Python console. I would love to see that console
support rich interactive functionality like ipython but I am not sure
how to go about implementing that. Any suggestions are welcome.
-berk
On Thu, Feb 5, 2009 at 8:56 AM, Johannes Reichold
<reichold at ifd.mavt.ethz.ch> wrote:
> Hello Berk,
>
> I have a similar problem as Nathalie. I would like to plot data from an
> ipython shell to the Paraview GUI, and then use the GUI to add filters etc.
> (Both on the same machine.) Did I understand you correctly - this cannot be
> done?
> If so, is this feature planned in a future release? It would really be a
> cool thing to have...
>
> Best,
> Johannes
>
>
>
> On 04.02.2009 23:59 Uhr, Berk Geveci wrote:
>
> A word of caution: If you are going to use ParaView in this mode, you
> have to stick to the Python interface of ParaView. It is not possible
> to start the GUI from Python. If you want to use the GUI, you need to
> start the GUI and then load you Python module.script from the Python
> console.
>
> So, you have some arrays. What about the mesh? Is it defined by these
> arrays? What do you mean by "plot these arrays"? Are you interested in
> line charts only?
>
> -berk
>
> On Wed, Feb 4, 2009 at 3:05 PM, <Nathalie.Rauschmayr at dlr.de> wrote:
>
>
> Hello,
> I am loading the Paraview module from the standard Python shell. I've got a
> Python-C interface and I transfer some C-arrys to a Python script, where I
> convert them to a numpy array. I'd like to start Paraview from this script,
> in order to plot these arrays. But I don't know how.
>
> best regards,
> Nathalie Rauschmayr
>
>
>
> _______________________________________________
> ParaView mailing list
> ParaView at paraview.org
> http://www.paraview.org/mailman/listinfo/paraview
>
>
>
More information about the ParaView
mailing list