Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Metadata

Release files for hep-spt 0.0.0.dev5

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

Source distribution (sdist)

Source distribution for hep-spt 0.0.0.dev5
File Size Uploaded
hep_spt-0.0.0.dev5.linux-x86_64.tar.gz 89.9 kB Details

Release files / hep_spt-0.0.0.dev5.linux-x86_64.tar.gz

Download URL hep_spt-0.0.0.dev5.linux-x86_64.tar.gz
Size 89.9 kB
Tags Source
SHA-256 checksum
How to use checksums
887a775845b31fc5ab060f89f7ade3cda342b3a01a61ba2c048dc856de736dea
BLAKE2b-256 checksum
How to use checksums
2a227320631b55f2f6216d8c2fea38611b6a2aefa369f68b3bb1b7da19bc77ad
Upload date
Uploaded using Trusted Publishing?
What is 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
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