Sensitivity, Ti-Pei Li and Yu-Qian-Ma, APJ 272:317-324, 1983
Project description
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)
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
Close
Hashes for lima1983analysis_sebastian-achim-mueller-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22cfe1a40b11cb0ac1fc6d96bbe2726bb2aaeb82d1bf001ea868624e9a4c9fae |
|
MD5 | a7661637f13877ffea18bbf31dba0faf |
|
BLAKE2b-256 | 13505f504e3878cf1a12ed023418423c1dc33fee72aa7afe07c49dacb44a205b |
Close
Hashes for lima1983analysis_sebastian_achim_mueller-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96bc838f9909b35f7df250eda509d5dddd75eee1a7e1ce8578a37716a1a08175 |
|
MD5 | a937e723eea76d3167da7fbc00c1eab9 |
|
BLAKE2b-256 | 920a381936c418888457e2615110631190c6daeb93ee644e9258289560541d9b |