Python
Section author: Axel Huebl, Klaus Steiniger
If you are new to python, get your hands on the tutorials of the following important libraries to get started.
An easy way to get a Python environment for analysis of PIConGPU data up and running is to download and install Micromamba
https://mamba.readthedocs.io/en/latest/installation/micromamba-installation.html
and set up a Micromamba environment with the help of this Micromamba environment file
https://gist.github.com/steindev/d19263d41b0964bcecdfb1f47e18a86e
(see documentation within the file).
Numpy
Numpy is the universal swiss army knife for working on ND arrays in python.
Matplotlib
One common way to visualize plots:
Jupyter
Access, share, modify, run and interact with your python scripts from your browser:
openPMD-viewer
An exploratory framework that visualizes and analyzes data in our HDF5 files thanks to their openPMD markup. Automatically converts units to SI, interprets iteration steps as time series, annotates axes and provides some domain specific analysis, e.g. for LWFA. Also provides an interactive GUI for fast exploration via Jupyter notebooks.
openPMD-api
A data library that reads (and writes) data in our openPMD files (ADIOS2 and HDF5) to and from Numpy data structures. Provides an API to correctly convert units to SI, interprets iteration steps correctly, etc.
yt-project
With yt 3.4 or newer, our HDF5 output, which uses the openPMD markup, can be read, processed and visualized with yt.