poissonregime
Poisson error bars for low count statistics, detection significances.
About
Low count statistics is not that hard. It’s just not Gaussian.
This package can answer the following questions:
Given k detected objects, what are the uncertainties on the true number of objects? (poissonregime.uncertainties_rate)
Given k “hits” out of a sample of n tries, what is the fraction and its uncertainty? (poissonregime.uncertainties_fraction)
What is the significance of k detections, given that I expect B background events? (poissonregime.significance) * what if I measure the background events from counts in a “off” region? * what if I have additional systematic uncertainty?
What is the probability distribution on the event rate, given a measured background rate? (poissonregime.posterior)
You can help by testing poissonregime and reporting issues. Code contributions are welcome. See the Contributing page.
Usage
Read the full documentation at:
Licence
MIT.
Other projects
See also:
Release Notes
0.1.0 (2021-06-11)
First version
Metadata
Release files for poissonregime 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| poissonregime-0.1.0.tar.gz | 60.7 kB | Without provenance | Details for poissonregime-0.1.0.tar.gz |
Release files / poissonregime-0.1.0.tar.gz
| Download URL | poissonregime-0.1.0.tar.gz |
|---|---|
| Size | 60.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf395252c0bae1f1b8fe89827b18f0f021f3959f1b89209f65ac9c4e0f794935
|
|
BLAKE2b-256 checksum How to use checksums |
ce5936813a2e08e9bce1af8805c5bf21f5f04e7bf1a759a85e45a377cc1b9bf8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.10
|
Security for poissonregime 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.