Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 1.04 KB

README.md

File metadata and controls

19 lines (11 loc) · 1.04 KB

A Bayesian formalism for the generalised
Lomb-Scargle periodogram

The BGLS tool calculates the Bayesian Generalized Lomb-Scargle periodogram as described in Mortier et al. (2014). It is written in Python (tested on Python 2.7).

The code contains the definition of the algorithm, takes as input three arrays with a time series, a dataset and errors on those data, and returns arrays with sampled periods and the periodogram values at those periods.

In order to run, it requires the following python packages:

* numpy (http://www.numpy.org/)
* mpmath (http://mpmath.org/)

More information can be found in the paper

Mortier, A., Faria, J. P., Correia, C. M., Santerne, A., Santos, N. C. 2015, A&A, 573, A101

If you use the code provided here, please cite the above paper. We welcome feedback via the issues.

The code is distributed under the MIT license. See the LICENSE file.