PyPLUTO: a data analysis Python package for the PLUTO code

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mattia, Giancarlo, Crocco, Daniele, Fuksman, David Melon, Bugli, Matteo, Berta, Vittoria, Puzzoni, Eleonora, Mignone, Andrea, Vaidya, Bhargav
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911158608330752
author Mattia, Giancarlo
Crocco, Daniele
Fuksman, David Melon
Bugli, Matteo
Berta, Vittoria
Puzzoni, Eleonora
Mignone, Andrea
Vaidya, Bhargav
author_facet Mattia, Giancarlo
Crocco, Daniele
Fuksman, David Melon
Bugli, Matteo
Berta, Vittoria
Puzzoni, Eleonora
Mignone, Andrea
Vaidya, Bhargav
contents In recent years, numerical simulations have become indispensable for addressing complex astrophysical problems. The MagnetoHydroDynamics (MHD) framework represents a key tool for investigating the dynamical evolution of astrophysical plasmas, which are described as a set of partial differential equations that enforce the conservation of mass, momentum, and energy, along with Maxwell's equations for the evolution of the electromagnetic fields. Due to the high nonlinearity of the MHD equations (regardless of their specifications, e.g., classical/relativistic or ideal/resistive), a general analytical solution is precluded, making the numerical approach crucial. Numerical simulations usually end up producing large sets of data files, and their scientific analysis leans on dedicated software designed for data visualization. However, in order to encompass all of the code output features, specialized tools focusing on the numerical code may represent a more versatile and built-in tool. Here, we present PyPLUTO, a Python package tailored for efficient loading, manipulation, and visualization of outputs produced with the PLUTO code (Mignone et al., 2007; Mignone et al., 2012). PyPLUTO uses memory mapping to optimize data loading and provides general routines for data manipulation and visualization. PyPLUTO also supports the particle modules of the PLUTO code, enabling users to load and visualize particles, such as cosmic rays (Mignone et al., 2018), Lagrangian (Vaidya et al., 2018), or dust (Mignone et al., 2019) particles, from hybrid simulations. A dedicated Graphical User Interface simplifies the generation of single-subplot figures, making PyPLUTO a powerful yet user-friendly toolkit for astrophysical data analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2501_09748
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PyPLUTO: a data analysis Python package for the PLUTO code
Mattia, Giancarlo
Crocco, Daniele
Fuksman, David Melon
Bugli, Matteo
Berta, Vittoria
Puzzoni, Eleonora
Mignone, Andrea
Vaidya, Bhargav
Instrumentation and Methods for Astrophysics
In recent years, numerical simulations have become indispensable for addressing complex astrophysical problems. The MagnetoHydroDynamics (MHD) framework represents a key tool for investigating the dynamical evolution of astrophysical plasmas, which are described as a set of partial differential equations that enforce the conservation of mass, momentum, and energy, along with Maxwell's equations for the evolution of the electromagnetic fields. Due to the high nonlinearity of the MHD equations (regardless of their specifications, e.g., classical/relativistic or ideal/resistive), a general analytical solution is precluded, making the numerical approach crucial. Numerical simulations usually end up producing large sets of data files, and their scientific analysis leans on dedicated software designed for data visualization. However, in order to encompass all of the code output features, specialized tools focusing on the numerical code may represent a more versatile and built-in tool. Here, we present PyPLUTO, a Python package tailored for efficient loading, manipulation, and visualization of outputs produced with the PLUTO code (Mignone et al., 2007; Mignone et al., 2012). PyPLUTO uses memory mapping to optimize data loading and provides general routines for data manipulation and visualization. PyPLUTO also supports the particle modules of the PLUTO code, enabling users to load and visualize particles, such as cosmic rays (Mignone et al., 2018), Lagrangian (Vaidya et al., 2018), or dust (Mignone et al., 2019) particles, from hybrid simulations. A dedicated Graphical User Interface simplifies the generation of single-subplot figures, making PyPLUTO a powerful yet user-friendly toolkit for astrophysical data analysis.
title PyPLUTO: a data analysis Python package for the PLUTO code
topic Instrumentation and Methods for Astrophysics
url https://arxiv.org/abs/2501.09748