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.1.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.1-py3-none-any.whl (26.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: histlite-2025.7.1.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.1.tar.gz
Algorithm Hash digest
SHA256 c09f024ae62e78ddf33b3bc83b2953d2f63237eeb8af133fd27926c20d5c5d18
MD5 ba3517addd3c94e4b2b8d1b67d8eec3f
BLAKE2b-256 f05a9ea1e479ef48a886a038e73d141ead4489f1d1fad877fca3c7c1760e2341

See more details on using hashes here.

Provenance

The following attestation bundles were made for histlite-2025.7.1.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.1-py3-none-any.whl.

File metadata

  • Download URL: histlite-2025.7.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 758e5c31b0782fb339b15f05c250c4382c392eff59571df3cc00a5c5b10cdd56
MD5 f5c07395e9eced67080a7675e05f62b6
BLAKE2b-256 eeec862cbaa729ac4a8fcff06695b7194c78d844c2909c3a3a1e7cffcf74d93f

See more details on using hashes here.

Provenance

The following attestation bundles were made for histlite-2025.7.1-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