Welcome to the ebltable documentation!

ebltable is a Python package for reading, interpolating, and computing with tables of the Extragalactic Background Light (EBL) photon density and the resulting opacity for high-energy gamma rays.

The package provides two main classes:

  • EBL — interpolates EBL photon density models and computes the optical depth by numerical integration.

  • OptDepth — interpolates pre-computed optical depth tables and provides helper functions for spectral analysis.

Getting Started

For installation instructions see the Installation page.

For a quick start, take a look at the Tutorials.

The full API is documented on the API Reference page.

Getting Help

If you encounter problems or have suggestions, please open a GitHub Issue.

Documentation Contents

ebltable Package

Indices and tables