Poisson bootstrap histogram.
Project description
bootstraphistogram
A python package that provides a multi-dimensional histogram with automatic Poisson bootstrap re-sampling.
Installation
Install with pip from PyPI:
python -m pip install bootstraphistogram
Usage Instructions
For usage instructions and examples see the documentation at: https://bootstraphistogram.readthedocs.io.
Development Instructions
For Linux systems, the provided setup script will setup a suitable python virtual environment and install pre-commit-hooks.
source setup.sh
Alternatively, a Dockerfile
is provided for a consistent development environment.
docker build -tbootstraphistogram:latest . && \
docker start bootstraphistogram && \
docker run --name bootstraphistogram -it -d bootstraphistogram:latest /bin/bash
This package uses Python poetry for dependency management.
poetry install
To run the unit tests run:
poetry run pytest
To build documentation run:
poetry run pip install -r docs/requirements.txt && \
poetry run sphinx-build -W docs docs-build
To auto-build the documentation while editing:
poetry run pip install sphinx-autobuild && sphinx-autobuild docs docs/_build/html
and find your documentation on http://localhost:8000.
To generate a test coverage report run:
poetry run coverage run -m pytest tests && poetry run coverage report -m
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file bootstraphistogram-0.11.0.tar.gz
.
File metadata
- Download URL: bootstraphistogram-0.11.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.10.5 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1ff92382a29587e98dc80cdef905e4f571410bbd0ba960f108b5735a4e10a81 |
|
MD5 | fb4f22f14c796956f9979237412927b4 |
|
BLAKE2b-256 | 9aa609358b13d20877a5e67276a09e987c12a4b54f6a836c7f5e5dd17409e912 |
File details
Details for the file bootstraphistogram-0.11.0-py3-none-any.whl
.
File metadata
- Download URL: bootstraphistogram-0.11.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.15 CPython/3.10.5 Linux/5.15.0-52-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3476d88187d2489bbfdeeee74dbf482eafabbd58f0490508ff49ced61deef8f |
|
MD5 | df552416a775544ec4425d6d9d003780 |
|
BLAKE2b-256 | 8d8a846b185be6f8b9e978985ee2bdf7d24411b2e16e379bc0808a5a265ef328 |