Dear Einstein Toolkit community,
kuibit 1.5.0 was just released.
kuibit 1.5.0 comes with one big feature and one important fix.
The fix is for the (unmaintained) tikzplotlib package, which stopped working with recent versions of matplotlib. This led to problems with using the `visualize` module in kuibit.
Second, more excitingly, kuibit now comes with experimental support for reading OpenPMD grid files, such as the ones produced by CarpetX.
This is the result of the impressive year-long effort by high-school student Krishiv Bhatia, supervised by Erik Schnetter and Lucas Carneiro.
kuibit abstractions work in the same way regardless of the file format (ASCII, HDF5, or OpenPMD).
For example, the following piece of code plots a equatorial slice of a 3D field: ``` import kubit sd = SimDir("PATH_TO_SIM_OUTPUT") iteration_num = 0 kuibit.visualize_matplotlib.plot_color(sd.gf.xyz["my_var"][iteration_num].sliced(cut=[None, None, 0]), shape = [100, 100]) ```
Support for reading OpenPMD files should be considered experimental at this point. Please, report any issue you might find.
https://github.com/Sbozzolo/kuibit
Best, Gabriele