Solar-MACH: An open-source tool to analyze solar magnetic connection configurations

Jan Gieseler, Nina Dresing, Christian Palmroos, Johan L. Freiherr von Forstner, Daniel J. Price +8 more
10/3/2022
99 citations
astro-ph.SRphysics.space-ph

Official code: jgieseler/solarmach (36 stars, Python, BSD-3-Clause, last commit 2026-10-12). 2 more implementations below.

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).

Show full abstract

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.

View on arXivView PDF

Code Implementations(3)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
jgieseler/solarmachOfficial36PythonBSD-3-Clause2026-10-12
serpentine-h2020/serpentineOfficial21Jupyter NotebookBSD-3-Clause2026-10-06
jgieseler/Solar-MACHOfficial21PythonBSD-3-Clause2026-10-12
BSD-3-Clause

Python package of the multi-spacecraft longitudinal configuration plotter Solar-MACH

369PythonMar 14, 20221 months agoBSD-3-Clause
esaheliophysicsspace-physicsspacephysicsspaceweather
BSD-3-Clause

Python tools and software developed by the SERPENTINE project for data downloading and performing of analysis and visualisation

214Jupyter NotebookMay 31, 20221 months agoBSD-3-Clause
BSD-3-Clause

The Solar MAgnetic Connection Haus (Solar-MACH) tool is a multi-spacecraft longitudinal configuration plotter

2112Python, HTMLJun 7, 20211 months agoBSD-3-Clause
heliophysicsheliospherepythonsolar-physicssolar-system+5 more

Similar Papers

Cite this paper

@article{gieseler2022solarmach,
  title  = {Solar-MACH: An open-source tool to analyze solar magnetic connection configurations},
  author = {Jan Gieseler and Nina Dresing and Christian Palmroos and Johan L. Freiherr von Forstner and Daniel J. Price and Rami Vainio and Athanasios Kouloumvakos and Laura Rodríguez-García and Domenico Trotta and Vincent Génot and Arnaud Masson and Markus Roth and Astrid Veronig},
  year   = {2022},
  eprint = {2210.00819},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.00819}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.00819.svg)](https://codeofpaper.com/paper/2210.00819)

Discussion