Skip to content

Commit

Permalink
Highest posterior density 90% credible region
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Sommani committed Dec 10, 2024
1 parent a4a5e61 commit 4eed216
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skyreader/plot/plotting_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def format_fits_header(
if llh_map:
uncertainty_comment = 'Change in 2LLH based on Wilks theorem'
else:
uncertainty_comment = 'Area with 50%(90%) total probability'
uncertainty_comment = 'Highest posterior density 90% credible region'

header = [
('RUNID', run_id),
Expand All @@ -44,7 +44,7 @@ def format_fits_header(
'90% containment error high'),
('DEC_ERR_MINUS', np.round(np.abs(uncertainty[1][0]),2),
'90% containment error low'),
('COMMENTS', '50%(90%) uncertainty location' \
('COMMENTS', '90% uncertainty location' \
+ ' => ' + uncertainty_comment),
('NOTE', 'Please ignore pixels with infinite or NaN values.' \
+ ' They are rare cases of the minimizer failing to converge')
Expand Down

0 comments on commit 4eed216

Please sign in to comment.