Introduction
The user can find pre-defined IceCube log-likelihood analyses in “i3skyllh” project.
Setup
To set-up and run an analysis the following procedure applies:
Create an analysis instance.
Add the datasets and their PDF ratio instances via the
add_dataset()
method.Construct the log-likelihood ratio function via the
construct_llhratio()
method.Call the
do_trial()
orunblind()
method to perform a random trial or to unblind the data. Both methods will fit the global fit parameters using the set up data. Finally, the test statistic is calculated via thecalculate_test_statistic()
method.