Skip to main content

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 (MC) 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 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

For quick-start and detailed installation instructions 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 pipeline with nominal settings

template_maker.run()

Get the oscillation probabilities $P_{\nu_\mu\to\nu_\beta}$

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.

Release files for pisa 4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pisa 4.2
File Size Uploaded
pisa-4.2.tar.gz 21.5 MB Details

Release files / pisa-4.2.tar.gz

Download URL pisa-4.2.tar.gz
Size 21.5 MB
Tags Source
SHA-256 checksum
How to use checksums
35bf07cb097e7ecc7f2fb380602a7436fd6af3ca8fdad842d6779fc118052bf5
BLAKE2b-256 checksum
How to use checksums
446dc6b29a093cb8d62eb540921ec84f5fd53fa56431805f7ea75fa73db98176
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Mar 18, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

4.2 This release

1 release file

4.1.4

1 release file

4.1.3

1 release file

4.1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page