icecube / skyllh

https://icecube.github.io/skyllh/
GNU General Public License v3.0
11 stars 5 forks source link

add function to compute pval from gamma-fit to trials ... #102

Closed HansN87 closed 2 years ago

HansN87 commented 2 years ago

... to core/analysis_utils.py supplementing the existing direct calculation ( https://github.com/icecube/skyllh/blob/82d158ac96008befe6583aa4020079bb4dfd9190/skyllh/core/analysis_utils.py#L80 ).

Also add a function that switches between pvalue from trials and pvalue from fit methods depending on value of ts. If similar functionality exists elsewhere, please close.