[Paraview] Newbie question on Python Programmable Filters

Hal Canary hal at cs.unc.edu
Tue Sep 4 15:22:01 EDT 2012


On 09/04/2012 02:20 PM, Frank Horowitz wrote:
> x = inputs[0].PointData['Scalars_']


I thought one needs to convert a vtkarray to a numpy array with

	x = numpy.array(inputs[0].PointData['Scalars_'])

before doing anything with it.


More information about the ParaView mailing list