Capturing PyVista's user stories #2133
Replies: 20 comments 37 replies
-
what is your domain/background? I have a background in mathematics and computer science. Last year was more heavily 3D focused, with a major project looking at gravity inversions and the analysis of, so 3D capability was crucial there. Basically, whatever I needed to do, PyVista provided - quick visualisations for overviews, for conversations, for reports. The ability to take in data from elsewhere and analyse, with a bit of scripting Unlike some desktop software application, PyVista's pythoneseque api let it be plugged into pipelines, whether manual or automated on AWS. Also doesn't cost 10 grand a year for a licence where the program stops operating when you are not connected to the internet, or a vpn, etc. So more capable, more efficient, more flexible, for my use case. Which also leaves more money for science - [in this case, computational geophysics] Filters like slicing, thresholding, connected body analysis were very handy. The data analysis capabilities are the crucial part, to enable building other sorts of models. You can also quickly add some geospatial location to something like mtpy's model outputs in model space for overviews. A growing number of broad scale inversion models are being made available in Australia, so PyVista being able to handle this sort of data on the desktop saves time. When I was building a higher resolution geology model of South Australia - I could look at it. what is your familiarity with Python and the Python Data Science Stack? Several years. what is your experience level with 3D visualization? Used it occasionally in the past. More critical now. have you used other 3D visualization software in Python or otherwise (open source or otherwise)? Yes, Blender, Paraview, some things I don't remember the names of over the years, domain specific geoscience software. what was your experience between these software? Significant learning curves to work out. what are your primary visualization tools? At the moment? Python and R, with QGIS and Geoscience Analyst for domain specific geoscience things. PyVista <=> geoh5py is very handy. The data is the important thing and the analysis of such, visualisation is a byproduct of this to see that it makes sense. So tools that are designed for clicking and making bespoke models slowly over a long period of time aren't so useful. where would you like to see PyVista go? Distributed possibilities? Something like Holoviews/Napari? Allow higher resolution work at scale. |
Beta Was this translation helpful? Give feedback.
-
My work is in earthquake engineering. I use the finite element method and vibration analysis methods such as FFT as numerical analysis methods.
I am a big fan of Numpy, Scipy, and Matplotlib, and I use GetFEM for finite element analysis in Python (Fenics may be more major now).
GetFEM (and other OSS finite element software) outputs 3D data in VTK format, and while Matplotlib is useful as visualization software, it is not sufficient for 3D visualization and cannot read VTK. I used Paraview and Mayavi2 for a while, but I was not satisfied with them. Paraview is not Pythonic and cannot handle a large amount of processing because it requires mouse interaction. Mayavi2 was Pythonic, but the commands were difficult to understand (meaning they didn't work for me).
Now I'm a big fan of PyVista.
My only complaint about PyVista(VTK) is that the meshing capabilities of Delaunay2D and Delaunay3D are not good enough. Meshing is a very important factor in the finite element method. I know that tetgen is available in PyVista, but its license is difficult to use. |
Beta Was this translation helpful? Give feedback.
-
I'm using PyVista for my PhD research in Space Plasma Physics. I'm coming from about a decade experience working- I'm not knew to using and evaluating python packages. I was pulled in by the ability to calculate streamlines from vector fields on adaptive grids. I knew VTK could do this, but the "excessively object-oriented" (my words!) style of the VTK python library turned me off. Calculating streamlines is the kind of thing where I could write my own integrator... but that would just take time away from getting my science done. This library has been a huge help not only because the API is clean, but because it's heavily vetted code that I am 100% comfortable relying on for my research. I don't use much of the 3D visualization, because I have visualization tools already developed in matplotlib. |
Beta Was this translation helpful? Give feedback.
-
PyVista is used extensively within FEMORPH for data management and manipulation in conjunction with several Python C extensions. It's used for data visualization as well in a GUI developed using the PyVista is used within the PyAnsys project within several open (and closed but will likely be open) source projects for data visualization. The public gallery examples:
Expect several additional releases in the short term, most requiring PyVista.
|
Beta Was this translation helpful? Give feedback.
-
@banesullivan Thanks for the initiative, this is Awesome! what is your domain/background? I have a background in geology/hydrogeology. My workflows are 95 % open source. And PyVista has been recently included as a visualization/3D information extraction tool. So, I used PyVista to read 3D meshes done in a third-party program. These meshes were geological zones that I would later use for assigning model properties. I have also used PyVista to build a Finite-Grid from topography. PyVista was a life saviour as I could learn it fast enough to do some plotting and exporting the information for the numerical grid fast enough to convince a client to stay. What is your familiarity with Python and the Python Data Science Stack? Familiar with numpy/scipy/pandas etc and also some tensorflow Also, use some field-specific libraries such as Flopy/pcraster what is your experience level with 3D visualization? Low experience. Some Paraview. have you used other 3D visualization software in Python or otherwise (open source or otherwise)? Yes, Paraview. What was your experience between these software? I have only done basic visualization in Paraview. To be honest, PyVista helped a lot to plot just what I wanted. what are your primary visualization tools? Matplotlib. R's ggplot2. QGIS is also handy in my field. where would you like to see PyVista go? So, for this project, I needed to interpolate the 3D meshes into a finite grid. In the end. I was not successful in using the interpolate functions or other tools to directly do it in PyVista. After running out of time. I used the voxelize tool to generate sample points and do a simple interpolation in numpy. I would love to use PyVista to directly interpolate/intersect 3D elements into a finite grid (Or maybe irregular). This would simplify enormously my workflows and also be able to convince other colleagues to drop expensive software in favour of open-source solutions. I would also love to contribute to that. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Background in mathematics (phd in probabiity). Now I'm working as a statistician and programmer (mainly with R).
I'm rather still new to Python. We use it at my work now, and my boss asked me to learn (to do Flask applications for example).
I play for a long time with the R package rgl, a wrapper of OpenGL. I also played with the Haskell version of OpenGL, PovRAY, Asymptote and JavaScript (three.js for interactive 3D and paper.js for 2D). Now I believe I mostly use PyVista, just for fun, no applications. With rgl I don't know how to get shiny objects such as those you get in PyVista with a high specular value. Also, PyVista is faster.
I find it is cool as it is currently. There are some missing features though, e.g. the convex hull. And it would be nice to have an export to webgl (that's feasible with rgl). But maybe this is already implemented? |
Beta Was this translation helpful? Give feedback.
-
For the Delaunay tessellation and the convex hull, there is the Qhull library, available in C or C . However it fails sometimes for some cases which don't fail with the C library CGAL (harder to use). |
Beta Was this translation helpful? Give feedback.
-
What is your domain/background? My background is computer science, image processing and computer graphics. I like 3D stuff 😁. What is your familiarity with Python and the Python Data Science Stack? Although I was originally familiar with C and C , I had to transition to Python for my latest job and I was surprised how fast it is to get going. Now I can say I am procifient enough to be productive while developing my projects. And that's what I like with Python: right to the point 👍 ! What is your experience level with 3D visualization? Roughly 7 years of scientific visualization of data from various fields like CFD, astrophysics, molecular biology and neurophysiology. Have you used other 3D visualization software in Python or otherwise (open source or otherwise)? For work, I played with a few python packages: I also used ParaView pretty extensively for topological data analysis. Finally, I have fun with Blender as a hobby :) What are your primary visualization tools? Now, I'm all in with PyVista! Where would you like to see PyVista go? More testing, I want 100% code coverage 🤩 |
Beta Was this translation helpful? Give feedback.
-
what is your domain/background?
what is your familiarity with Python and the Python Data Science Stack?
have you used other 3D visualization software in Python or otherwise (open source or otherwise)?
what was your experience between these software?
how do you use PyVista?
where would you like to see PyVista go?
Thanks to the many PyVista developers (@akaszynski @banesullivan @adeak @MatthewFlamm @tkoyama010) who respond promptly to my inquiries, review my pull requests, and make this an awesome tool and community! |
Beta Was this translation helpful? Give feedback.
This comment has been hidden.
This comment has been hidden.
-
what is your domain/background? I'm an Earthquake Engineer based in Wellington, New Zealand. My daily job requires seismic analysis of buildings, bridges and wharves. I'm also study ground response used seismic motions. what is your familiarity with Python and the Python Data Science Stack? what is your experience level with 3D visualization? have you used other 3D visualization software in Python or otherwise (open source or otherwise)? what was your experience between these software? what are your primary visualization tools? where would you like to see PyVista go? Thanks to the great developer team. |
Beta Was this translation helpful? Give feedback.
-
Great. It is really encouraging for me. When I look at the examples, I feel out of place. |
Beta Was this translation helpful? Give feedback.
-
what is your domain/background? |
Beta Was this translation helpful? Give feedback.
-
Saw PyVista out in the wild at Using Ansys Scripting with pyMAPDL... |
Beta Was this translation helpful? Give feedback.
-
I generated a 3D view of road maintenance GPR What you are seeing is a radar investigation of the road underground, first ~30 centimeters driven in the city of Kaiserslautern.
I am a Geophysicist, this work is part of our research projects RADSPOT and ZEBRA .
Only a few basic blender tutrials and the basic tools used in Geophysics
|
Beta Was this translation helpful? Give feedback.
-
what is your domain/background? what is your familiarity with Python and the Python Data Science Stack? what is your experience level with 3D visualization? have you used other 3D visualization software in Python or otherwise (open source or otherwise)? what was your experience between these software? what are your primary visualization tools? where would you like to see PyVista go? I'd like to be able to use it within a broader software suite, but I need to enhance my PyQt5 skills further before venturing down that avenue. If PyVista has a published paper I will ensure I reference it in the next publication (discussions currently underway) Thank you! If you want to follow up on anything feel free to contact me. Like @GGDRriedel I also work with Geophysicists so when/if we have suitable GPR I'll look at PyVista |
Beta Was this translation helpful? Give feedback.
-
what is your domain/background? Example of using pyvista: I would like to thank all contributors to pyvista for this amazing software! Keep on with your great work! |
Beta Was this translation helpful? Give feedback.
-
Hi there 🖐️, my name is Andreas, I'm the author of 🔍 FElupe - a GPL-licensed Python package on finite element analysis for continuum mechanics of solid bodies. I've realized all plotting related tasks in FElupe with PyVista.
What is your domain/background?PhD candidate in mechanical engineering with a focus on computational methods. What is your familiarity with Python and the Python Data Science Stack?I'm using Python for all kinds of data analysis since 2015. I also maintain my own packages at PyPI, see https://github.com/adtzlr. What is your experience level with 3D visualization?Absolute beginner. Have you used other 3D visualization software in Python or otherwise (open source or otherwise)?ParaView with XDMF-files using meshio :) What was your experience between these software?Great, but I found it frustrating to always open a separate GUI for the smallest / easiest stuff. ExampleHere's a little code snippet for FElupe PyVista: import felupe as fem
mesh = fem.Cube(n=6)
region = fem.RegionHexahedron(mesh)
field = fem.FieldContainer([fem.Field(region, dim=3)])
boundaries, loadcase = fem.dof.uniaxial(field, clamped=True)
umat = material=fem.NeoHooke(mu=1)
solid = fem.SolidBodyNearlyIncompressible(umat, field, bulk=5000)
move = fem.math.linsteps([0, 1], num=5)
step = fem.Step(items=[solid], ramp={boundaries["move"]: move}, boundaries=boundaries)
job = fem.Job(steps=[step]).evaluate()
# create an instance of a PyVista plotter
plotter = field.plot("Principal Values of Logarithmic Strain")
plotter.show() Beside the ax = mesh.imshow()
ax = field.imshow("Principal Values of Logarithmic Strain")
ax = solid.imshow("Principal Values of Cauchy Stress") I'm using only basic features of PyVista in FElupe and return the plotter objects for further modifications. Thanks for developing PyVista! 🚀 |
Beta Was this translation helpful? Give feedback.
-
I finally managed to tame PyVista and our data formats to put our geophysical data into the 3D space All georeferenced, full data grids with all the goodness of VTK processing. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!! 👋🏻
It has been so exciting lately to see how many people are using PyVista across so many different domains, each with varying levels of experience in Python, 3D visualization, data science, and any combination of these.
🌠 Hoping to capture PyVista's impact
I would so appreciate it if you all could take a moment to share with the community a bit about your experience finding and using PyVista.
I'm hoping we can use this discussion topic to gain insight on not only people's overall experience (for better or worse) using PyVista, but also understand where people are coming from, how PyVista impacts their work, and where the community would like PyVista to go.
Some questions I have in mind that would be awesome if you could answer or expand on are (please suggest other questions/topics as well!):
I'd love to capture our users' (your) stories using PyVista and understand how this toolset is impacting people's work.
Please free free to share as much or little as you feel comfortable!
🙏🏻 A thank you to our community
Thank you! PyVista's amazing community of users enabled this software to grow and we owe PyVista's success to you all. I would love to see the community around PyVista continue to steer this software and further build an impactful data visualization and analysis library - I hope that any insights gained here will help to that end!
Beta Was this translation helpful? Give feedback.
All reactions