arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.07538astro-ph.SR
收藏

MHSXtraPy——用于利用解析解外推太阳磁流体静力学场的Python代码

MHSXtraPy -- A Python code for the extrapolation of magnetohydrostatic fields on the Sun using analytical solutions

University of St Andrews(圣安德鲁斯大学)

Lilli Nadol, Thomas Neukirch

AI总结:

该研究提出Python代码MHSXtraPy,基于解析磁流体静力学模型外推太阳磁场,纳入非无力到无力场过渡并支持参数化,通过快速傅里叶方法实现高效计算与可视化,适用于研究和教育。

摘要:

我们提出了一个Python代码,用于从给定的二维边界条件(特别是太阳表面磁图)计算和显示磁场外推结果。该代码实现了解析磁流体静力学模型,这些模型纳入了太阳大气中非无力磁场到无力磁场的过渡。它允许对这种过渡进行不同的参数化,并包含计算磁场、等离子体压力和密度的函数。快速傅里叶方法确保高效计算,输出包括场线和等离子体结构的三维可视化。该实现针对易用性和速度进行了优化,使其适用于研究和教育目的。运行该代码的唯一前提是Python编译器。所有源代码、示例、输入文件、解决方案和说明均可从GitHub下载。

英文摘要:

We present a Python code for calculating and displaying magnetic field extrapolations from given two-dimensional boundary conditions, specifically from solar surface magnetograms. The code implements analytical magnetohydrostatic models that incorporate the transition from non-force-free to force-free magnetic fields in the solar atmosphere. It allows for different parameterisations of this transition and includes functions to compute magnetic fields, plasma pressure, and density. Fast Fourier methods ensure efficient computation, and the output includes three-dimensional visualisations of field lines and plasma structures. The implementation is optimised for accessibility and speed, making it suitable for both research and educational purposes. The only prerequisite for running the code is a Python compiler. All source code, examples, input files, solutions, and instructions are available for download from GitHub.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑