PGLIS solar-modulated galactic cosmic-ray flux model
Project description
The PgLis model
PgLis is a model developed to forecast the flux of solar-modulated galactic cosmic-rays near Earth.
We modelled the different transport parameters that cosmic rays experience as they traverse the heliosphere to arrive at Earth (article link available soon), parametrised them as functions of solar activity, using the widely available sunspot number as a proxy (see NOAA), which we delay according to Tomassetti et al. (2022) to account for transport time.
This allows us to estimate the fluxes of cosmic nuclei near Earth, from Hydrogen to Nickel, as they evolve with solar activity.
This package is a Python implementation that interpolated between the pre-computed tables available in Zenodo. It downloads the data from Zenodo and the sunspot numbers from NOAA.
Flux model for both solar magnetic polarities, for cosmic hydrogen.
Scientific background
The modulation of galactic cosmic rays, driven by the evolution of the heliospheric magnetic field, strongly influences the intensity of cosmic rays reaching near-Earth space. Characterizing this process is crucial both for advancing our understanding of cosmic ray transport and for assessing radiation exposure and related hazards in space environments.
Here we present the PgLis model, a newly developed forecasting framework built upon our previous work, designed for the long-term forecasting of galactic cosmic-ray fluxes.
The model is the result of a collaboration between the Università degli Studi di Perugia (Pg) and the Laboratório de Instrumentação e Física Experimental de Partículas in Lisbon (Lis), and is based on a numerical description of charged-particle transport in the heliosphere and its dependence on solar activity.
The PgLis model has been validated using multi-species flux measurements from space-based instruments such as PAMELA, AMS-02, and ACE. Its strategy is based upon Hilbert-Huang transform filtering and cross-correlation between delayed solar proxies and effective model parameters.
It demonstrates a demonstrably good performance across a broad multichannel and multi-species testing dataset, spanning different energy ranges and solar phases. These advancements enhance its applicability to space radiation monitoring and forecasting. Furthermore, when coupled with solar-proxy forecasting models, PgLis enables decadal-scale predictions of galactic cosmic-ray fluxes, thereby supporting long-term planning and radiation-risk assessment for future space missions.
Usage examples
More examples can be found in tutorial.ipynb.
Getting the flux for a given time
# setup model
model = pglis.solar_mod()
# defining the time - 2001/06/01
t = datetime.datetime(2001, 6, 1).timestamp()
# getting the flux as a dataframe
df = model.get_dataframe_flux_vs_energy(Z=1, time=t)
Installation
From GitHub
To install this package you can run the following commands:
# download the repository
git clone git@github.com:davidpelosi21/PgLis.git
# install the package
python3 -m pip install .
From PyPi
python3 -m pip install pglis
Uninstalling the package
To remove the package you must first remove the data, this can be done by running a command that comes bundled with the package:
pglis-cleanup
To uninstall the package, regardless of the data, you can simply run the following command:
python3 -m pip uninstall pglis
Authors
David Pelosi1,2, Fernando Barão3,4, Bruna Bertucci1,2, Emanuele Fiandrini1,2, Miguel Orcinha2 and Nicola Tomassetti1,2
1 Università degli Studi di Perugia, Perugia 06100, Italy
2 INFN - Perugia, Perugia 06100, Italy
3 Laboratório de Instrumentação e Física Experimental de Partículas, Lisboa 1000, Portugal
4 Instituto Superior Técnico, Lisboa 1049, Portugal
Maintainers
David Pelosi1,2 E-mail
Miguel Orcinha2 E-mail
How to cite
This package was created to simplify and systematise the access to the flux model presented in the article Pelosi et al. (2026) The PgLis Model: A Tool for Long-Term Galactic Cosmic Ray Forecasting, Phys. Rev. D, (under review).
The heatmaps with the discretised model used in this package can be found in Zenodo.
Acknowledgements
This work as been developped with support from Agenzia Spaziale Italiana (ASI), under ASI-UniPG 2019-2-HH.0, ASI-INFN 2019-19 HH.0, its amendment 2021-43 HH.0, the Italian Ministry of University and Research (MUR) through the program "Dipartimenti di Eccellenza 2023-2027" and Fundação para a Ciência e Tecnologia (FCT) under grant 2024.00992.CERN, Portugal.
Project details
Release history Release notifications | RSS feed
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 pglis-1.0.1.tar.gz.
File metadata
- Download URL: pglis-1.0.1.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69d13f8e3618cc7bb4c3c4d0ab0093fffa801551014b6d0f87889844593f2b7b
|
|
| MD5 |
a78a7468cbf78058097508b86ea319e3
|
|
| BLAKE2b-256 |
864b0de7cc11dd9ac73bc5ae53d653ffd9d4f7df2776a11e554b39f3a854b490
|
File details
Details for the file pglis-1.0.1-py3-none-any.whl.
File metadata
- Download URL: pglis-1.0.1-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a02d7979565bf609db364909f4f1ee64c25d7e358f6ccd11e3588ee65e7a0ab7
|
|
| MD5 |
424742018d63aee7eb938c6ed01e9f4b
|
|
| BLAKE2b-256 |
59730282dda103f67fae13ec9bec00814cc85526ec0385a634883ae52a7d8753
|