icecube / skyllh

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

SkyLLH

Tests Docs License: GPL-3.0 PyPI - Version conda-forge

[Full documentation].

The SkyLLH framework is an open-source Python3-based package licensed under the GPLv3 license. It provides a modular framework for implementing custom likelihood functions and executing log-likelihood ratio hypothesis tests. The idea is to provide a class structure tied to the mathematical objects of the likelihood functions, rather than to entire abstract likelihood models.

The math formalism used in SkyLLH is described in the [math formalism document].

Installation

Using pip

The latest skyllh release can be installed from PyPI repository:

pip install skyllh

The current development version can be installed using pip:

pip install git+https://github.com/icecube/skyllh.git#egg=skyllh

Optionally, the editable package version with a specified reference can be installed by:

pip install -e git+https://github.com/icecube/skyllh.git@[ref]#egg=skyllh

where

Cloning from GitHub

The skyllh (and an optional private i3skyllh) package can be installed by cloning the GitHub repository and adding it to the Python path:

import sys

sys.path.insert(0, '/path/to/skyllh')
sys.path.insert(0, '/path/to/i3skyllh')  # optional

Publications

Several publications about the SkyLLH software are available:

Developer Guidelines

These guidelines should help new developers of SkyLLH to join the development process easily.

Code style

Branching

Releases and Versioning

i3skyllh

The i3skyllh package provides complementary pre-defined common analyses and datasets for the IceCube Neutrino Observatory detector in a private repository.