AUTHOR=Gieseler Jan , Dresing Nina , Palmroos Christian , Freiherr von Forstner Johan L. , Price Daniel J. , Vainio Rami , Kouloumvakos Athanasios , Rodríguez-García Laura , Trotta Domenico , Génot Vincent , Masson Arnaud , Roth Markus , Veronig Astrid TITLE=Solar-MACH: An open-source tool to analyze solar magnetic connection configurations JOURNAL=Frontiers in Astronomy and Space Sciences VOLUME=9 YEAR=2023 URL=https://www.frontiersin.org/journals/astronomy-and-space-sciences/articles/10.3389/fspas.2022.1058810 DOI=10.3389/fspas.2022.1058810 ISSN=2296-987X ABSTRACT=

The Solar MAgnetic Connection HAUS1 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.