Saved in:
| Main Authors: | , |
|---|---|
| Format: | Preprint |
| Published: |
2025
|
| Subjects: | |
| Online Access: | https://arxiv.org/abs/2511.07538 |
| Tags: |
Add Tag
No Tags, Be the first to tag this record!
|
| _version_ | 1866911260870705152 |
|---|---|
| author | Nadol, Lilli Neukirch, Thomas |
| author_facet | Nadol, Lilli Neukirch, Thomas |
| contents | 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. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2511_07538 |
| institution | arXiv |
| publishDate | 2025 |
| record_format | arxiv |
| spellingShingle | MHSXtraPy -- A Python code for the extrapolation of magnetohydrostatic fields on the Sun using analytical solutions Nadol, Lilli Neukirch, Thomas Solar and Stellar Astrophysics 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. |
| title | MHSXtraPy -- A Python code for the extrapolation of magnetohydrostatic fields on the Sun using analytical solutions |
| topic | Solar and Stellar Astrophysics |
| url | https://arxiv.org/abs/2511.07538 |