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

Add note that to use KL divergence runwise bkgs need to be appended to all datastore runs #49

Open
samanthalwong opened this issue Jun 6, 2024 · 2 comments
Assignees
Labels

Comments

@samanthalwong
Copy link
Collaborator

Running KL_DIV = True gives an error (no "BACKGROUND" header attached to DL3 file) if the user has not generated runwise bkgs for datastore runs. Might be good to add somewhere that this needs to be done + point to script to do so to facilitate onboarding of new users (since it's a bit of a cryptic error).

@steob92
Copy link
Collaborator

steob92 commented Jun 6, 2024

This is already included in the docs:

https://github.com/VERITAS-Observatory/gammapy-tools/blob/main/docs/backgrounds.md

I guess we could do a check and return a link to the docs page?

@samanthalwong
Copy link
Collaborator Author

Oops I didn't see that! Will link in the notebook then

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

No branches or pull requests

2 participants