Skip to content
innisfree edited this page Mar 5, 2013 · 3 revisions

Within the SuperPy directory, build SuperPlot

 make python

Change directory to /SuperPlot. Start SuperPlot with

 python SuperGUI.py

A file-browser will appear. Open a chain.

Select a MultiNest *.txt file, for example, the SB_MO_log_allpost.txt file within the /example directory. Loading the *.txt file can take a minute or two.

SuperPlot attempts to match the data in your *.txt file to its paramter names in ParamNames.py. If that fails, as in this case, a second file browser will appear. Open an information file that contains the parameter names, for example, the SB_MO_log_all.info file within the /example directory. Open information file.

If SuperPy still cannot match the parameter names to the data in your *.txt file, it will fall-back to labelling the data with integers, i.e. '0', '1', '2' etc.

The SuperPlot GUI should appear. The first three boxes are drop-down menus, from which you should select the parameters to be plotted on the x, y, and z-axis. The fourth box is a drop-down menu, from which you should select the type of plot. Select options

Finally, press the fifth box, a button labelled Make Plot. Your plot should appear. Make plot

If you repeat this process, you might notice a *.pkl file with a name that matches the *.txt file, in our case SB_MO_log_allpost.pkl. This is a Python pickled chain that SuperPlot saves; its information content is identical to the *.txt file, but it is much faster to load in SuperPlot.

Clone this wiki locally