[Paraview] extract location of minimum

Eelco van Vliet eelcovv at gmail.com
Thu Feb 10 12:13:27 EST 2011


Dear Paraviewers,

I would like to extract the location of a minimum value from a data set in
pvbatch

I were able to find the value of the minimum with



       mm=MinMax(Uzcomponent)
       mm.Operation="MIN"
       mindata=sm.Fetch(Uzcomponent,mm,mm)
       mindata.GetPointData().GetNumberOfArrays()
       a0 = mindata.GetPointData().GetArray(1)
       a1 = mindata.GetScalar()
       print "name 1: ", a0.GetName()
       print "tuple1: ", a0.GetTuple1(0)

Here, a0.GetTyple1 give me the value of the minimum

However: How do I find the location of this value ?

Any hint appriciate!

Regards

Eelco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110210/64c7e2e0/attachment.htm>


More information about the ParaView mailing list