Li and Ma, 1983, Estimating Significance
A python implementation of the equations 9, and 17 proposed by Li and Ma in 1983.
@article{lima1983analysis,
title={Analysis methods for results in gamma-ray astronomy},
author={Li, Ti-Pei and Ma, Yu-Qian},
journal={The Astrophysical Journal},
volume={272},
pages={317--324},
year={1983}
}
The names of the variables are adopted from Li and Ma.
Install
pip install lima1983analysis_sebastian-achim-mueller
Significance S
Estimate the significance S of a detection.
estimate_S_eq9(N_on, N_off, alpha)
estimate_S_eq17(N_on, N_off, alpha)
Signal-Counts N_s
Estimate how much signal-counts N_s are required to claim a detection.
estimate_N_s_eq9(N_off, alpha, S)
estimate_N_s_eq17(N_off, alpha, S, margin=1e-6, max_num_iterations=1000, N_s_start=None)
Metadata
Release files for lima1983analysis-sebastian-achim-mueller 0.0.4
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 |
|---|---|---|---|---|
| lima1983analysis_sebastian-achim-mueller-0.0.4.tar.gz | 3.8 kB | Without provenance | Details for lima1983analysis_sebastian-achim-mueller-0.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lima1983analysis_sebastian_achim_mueller-0.0.4-py3-none-any.whl | Python 3 | none | any | Details for lima1983analysis_sebastian_achim_mueller-0.0.4-py3-none-any.whl |
Total release size: 8.3 kB
Release files / lima1983analysis_sebastian-achim-mueller-0.0.4.tar.gz
| Download URL | lima1983analysis_sebastian-achim-mueller-0.0.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
22cfe1a40b11cb0ac1fc6d96bbe2726bb2aaeb82d1bf001ea868624e9a4c9fae
|
|
BLAKE2b-256 checksum How to use checksums |
13505f504e3878cf1a12ed023418423c1dc33fee72aa7afe07c49dacb44a205b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Release files / lima1983analysis_sebastian_achim_mueller-0.0.4-py3-none-any.whl
| Download URL | lima1983analysis_sebastian_achim_mueller-0.0.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96bc838f9909b35f7df250eda509d5dddd75eee1a7e1ce8578a37716a1a08175
|
|
BLAKE2b-256 checksum How to use checksums |
920a381936c418888457e2615110631190c6daeb93ee644e9258289560541d9b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for lima1983analysis-sebastian-achim-mueller 0.0.4
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.