Hi Paul, The Plot Selection Over Time filter has an "OnlyReportSelectionStatistics" property. You should set that to 0 to have it not compute the extra statistics.
As for SelectCells, I figured that out by creating a query in the Find Data tool (under the Edit menu for Linux machines) and then creating a Plot Selection Over Time filter. In the Copied Selection widget in the Properties tab it should list the corresponding query string. There's also some information at http://www.paraview.org/Wiki/Find_Data_using_Queries but that may be a bit out of date. Regards, Andy On Sat, Mar 28, 2015 at 9:30 AM, Paul DesJardin <[email protected]> wrote: > Hi Andy, > > Thanks for the prompt response. The generation of extra arrays arises > after the call to the PlotSelectionOverTime filter, so filtering > before that call will not have the desired reduction. For whatever > reason, there is a difference between the output of the > PlotSelectionOverTime filter using the GUI vs. calling it in the > python script using the SelectCells filter (below). When you run it > through the GUI, I get the original variables as a function of time > (as expected). When I run through the python script, I get the avg, > std, q1, q2, q3, q4, .... (bunch of other statistics) for every > variable. This is what I'm trying to eliminate - clearly there is a > difference between what GUI selection approach and using SelectCells > in the python script. > > Is there detailed documentation on valid arguments for SelectCells? > For instance, I haven't a clue exactly what query="id==0" means. Are > there other arguments to shut of statistics? I can only find very > tutorial type of information on the wiki and in the KitWare published > texts (VTk and paraview). I poked around on the doxygen site and > didn't find too much information there either. Is the source code > viewable for the SelectCells filter so I can see what exactly it is > doing? > > It looks like the programmable filter provides a mechanism to run > python code. Wouldn't this be the same thing as running python code > via pvbatch? I don't see how using the programmable filter would > provide an alternative solution approach. I must be missing > something.... > > Thanks, > > Paul > > On Sat, Mar 28, 2015 at 9:04 AM, Andy Bauer <[email protected]> > wrote: > > Hi Paul, > > > > From what I can tell from playing around with the PlotSelectionOverTime > > filter, it doesn't create any extra arrays so I think it may work by > using > > the PassArrays filter right before the PlotSelectionOverTime filter. If > that > > doesn't get your desired behavior then maybe you want to try the > > Programmable Filter. Information on that is available at > > http://www.paraview.org/Wiki/Python_Programmable_Filter. > > > > Regards, > > Andy > > > > On Fri, Mar 27, 2015 at 6:24 PM, Paul DesJardin <[email protected]> > wrote: > >> > >> Hi, > >> > >> I'm trying to save a subset of data generated from the > >> PlotSelectionOverTime filter. I tried using the PassArrays filter to > >> narrow my selection but the data doesn't appear under Point, Cell or > >> Field data options for that filter. The data in the > >> PlotSelectionOverTime is labeled as "Cell Statistics" and was created > >> using the following lines from a Python script... > >> > >> selection = SelectCells(query="id==0") > >> PSOT = PlotSelectionOverTime(Selection=selection) > >> PSOT.UpdatePipeline() > >> > >> Any help would be much appreciated.... > >> > >> Thanks, > >> > >> Paul > >> > >> -- > >> ========================================= > >> Paul DesJardin, Ph.D. > >> Professor > >> University at Buffalo, State University of New York > >> Buffalo, NY 14260-4400 > >> Tel: 716-645-1467 > >> email: [email protected] > >> web: cet.eng.buffalo.edu > >> ========================================= > > > > > > > > _______________________________________________ > > 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 > > > > > > -- > ========================================= > Paul DesJardin, Ph.D. > Professor > University at Buffalo, State University of New York > Buffalo, NY 14260-4400 > Tel: 716-645-1467 > email: [email protected] > web: cet.eng.buffalo.edu > ========================================= >
_______________________________________________ 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
