Solar-MACH: An open-source tool to analyze solar magnetic connection configurations
Abstract
The Solar MAgnetic Connection HAUS tool (Solar-MACH) is an open-source tool completely written in Python that derives and visualizes the spatial configuration and solar magnetic connection of different observers (i.e., spacecraft or planets) in the heliosphere at different times. For doing this, the magnetic connection in the interplanetary space is obtained by the classic Parker Heliospheric Magnetic Field (HMF). In close vicinity of the Sun, a Potential Field Source Surface (PFSS) model can be applied to connect the HMF to the solar photosphere. Solar-MACH is especially aimed at providing publication-ready figures for the analyses of Solar Energetic Particle events (SEPs) or solar transients such as Coronal Mass Ejections (CMEs). It is provided as an installable Python package (listed on PyPI and conda-forge), but also as a web tool at solar-mach.github.io that completely runs in any web browser and requires neither Python knowledge nor installation. The development of Solar-MACH is open to everyone and takes place on GitHub, where the source code is publicly available under the BSD 3-Clause License. Established Python libraries like sunpy and pfsspy are utilized to obtain functionalities when possible. In this article, the Python code of Solar-MACH is explained, and its functionality is demonstrated using real science examples. In addition, we introduce the overarching SERPENTINE project, the umbrella under which the recent development took place.
- Publication:
-
Frontiers in Astronomy and Space Sciences
- Pub Date:
- February 2023
- DOI:
- 10.3389/fspas.2022.1058810
- arXiv:
- arXiv:2210.00819
- Bibcode:
- 2023FrASS...958810G
- Keywords:
-
- Python (programming language);
- Software package;
- Solar Energetic Particle (SEP);
- corona;
- Coronal mass ejection (CME);
- Spacecraft;
- heliosphere;
- Astrophysics - Solar and Stellar Astrophysics;
- Physics - Space Physics
- E-Print:
- 14 pages, 5 figures