Skip to main content

Provides statistical and plotting tools using general python packages, focused to High Energy Physics.

Project description

https://img.shields.io/travis/mramospe/hep_spt.svg https://img.shields.io/badge/documentation-link-blue.svg

The High Energy Physics Statistics and Plotting Tools package provides tools to work in High Energy Physics using general python packages.

Main points

  • Functions needed on day-to-day work, like calculating errors, residuals, etc.

  • Classes to create adaptive binned histograms, and some functions to represent them using matplotlib.

  • Statistical functions to work with Bayesian/Frequentist approaches.

  • Utilities to handle poissonian and/or weighted histograms.

  • Simple classes to work with the CLs method.

  • A set of matplotlib styles.

Considerations:

  • Inputs passed to the functions and classes are usually preferred as numpy.ndarray objects.

  • Plotting functions and classes are designed to work with matplotlib.

  • Statistical tools are built on top of the standard scipy package.

Installation:

This package is available on PyPi, so simply type

pip install hep-spt

to install the package in your current python environment. Since this package uses the Numpy C API, it is necessary to have Numpy already installed. If you attempt to install “hep_spt” with no installation of Numpy, an error will be raised. To use the latest development version, clone the repository and install with pip:

git clone https://github.com/mramospe/hep_spt.git
pip install hep_spt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hep_spt-0.0.0.dev3.tar.gz (34.6 kB view details)

Uploaded Source

File details

Details for the file hep_spt-0.0.0.dev3.tar.gz.

File metadata

File hashes

Hashes for hep_spt-0.0.0.dev3.tar.gz
Algorithm Hash digest
SHA256 fa043d4be1d1b54d1660b6fec5a4b7753580865e023f424fed52def7eb8e2e91
MD5 fb3134ca7b85f38e9eb037f8c9489f9f
BLAKE2b-256 ee118aaf47e803240eff97462165061ade8672714f47784f68352564601a4a1a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page