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.dev5.linux-x86_64.tar.gz (89.9 kB view details)

Uploaded Source

File details

Details for the file hep_spt-0.0.0.dev5.linux-x86_64.tar.gz.

File metadata

  • Download URL: hep_spt-0.0.0.dev5.linux-x86_64.tar.gz
  • Upload date:
  • Size: 89.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8

File hashes

Hashes for hep_spt-0.0.0.dev5.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 887a775845b31fc5ab060f89f7ade3cda342b3a01a61ba2c048dc856de736dea
MD5 f6cc20c5bcac0e20c44cf74530c56a42
BLAKE2b-256 2a227320631b55f2f6216d8c2fea38611b6a2aefa369f68b3bb1b7da19bc77ad

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