Re: [Paraview] reading MATLAB file

2017-10-12 Thread Mauro Fontana
Hi Randy I'm not sure if it is what you are asking, but this might be useful: https://blog.kitware.com/easy-customization-of-the-paraview-python-programmable-filter-property-panel/ . That way you can have a GUI field for the path of the .mat file to read, much more convenient that changing the

Re: [Paraview] reading MATLAB file

2017-10-11 Thread Heiland, Randy
Not sure, but think it’s irrelevant for my particular use. I'm going to try the Programmable Source (Python script) approach (and use scipy.io.loadmat to read my .mat file). Maybe I missed it - is there a way to read in this script from a file? (copy/pasting into the Pgmable Source widget

Re: [Paraview] reading MATLAB file

2017-10-11 Thread Berk Geveci
Is there a Python API to read .mat files? What is the underlying structure? I kind of remember them using HDF5 for some stuff... On Tue, Oct 10, 2017 at 2:18 PM, Heiland, Randy wrote: > Hello, > > I have some matlab files I’d like to get into PV. Initially, the data is > quite

[Paraview] reading MATLAB file

2017-10-10 Thread Heiland, Randy
Hello, I have some matlab files I’d like to get into PV. Initially, the data is quite simple: sphere centers, radii, color attribute (a few 100K spheres). In the past, I’ve manually converted the files into .vtk formats using Python w/ scipy to load/parse the .mat files. But I’d like to avoid