[Paraview] PythonFullExample Error: Must use ParaView v4.2 or greater

2017-11-03 Thread the lily
Hello,


I built paraview 5.4 from the repo 
https://gitlab.kitware.com/paraview/paraview/blob/master/Documentation/dev/git/download.md
 on MacOS Sierra


I'm trying to run the PythonFullExample downloaded from here 
https://gitlab.kitware.com/paraview/paraview/tree/master/Examples/Catalyst/PythonFullExample


I run it as the following:


export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/Users/a/ParaView/paraview_build/lib

export PYTHONPATH=/Users/a/ParaView/paraview_build/lib/site-packages


/Users/a/ParaView/paraview_build/bin/pvpython fedriver.py cpscript.py

I connect to Catalyst, then I get an error 'Must use ParaView v4.2 or greater'

Any guide on how to solve this?



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Remote rendering through reverse SSH breaks with a GLX error

2017-11-03 Thread Robert Sawko
Utkarsh,

Again, thanks again for the comment and sorry for missing the email. I am
checking my filter rules as this didn't get through to my inbox.

Your insight was quite right: it's all down to drivers. I've been working on
PV with EGL since then and I can get it all work under Ubuntu POWER8 NVIDIA
driver but not under RHEL. There seems to be a packaging problem in RHEL where
presumably an older or flawed version of EGL is shipped. I've been promised a
fix soon so I am waiting for this.

I've got access to two clusters with K80s and P100s and my intention is to run
EGL enabled PV on both of them. X-less config is ideal as I could make any node
act as a PV server. I'll keep you posted.

Robert
-- 
P-hacking again...
https://www.youtube.com/watch?v=42QuXLucH3Q
Sorry, but I think p-values are important.
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Python tracing doesn't work for opacity time frames?

2017-11-03 Thread Robert Sawko
Utkarsh,

Really sorry but this dropped off my radar. Thanks for raising an issue and
sharing this code snippet below.

Robert

> You can get access to the opacity track using the API similar to getting
> track for any other attribute as "Radius" for SPhere Source.
>
> a = GetAnimationTrack('Opacity', index=0, proxy=sphere1)
>
> Now you can add keyframes etc to the track.

-- 
One, among many reasons to visit Australia!
http://en.wikipedia.org/wiki/Morning_Glory_cloud
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] No module named paraview.simple on MacOs sierra

2017-11-03 Thread Ben Boeckel
On Fri, Nov 03, 2017 at 19:49:26 +, the lily wrote:
> export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/bin

The modules should be in /path/to/.app/Contents/Python. Try:

export 
PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/Python

--Ben
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] No module named paraview.simple on MacOs sierra

2017-11-03 Thread the lily
Hello,


I'm trying to run the following example

https://github.com/Kitware/ParaViewCatalystExampleCode-MOVED-/blob/master/PythonFullExample/cpscript.py


on MacOs sierra using Paraview 5.4.1, I'm getting the following error


File "cpstate.py", line 1, in 
from paraview.simple import *
ImportError: No module named paraview.simple


I tried doing the following:

export PYTHONPATH=$PYTHONPATH:/Applications/ParaView-5.4.1.app/Contents/bin

But that did not fix it, are there are other paths I should include? or anyway 
to get around this error?

Thanks!



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Information tag in xdmf file crashes paraview

2017-11-03 Thread Gonzalez Lopez, Ruben A.
Hi there, I would like to include some additional information about the 
parameters that I'm using in my simulation in the file, I thought that the  
Information tag was useful in this scenario. but when I try to use them 
Paraview crashes. is there any other technique that I could use? I already try 
 for comments but Paraview will crash anyway.


Thank you very much for your help
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] quantifying overlap between two volumes

2017-11-03 Thread Samuel Key

Klara--

Have you tried to load both one.vtk and separate.vtk into a single 
render window? ParaView is quite capable of doing this.  If the 
"reference file" separate.vtk image needs to be shifted, the transform 
filter will let you re-position the image.


Hope this helps.

--Sam


On 11/3/2017 4:39 AM, Klara Schevenels wrote:


To whom it may concern,

I just started working with Paraview for making 3D-images of the 
brain. More specifically, I want to quantify the overlap between the 
brain activation there is for some fMRI-task (one .vtk file) and some 
coordinates I have (separate .vtk files). Does anyone can advise how 
to start with this? I’ve been searching on the internet but I cannot 
find a clear answer to this question.


Many many thanks in advance!

Best

Klara Schevenels



___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] quantifying overlap between two volumes

2017-11-03 Thread Klara Schevenels
To whom it may concern,

I just started working with Paraview for making 3D-images of the brain. More 
specifically, I want to quantify the overlap between the brain activation there 
is for some fMRI-task (one .vtk file) and some coordinates I have (separate 
.vtk files). Does anyone can advise how to start with this? I've been searching 
on the internet but I cannot find a clear answer to this question.

Many many thanks in advance!

Best
Klara Schevenels

___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview