me-manu / ebltable

Python package to read in tabulated photon densities and gamma-ray opacities
BSD 3-Clause "New" or "Revised" License
12 stars 12 forks source link

CUBA EBL model units #8

Open saraporrasbedmar opened 1 month ago

saraporrasbedmar commented 1 month ago

The CUBA EBL model is not in comoving units.

Proposed solution in line 174, in 'ebl_from_model.py': nuInu /= ((1. + z)**3.)[np.newaxis, :]