PyTransHelio: A Python-based Tool for Calculating and Visualizing Magnetic Flux-Weighted Centroid of Active Regions, and Analyzing Footpoints of Trans-Equatorial Loops in Full-Disk Solar Photospheric Magnetograms
-
Abstract
This paper introduces PyTransHelio-a Python-based graphical interface tool designed for solar physics research, which automates the calculation of magnetic flux-weighted centroid coordinates of active regions (ARs) in full-disk magnetograms and supports the identification and analysis of footpoints in trans-equatorial loops (TLs). The tool addresses the operational complexity and lack of dedicated GUIs in traditional IDL/SSW workflows by integrating modules for magnetogram header parsing, three-coordinate system conversions (pixel/Stonyhurst/Carrington coordinates), automatic magnetic pole detection, and footpoint distance calculation, enabling end-to-end automation. Users can swiftly obtain AR centroid positions and TL footpoint spacings through an intuitive three-step workflow: "Load → Click → Results." Its modular architecture balances flexibility and extensibility, as an open-source tool, significantly lowering the barrier to solar photospheric magnetogram analysis.
-
-