<div>You should use the last 3.10 binary version. Numpy is embedded in the pvpython = python included in the binary release. </div>
<div>After that, check out the part of the manual user, available in the binary package of the 3.10, talking about the programmable filter. (p.60)</div>
<div> </div>
<div>Then you will write something like that in the programmable filter, after having cut your cylinder with the plane (for a simple arithmetic averaging, that certainly doesn't fit to your situation) </div>
<div><font size="2" face="FreeMono"><font size="2" face="FreeMono">
<p>array </p></font></font><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono">= </font></font></font><font size="2" face="FreeMono"><font size="2" face="FreeMono">inputs[</font></font><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono">0</font></font></font><font size="2" face="FreeMono"><font size="2" face="FreeMono">]</font></font><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono"><font color="#666666" size="2" face="FreeMono">.</font></font></font><font size="2" face="FreeMono"><font size="2" face="FreeMono">PointData[</font></font><font color="#bb2121" size="2" face="FreeMono"><font color="#bb2121" size="2" face="FreeMono"><font color="#bb2121" size="2" face="FreeMono">NameOfYourPressureArray</font></font></font><font size="2" face="FreeMono"><font size="2" face="FreeMono">]</font></font>
<p><font size="2" face="FreeMono"><font size="2" face="FreeMono">print numpy.mean(array)</font></font></p></div>
<div><br> </div>
<div class="gmail_quote">Le 9 mai 2011 14:01, Vinay Mahajan <span dir="ltr"><<a href="mailto:vinaynitrkl@gmail.com">vinaynitrkl@gmail.com</a>></span> a écrit :<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">I am using version 3.8 of paraview.
<div class="im"><br><br>
<div class="gmail_quote">2011/5/9 Aurélien Marsan <span dir="ltr"><<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>That's not a filter. That is a python library you can use inside the python programmable filter in Paraview.</div>
<div>Which version of Paraview are you using ? <br><br></div>
<div class="gmail_quote">Le 9 mai 2011 13:43, Vinay Mahajan <span dir="ltr"><<a href="mailto:vinaynitrkl@gmail.com" target="_blank">vinaynitrkl@gmail.com</a>></span> a écrit :
<div>
<div></div>
<div><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Aurélien,
<div><br></div>
<div>Can you get me the link from where i can download the numpy filter? Thanks.</div>
<div><br></div>
<div>Regards,
<div>
<div></div>
<div><br><br>
<div class="gmail_quote">2011/5/9 Aurélien Marsan <span dir="ltr"><<a href="mailto:aur.marsan@gmail.com" target="_blank">aur.marsan@gmail.com</a>></span><br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>Hi, </div>
<div> </div>
<div>This can be done with the python programmable filter, using numpy and, for plotting, matplotlib for example. </div>
<div> </div>
<div>Regards, </div>
<div><br>Aurélien <br><br></div>
<div class="gmail_quote">
<div>
<div></div>
<div>2011/4/27 Vinay Mahajan <span dir="ltr"><<a href="mailto:vinaynitrkl@gmail.com" target="_blank">vinaynitrkl@gmail.com</a>></span><br></div></div>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">
<div>
<div></div>
<div>Dear all,
<div><br></div>
<div>I am simulation 3D cylindrical column. I want to plot a graph of Pressure Vs Time at a particular height in the column. I want average data of pressure at that height. Any idea how this can be done? </div>
<div><br></div>
<div>Regards,<br>-- <br>Vinay Mahajan
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div>
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div><br></div><br></div></div>_______________________________________________<br>Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br><br>Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>Follow this link to subscribe/unsubscribe:<br><a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br><br></blockquote></div><br></blockquote>
</div><br><br clear="all"><br></div></div>-- <br>Vinay Mahajan
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div>
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div><br></div></blockquote></div></div></div><br></blockquote></div><br><br clear="all"><br></div>-- <br><font color="#888888">Vinay Mahajan
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div>
<div><font face="verdana, sans-serif"><span style="BORDER-COLLAPSE: collapse"><br></span></font></div><br></font></blockquote></div><br>