Projects per year
Abstract
We present a Python code for calculating and displaying magnetic field extrapolations from given 2D 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 parametrizations of this transition and includes functions to compute magnetic fields, plasma pressure, and density. Fast Fourier methods ensure efficient computation, and the output includes 3D visualizations of field lines and plasma structures. The implementation is optimized 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.
| Original language | English |
|---|---|
| Article number | rzaf053 |
| Number of pages | 9 |
| Journal | RAS Techniques and Instruments |
| Volume | 4 |
| DOIs | |
| Publication status | Published - 28 Nov 2025 |
Keywords
- Software
- Numerical methods
- Sun: MHS
- Sun
- Magnetic field
- Sun: extrapolation
Fingerprint
Dive into the research topics of 'MHSXtraPy: a Python code for the extrapolation of magnetohydrostatic fields on the Sun using analytical solutions'. Together they form a unique fingerprint.Projects
- 2 Finished
-
Solar and Magnetospheric Plasmas: Solar and Magnetospheric Plasmas: Theory and Application
Neukirch, T. (PI), Archontis, V. (CoI), De Moortel, I. (CoI), Hood, A. (CoI), Mackay, D. (CoI), Parnell, C. (CoI) & Wright, A. (CoI)
Science & Technology Facilities Council
1/04/22 → 31/03/25
Project: Standard
-
Solar and Magnetospheric: Solar and Magnetospheric Magnetohydrodynamics and Plasmas: Theory and Application
Hood, A. (PI), Archontis, V. (CoI), De Moortel, I. (CoI), Mackay, D. (CoI), Neukirch, T. (CoI), Parnell, C. (CoI) & Wright, A. (CoI)
Science & Technology Facilities Council
1/04/19 → 31/03/22
Project: Standard