PyTransHelio: a Python tool for analyzing magnetic flux-weighted centroids of active regions and trans-equatorial loop footpoints in full-disk solar photospheric magnetograms
PyTransHelio:用于分析全日面太阳光球磁图中活动区磁通量加权质心与跨赤道环足点的 Python 工具
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 in full-disk magnetograms and supports the identification and analysis of footpoints in trans-equatorial loops. The tool addresses the operational complexity and lack of dedicated graphical user environments in traditional Interactive Data Language/SolarSoftWare 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 active region centroid positions and trans-equatorial loop 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.
展开 ▾将传统 IDL/SolarSoftWare 流程封装为“加载→点击→结果”三步操作,实现磁图头解析、三种坐标转换、磁极检测与足点距离计算的端到端自动化,显著降低使用门槛。
此前太阳光球磁图分析常依赖 IDL/SolarSoftWare 等工作流,操作复杂且缺乏专用图形界面;PyTransHelio 通过模块化设计统一了磁图头解析、像素/Stonyhurst/Carrington 三种坐标转换、自动磁极检测与足点距离计算,使活动区质心与跨赤道环足点间距能够快速获取。作为开源工具,它与传统活动区测光和跨赤道环连接性研究形成互补,提供标准化的自动量测流程。未来该架构有望扩展到更多全日面磁图数据源与批处理任务,并推动活动区演化、跨赤道环统计等方向向自动化、可复现发展。
刊出 2025-09-29 · 收录 2026-08-20