[Paraview] extract data over time from python
XXX Сергей
sj2001 at yandex.ru
Wed May 18 02:49:28 EDT 2011
Hello.
How do extract data over time from pyton?
I need load time series after this integrate variables and extract integration results over time and save as csv. So, I do:
from paraview.simple import *
reader=LegacyVTKReader( FileNames=..)
integration=IntegrateVariables()
cell2point = CellDatatoPointData( PieceInvariant=0, PassCellData=0 )
extractdata = ExtractDataOverTime()
writer=CreateWriter(outputfilebase+'.csv',extractdata)
writer.FieldAssociation = 'Points'
writer.UpdatePipeline()
But I got an error:
NameError: name 'ExtractDataOverTime' is not defined
Thanks.
More information about the ParaView
mailing list