Thanks to visit codestin.com
Credit goes to github.com

Skip to content

me-manu/ebltable

Repository files navigation

ebltable

Latest Release Build Documentation License Issues DOI

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/.

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:

  1. State your request — briefly mention that you would like your model added.

  2. Provide a paper reference — include the full citation or a link to the publication describing the EBL model (e.g. arXiv ID or DOI).

  3. 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.

About

Python package to read in tabulated photon densities and gamma-ray opacities

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors