-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Paraview exporting with pyEVTK #14
Comments
I think this is something that fits pretty well in fdtd.visualize. It's indeed something that generally speaking can be useful to handle in user code too, but I think having a default way of visualizing in 3D is definitely something we need. Feel free to open a PR for this, maybe just move the vtk related imports into the |
I'd be happy to contribute an example showing how to integrate these simulations with napari a python multidimensional image viewer (note, I'm one of the maintainers of that package so am heavily biased!). We do 2D and 3D rendering, including timeseries, so should be able to cover the needs here. What's nice about the napari approach is I can be working on my simulations in a notebook and interacting with them in napari at the same time. I've been using napari to visualize some of my own simulations, here's a 2D one with a lens :-) fdtd_napari_2.mov |
Hey @sofroniewn , This is pretty cool! I would definitely like to see a PR for such an example 🙂 |
Great, I'll try and put this together into an example script when I get a chance! |
When testing 3D geometries, it seemed pretty helpful to dump .vtk files with object and field grids. The pyEVTK lib makes this pretty clean, might perhaps be worth an optional dependency?
On the other hand, perhaps this is something best handled by user code...
The text was updated successfully, but these errors were encountered: