Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query on using EBL model for EBL correction #155

Closed
sushmitaagarwal opened this issue Oct 3, 2023 · 4 comments
Closed

Query on using EBL model for EBL correction #155

sushmitaagarwal opened this issue Oct 3, 2023 · 4 comments

Comments

@sushmitaagarwal
Copy link

I want to evaluate the level of EBL absorption in a LAT spectrum. I came across this girhub repository which provided a hint that some package is available for using different model (e.g. Franceschini 2008, Stecker et al 2006) for EBL correction. I cannot figure out a way to use these models in the ExpCutoff fitting. I also came across issue number #57 which hinted at a possible way to measure the level of absorption for different models.
How can I include different EBL models for cutoff correction?
Please suggest

@nmirabal
Copy link

The XML format for including the EBL in the ExpCutoff fitting is as follows. You can see the differences in the "spectrum type" line and the EBL lines that follow the ExpCutoff definition. There you have to adjust redshift, tau_norm to your source and value in ebl_model refers to the models described in https://github.com/fermi-lat/celestialSources/blob/master/eblAtten/data/README_EBLmodels.txt

Finally, make sure that RA and Dec in skydirfunction are correct for your source position

@nmirabal
Copy link

Right click to download XML file
https://fermi.gsfc.nasa.gov/ssc/data/analysis/scitools/expebl.xml

@nmirabal nmirabal reopened this Oct 30, 2023
@sushmitaagarwal
Copy link
Author

Can you also specify what is tau_norm parameter for a source?

@nmirabal
Copy link

That's the optical depth for the EBL model. You can read more about that in the following link for instance
https://arxiv.org/pdf/1705.10256v1.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants