Skip to content

icecube/pisa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c2a89f3 · Nov 12, 2024
Aug 28, 2024
Sep 24, 2020
Sep 20, 2024
Apr 28, 2023
Nov 12, 2024
Nov 8, 2024
Sep 19, 2024
Dec 5, 2019
Dec 9, 2022
Mar 8, 2018
Sep 24, 2020
Feb 28, 2019
Apr 25, 2024
Nov 26, 2017
Sep 17, 2016
Aug 13, 2024
Sep 24, 2020
Dec 20, 2018
Sep 17, 2016
Aug 19, 2024
Sep 17, 2016

Repository files navigation

Unit Tests Pull Requests Activity Contributors Repo Stars

Introduction | Installation | Documentation | Terminology | Conventions | License

PISA is a software written to analyze the results (or expected results) of an experiment based on Monte Carlo simulation.

In particular, PISA was written by and for the IceCube Collaboration for analyses employing the IceCube Neutrino Observatory, including the DeepCore and the planned Upgrade low-energy in-fill arrays.

Note

However, any experiment can make use of PISA for analyzing expected and actual results.

PISA was originally developed to cope with low-statistics Monte Carlo (MC) by using parameterizations of the MC and operate on histograms of the data rather than directly reweighting the MC. However, PISA's methods apply equally well to high-MC situations, and PISA also performs traditional reweighted-MC analysis as well.

If you use PISA, please cite our publication (e-Print available here):

Computational Techniques for the Analysis of Small Signals
in High-Statistics Neutrino Oscillation Experiments
IceCube Collaboration - M.G. Aartsen et al.
Mar 14, 2018
Published in: Nucl.Instrum.Meth.A 977 (2020) 164332

Quick start

Installation

git clone git@github.com:icecube/pisa.git
cd pisa
pip install -e .

For detailed installation instructions and common issues see Installation

Minimal Example

Producing some oscillograms

from pisa.core import Pipeline
import matplotlib.pyplot as plt
<< PISA is running in single precision (FP32) mode; numba is running on CPU (single core) >>

Instantiate a Pipeline or multiple pipelines in a DistributionMaker using PISA config files

template_maker = Pipeline("settings/pipeline/osc_example.cfg")

Run the pipleine with nominal settings

template_maker.run()

Get the oscillation probabilities

outputs = template_maker.data.get_mapset('prob_mu')

Plot some results

fig, axes = plt.subplots(figsize=(18, 5), ncols=3)
outputs['nue_cc'].plot(ax=axes[0], cmap='RdYlBu_r', vmin=0, vmax=1);
outputs['numu_cc'].plot(ax=axes[1], cmap='RdYlBu_r', vmin=0, vmax=1);
outputs['nutau_cc'].plot(ax=axes[2], cmap='RdYlBu_r', vmin=0, vmax=1);

png

Contributions

Contributors are listed specifically here, while the used external software is summarized here.