Stephane 

I'm not sure of how you would do it currently, but here's what I'd do if I had 
to do it ...
(using c++) 

Have a look at TemporalShiftScale for an idea.
instead of changing the time values, delete all those before X, and those after 
Y, to give you your time range in the Time Requests. Now any filter operating 
with the new filter in place, will only see a subset of times available and the 
statistics filter will do what you want.
Load this new filter as a plugin and use it from python, setting the ranges 
appropriately.

It ought to be added to one of the temporal filters, (I have some changes that 
need to be committed so next time I look at this, I'll add a time range clamper 
function)

JB





-----Original Message-----
From: [email protected] [mailto:[email protected]] On 
Behalf Of Stéphane Backaert
Sent: 05 May 2011 12:33
To: [email protected]
Subject: [Paraview] Temporal statistics on a specific time range

Hello,

I would like to add something in one of my python scripts to tell temporal 
statistic filter to not use all time steps... At the moment, I create a 
directory containing only interesting vti files (vti data set beyond transient 
time)... not very efficient!

Any Idea?

Thanks in advance,

Best,
Stephane 
_______________________________________________
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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/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

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to