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.
Prerequisites
Python 3.8 or higher and the following packages:
numpy >= 1.19
scipy >= 1.7
astropy >= 4.0
Installation
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
Adding a New EBL Model
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.
License
ebltable is distributed under the modified BSD License.
Metadata
Release files for ebltable 0.6.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ebltable-0.6.4.tar.gz | 9.5 MB | With provenance | Details for ebltable-0.6.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ebltable-0.6.4-py3-none-any.whl | Python 3 | none | any | Details for ebltable-0.6.4-py3-none-any.whl |
Total release size: 19.0 MB
Release files / ebltable-0.6.4.tar.gz
| Download URL | ebltable-0.6.4.tar.gz |
|---|---|
| Size | 9.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59358cd66c92e6adc8b4ef9be068b881b3ff644943d01d7e7a41b2f2e349d7fa
|
|
BLAKE2b-256 checksum How to use checksums |
b4672859cc4e9e87a4018e5f3ad0de3250f5ba0977bde845feee471a7b632bd5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.
Transparency logRelease files / ebltable-0.6.4-py3-none-any.whl
| Download URL | ebltable-0.6.4-py3-none-any.whl |
|---|---|
| Size | 9.4 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b14065a0e95d7f312ec2234cdba080afb950ec39f854d6cac1c76f2162ec004c
|
|
BLAKE2b-256 checksum How to use checksums |
2be86dff3be24319ac14f9319edf2a137c9210ababa1b6567e19707c3278bb2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.
Transparency logSecurity for ebltable 0.6.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for ebltable-0.6.4.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.