GitPedia

VisualPIC

Data Visualization for Particle-in-Cell Codes.

From AngelFP·Updated June 17, 2026·View on GitHub·

VisualPIC is currently undergoing a major rewrite of its codebase. Certain limitations in the design of the initial versions led to ever growing issues and unnecessary complexity when expanding its functionality to, for example, handle data with different geometries. To overcome these and other problems, a new completely redesigned version is being developed with a focus on the following key aspects: The project is written primarily in Python, distributed under the GNU General Public License v3.0 license, first published in 2016. Key topics include: data-analysis, data-visualization, openpmd, particle-in-cell, python.

Latest release: 0.5.2
March 13, 2024View Changelog →

VisualPIC - Data Visualization for Particle-in-Cell Codes

Highlight image

v0.5: A redesigned VisualPIC

VisualPIC is currently undergoing a major rewrite of its codebase. Certain limitations in the design of the initial versions led to ever growing issues and unnecessary complexity when expanding its functionality to, for example, handle data with different geometries. To overcome these and other problems, a new completely redesigned version is being developed with a focus on the following key aspects:

  • Providing a simple API for data access which is common for all supported simulation codes and data formats and can handle all possible geometries.

  • On top of this, develop APIs for 2D and 3D data visualization which are fully decoupled from the GUI and can be easily used for scripting.

  • The code should be well documented and (finally) adhere to the PEP-8 style guide.

This branch contains the latest developments in the new redesign and gives you a preview of what is ahead for VisualPIC 0.5. At the time of writing, the main features of the APIs for data reading and 3D visualization have been implemented. The images below (as well the render on top) showcase some of the possibilities offered by this new version.

<p align="center"> <img alt="Sample image" src="images/sample_image_3d_renderer.png" width="400px" /> <img alt="Sample image" src="images/sample_image_3d_renderer_6.png" width="400px" /> </p>

If you want to test it by yourself, follow the instructions below and check out the provided example here.

How to install

  1. Install the development branch of VisualPIC:
bash
python -m pip install git+https://github.com/AngelFP/VisualPIC.git@dev
  1. If you want to use the 3D rendering features and GUI, you will also need to install VTK, pyvista and PyQt5:
bash
python -m pip install vtk pyvista pyqt5

Citing VisualPIC

If you use VisualPIC to produce plots or figures for any scientific work, please provide a reference to the following publication:

A. Ferran Pousa et al., VisualPIC: A New Data Visualizer and Post-Processor for Particle-in-Cell Codes, presented at IPAC’17, Copenhagen, Denmark, May 2017, paper TUPIK007.

Contributors

Showing top 6 contributors by commit count.

View all contributors on GitHub →

This article is auto-generated from AngelFP/VisualPIC via the GitHub API.Last fetched: 6/27/2026