/fancy

UHECR modelling and fitting tools

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

fancy

CI

fancy is a toolbox used for source-UHECR association analyses using Bayesian hierarchical modelling.

The package is tested with Python 3.8/3.9 on the latest MacOS and Ubuntu linux. Installation via pip should take care of the dependencies (see below for more info). CRPropa3 is treated as an optional dependency.

Installation

Installation is done via pip:

pip install git+https://github.com/cescalara/fancy.git

There are two further steps one must take to get set up:

  • Run install_cmdstan to set up cmdstanpy (see these instructions for more information)
  • Run init_config.sh to set up plotting styles, nuclear tables and GMF model

Examples

License

This code is under the BSD-3 license. See LICENSE for more details.