Software
Detection of polarised radio sources: BayesPol
We provide BayesPol, a python package which implements a Bayesian multi-frequency detection/estimation software for polarized radio sources.
Download
The open source code is publicly available
here.
Installation and dependencies.
The codes are written in Python 3. The code consists on two files, BayesPol.py and logpriors.py that should be installed anywhere in the local python path. The code depends on a number of open source python packages:
- numpy for array manipulations
- matplotlib for (optional) plotting routines
- emcee [1] for efficient MCMC sampling
- corner [2] for corner scatterplot routines
- scipy for additional scientific numerical routines.
Both emcee and corner are available using the pip installation tool.
References
- D. Foreman-Mackey, D. W. Hogg, D. Lang, and J. Goodman, “emcee: The MCMC Hammer,” Publ Astron Soc Pac, vol. 125, no. 925, pp. 306–312, Mar. 2013.
- D. Foreman-Mackey, “corner.py: Scatterplot matrices in Python”, Journal of Open Source Software (JOSS) 2016, http://dx.doi.org/10.21105/joss.00024