/logstat

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

logstat

License: GPL v3 Code style: black

logstat is a simple program replicating some of tracer's functionalities. It takes a posterior sample as input and outputs the effective sample size (ESS) and statistics such as the mean, meadian, and 95% higher posterior density (HPD).

Dependencies

Installation

To install logstat from source you can run

pip install git+https://github.com/4ment/logstat

or

git clone https://github.com/4ment/logstat
pip install logstat/

Check install

logstat --help

Quick start

logstat parses log files generated by programs such as beast.

logstat summarize samples.log --burnin 0.2

Multiple sample files can be provided and the burnin can be specified for each of them using the same order.

logstat summarize samples1.log samples2.log --burnin 0.2 --burnin 0.3

License

Distributed under the GPLv3 License. See LICENSE for more information.

Acknowledgements

logstat makes use of the following libraries and tools, which are under their own respective licenses: