Python packages to read in and interpolate tables for the photon density of the Extragalactic Background Light (EBL) and the resulting opacity for high energy gamma rays.
The full documentation is available at https://ebltable.readthedocs.io/en/latest/.
Python 3.8 or higher and the following packages:
- numpy >= 1.19
- scipy >= 1.7
- astropy >= 4.0
You can use pip to install the package:
pip install ebltable
Example scripts and notebooks are provided on the github page in the example/ and notebooks/ folder, https://github.com/me-manu/ebltable
If you would like to have your EBL model included in ebltable, please open a GitHub issue and include the following information:
State your request — briefly mention that you would like your model added.
Provide a paper reference — include the full citation or a link to the publication describing the EBL model (e.g. arXiv ID or DOI).
Upload the data files — attach two ASCII tables to the issue:
- EBL intensity table
An n × m matrix of EBL intensities νIν [nW m-2 sr-1] for n redshifts and m wavelengths (in µm). The table must include a column for z = 0. See ebl_saldana21_comoving.txt for a worked example of the expected layout.
- Optical depth table
An n × m matrix of optical depth values τ for n redshifts and m gamma-ray energies (in TeV or GeV — please specify the unit). See ebl_dominguez11.out for a worked example of the expected layout.
ebltable is distributed under the modified BSD License.