Skip to main content

A somewhat "lite" histogram library

Project description

histlite

See documentation on ReadTheDocs.

histlite is a histogram calculation and plotting library that tries to be "lite" on data structures but rich in statistics and visualization features. So far, development has taken place during my (Mike Richman) time as a graduate student and post-doctoral researcher in the field of particle astrophysics — specifically, working with the IceCube Neutrino Observatory. Histlite is intended both to facilitate high-paced exploratory data analysis as well as to serve as a building block for potentially very complex maximum likelihood data analysis implementations.

The core design considerations are:

  • It must be trivial to work with and interchange between 1D, 2D, or ND histograms.
  • It should be as simple as possible to perform bin-wise arithmetic operations on one or more histograms; to perform sums, integrals, etc. and thus normalizations along one or more axes simultaneously; and to perform spline or user-defined functional fits
  • It should be as simple as possible to achieve publication-quality plots.

The primary histogramming functionality consists of a thin wrapper around numpy.histogramdd. Statistical tools leverage scipy but include custom solutions for some use cases. (Importantly, error propagation is currently handled manually but may be migrated to the uncertainties package in the future.) Plotting is done using matplotlib.

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

histlite-2022.8.26.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

histlite-2022.8.26-py3-none-any.whl (25.4 kB view details)

Uploaded Python 3

File details

Details for the file histlite-2022.8.26.tar.gz.

File metadata

  • Download URL: histlite-2022.8.26.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for histlite-2022.8.26.tar.gz
Algorithm Hash digest
SHA256 e8fdf479ab20c53f777380f1dd1f80ae0d7320d7911ad742d500ab462a57e6de
MD5 0e53f78bebf2f01458262fb58d4d31d7
BLAKE2b-256 ff82091d1a6af1ac931641f0723d280ee5b72391801c4c599e2a18611e1b9104

See more details on using hashes here.

File details

Details for the file histlite-2022.8.26-py3-none-any.whl.

File metadata

  • Download URL: histlite-2022.8.26-py3-none-any.whl
  • Upload date:
  • Size: 25.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.10

File hashes

Hashes for histlite-2022.8.26-py3-none-any.whl
Algorithm Hash digest
SHA256 b4a0601b262c2ed5078bb42f648d9c45f91ff7cab2c7e0db3b11232a28f2d0e6
MD5 692a227bb2397919e5f22d8d13936901
BLAKE2b-256 ebfa29c84c82a32e05b835651b73d048484e2d16e5b81800915ad40fc8756bd1

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