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-2025.7.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

histlite-2025.7.0-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: histlite-2025.7.0.tar.gz
  • Upload date:
  • Size: 1.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for histlite-2025.7.0.tar.gz
Algorithm Hash digest
SHA256 8b153e0da5caf4e6cdba3a97a5ed7c362288db91d89e399417a6f783b4f60713
MD5 2fac740e4d77fb47c519f04dc68245cc
BLAKE2b-256 fd45242c51b674f51fb5df44ca7198cadd3233e6b476a8e07075aa4e47a4104e

See more details on using hashes here.

Provenance

The following attestation bundles were made for histlite-2025.7.0.tar.gz:

Publisher: publish-to-pypi.yml on zgana/histlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: histlite-2025.7.0-py3-none-any.whl
  • Upload date:
  • Size: 26.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for histlite-2025.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 66849e899cabd0ad92ad0ac8c69c8248b019787748c1b622d92059991bd8ea29
MD5 c0aa9ca8e1566efcc1c87d4ef286f1a1
BLAKE2b-256 dd0dca2726f13ac7bd2b470b254b78125de9c7115195119526ed392be506c6ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for histlite-2025.7.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on zgana/histlite

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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