Skip to main content

poissonregime

Poisson error bars for low count statistics, detection significances.

https://img.shields.io/pypi/v/poissonregime.svg https://api.travis-ci.com/JohannesBuchner/poissonregime.svg?branch=master&status=started Documentation Status

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:

https://johannesbuchner.github.io/poissonregime/

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)

Source distribution for poissonregime 0.1.0
File Size Uploaded
poissonregime-0.1.0.tar.gz 60.7 kB Details

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

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page