cosimoNigro / agnpy

Modelling jetted Active Galactic Nuclei radiative processes with python
https://agnpy.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
47 stars 32 forks source link

Problem about load_absorption_table in class EBL #143

Closed huangylei closed 1 year ago

huangylei commented 1 year ago

I've found differences in the EBL absorption(with Saldana-Lopez model) between agnpy and the data released by Saldana-Lopez.

Then I checked the function load_absorption_table and found that all the models use np.unique() to return the sorted unique elements of an array. However, we don't need to sort data in Saldana-Lopez model.