Gaussian Random Magnetic Fields Approximation
Project description
Gaussian Random-fields Approximation for Magnetic-fields with Python Algorithms (GRAMPA)
Modelling magnetic fields as Gaussian random fields following a certain power spectrum and electron density profile as explained in Murgia+2004. Built for analysing Faraday rotation experiments of Galaxy clusters but could be more generally used for other magnetised plasmas depending on the properties.
magneticfieldmodels.ipynb shows an example for educational purposes.
If you use this code, please cite Osinga et al. 2022 (https://ui.adsabs.harvard.edu/abs/2022A%26A...665A..71O/abstract) and Osinga et al. 2025 (https://arxiv.org/abs/2408.07178). If you use the lognormal density fluctuations, please cite Khadir+2025 (in prep.) and PyFC (https://www.piwheels.org/project/pyfc/)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file grampa-0.0.1.tar.gz.
File metadata
- Download URL: grampa-0.0.1.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b8bc027fafcb8a06b38508dbc997e6415d6c64eccb293c0c0f5488051559a5d
|
|
| MD5 |
ac18c984040eabdeede6655e6047cd58
|
|
| BLAKE2b-256 |
bb9f584a3a4c15da346b5352409480b2be4145859330994484f9471636d77acf
|
File details
Details for the file grampa-0.0.1-py3-none-any.whl.
File metadata
- Download URL: grampa-0.0.1-py3-none-any.whl
- Upload date:
- Size: 44.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2df032565fe80f824e7626cb9a2c1a01ddf0d22b9d966374c7340075aa105844
|
|
| MD5 |
15a95ae2259f85b92fd5a06ce4b3506d
|
|
| BLAKE2b-256 |
8b3458e54eeaafef56eed6aabe116c5df429f5035ff57d7ecb52b8b13ca716e1
|