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
Hashes for bootstraphistogram-0.10.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d729742a16cb9ebe9fdac28c4b21c9efcf1f89230d8e0503be58f669fbe828a6 |
|
MD5 | 90067ee8dd56a9d93b7b4bf773917627 |
|
BLAKE2b-256 | 612dcbebd5c0a62d9854b453a1d5397134df008ceb3a329909429d4cf982c16c |
Hashes for bootstraphistogram-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf179bba12de755d21c3560b6ae8d156175942790371bdba0c39d42728ba3e09 |
|
MD5 | 561029da1b7e0f355e1524bfcfd38481 |
|
BLAKE2b-256 | a1ac8566ab8ba187d758619209b3642d3fe5d30bd1697e0d923fa24397d1424e |