[Paraview] ParaView numpy interface question

2016-04-04 Thread Dean, Kevin
Hey all, I have a quick question about setting scalar values with the python macro inside paraview. So I have two images that I want to do scalar manipulation with. *example code:* from paraview import simple from vtk.util import numpy_support as npvtk import vtk.numpy_interface.dataset_adap

Re: [Paraview] ParaView numpy interface question

2016-04-14 Thread Cory Quammen
Kevin, You would probably be better off using a Programmable Filter to perform this operation. It will take two inputs and produce one output that you can render directly - no need to write and read and intermediate file. HTH, Cory On Mon, Apr 4, 2016 at 3:46 PM, Dean, Kevin wrote: > Hey all,