Tests correlations between datapoints with uncertainties.
Provide the individual data points (see below)
(optional) Plot marginal distributions using pymultinests ‘multinest_marginals.py’
Follow the Example for details.
The source is available at https://github.com/JohannesBuchner/syscorr You can run the example just like that, or install it with
$ python setup.py install # (or locally only with --user)
For maximum flexibility, the data points have to be provided as Markov Chains (points of equal weight), with one chain file per data point. The first and second column specify the x and y data.
For example, creating a chain for a datapoint at (2, 3) with normal errors 0.1 in both dimensions:
x = numpy.random.norm(2, 0.1, size=100)
y = numpy.random.norm(2, 0.1, size=100)
chain = numpy.transpose([x, y])
numpy.savetxt('datapoint01.txt', chain)
This allows
The application (see the example) is then called like so:
$ python analyse.py out/ datapoint01.txt datapoint02.txt ...
Contents: