Bayesian excess variance for Poisson data time series with backgrounds.
Project description
Bayesian excess variance for Poisson data time series with backgrounds. Excess variance is over-dispersion beyond the observational poisson noise, caused by an astrophysical source.
Output plot and files
Introduction
In high-energy astrophysics, the analysis of photon count time series is common. Examples include the detection of gamma-ray bursts, periodicity searches in pulsars, or the characterisation of damped random walk-like accretion in the X-ray emission of active galactic nuclei.
Methods
This repository provides statistical analysis methods, which can deal with
very low count statistics (0 or a few counts per time bin)
backgrounds, which may vary as well, measured simultaneously in an ‘off’ region.
The tools analyse eROSITA light curves. Contributions that can read other file formats are welcome.
The bexvar_ero.py tool computes posterior distributions on the Bayesian excess variance, and source count rate.
quick_ero.py computes simpler statistics, including Bayesian blocks, fraction variance, the normalised excess variance, and the amplitude maximum deviation statistics.
Licence
AGPLv3 (see COPYING file). Contact me if you need a different licence.
Install
Install as usual:
$ pip3 install bexvar
This also installs the required ultranest python package.
Example
Run with:
$ python3 bexvar_ero.py 020_LightCurve_00001.fits
Contributors
Johannes Buchner
David Bogensberger
Changelog
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file bexvar-1.0.0.tar.gz
.
File metadata
- Download URL: bexvar-1.0.0.tar.gz
- Upload date:
- Size: 67.6 kB
- Tags: Source
- Uploaded using 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.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ccf40e43de6f10eb79c266628374ee2b05bcad68207393ad56d33068ac0d5b6 |
|
MD5 | d82e690ac2d59d1c90ce0bafc79486f6 |
|
BLAKE2b-256 | 7f87aa5c57b7ceba8de6232a4eae4144c9a9c091a1fff6c5cb4f8b9746343185 |