data module
Module to load and process antiproton data.
Contains class for AMS-02 7-year antiproton data. Module can be easily extended with additional classes for new datasets.
- pbarlike.data.R_to_Ekin(R, z=-1, A=1, m=0.9382720881604903)
Converts R in GV to kinetic energy per nucleon in GeV,
\[E_k / A = \sqrt{(RZ/A)^2 + m^2}\]
- class pbarlike.data.ams02Data(include_low_energy=False)
Bases:
objectClass to load and process AMS-02 7-year dataset.
Note
Always add new classes with same attributes for compatibility with rest of the code.
Measurements below \(10 \ GeV\) are neglected by default, due to uncertainties induced by approximate modeling of solar modulation.
AMS-02 data correlations have not been made public by the AMS collaboration. The data correlations included here were modeled in [5].
- pbar_flux
Antiproton flux values in \((m^2 \ sr \ s \ GeV)^{-1}\)
- Type:
1D array
- energy
\(GeV\) energies at which antiproton flux values are measured.
- Type:
1D array
- errors
Uncorrelated data errors.
- Type:
1D array
- correlations
Data correlations.
- Type:
2D array
- Parameters:
include_low_energy (bool) – Whether or not to include low energy region affected by solar modulation; default - False.
- pbarlike.data.flux_in_Ekin(flux_in_R, R, z=-1, A=1, m=0.9382720881604903)
Converting flux \((m^2 \ sr \ s \ GV)^{-1}\) in R to flux \((m^2 \ sr \ s \ GeV)^{-1}\) in E,
\[\frac{d \phi}{d R} \frac{d R}{d (E_k/A)} = \frac{d \phi}{d R} \frac{1}{R} (\frac{A}{Z})^2 \sqrt{( \frac{RA}{Z})^2 + m^2}\]