-
Notifications
You must be signed in to change notification settings - Fork 9
Running SuperPlot
Within a terminal, navigate to the superpy/SuperPlot directory and invoke SuperPlot with
python SuperGUI.py
A file-browser should appear. 
Choose a MultiNest text file, for example, the SB_MO_log_allpost.txt file within the superpy/example directory. Loading the text file can take a minute or two.
SuperPlot attempts to match the columns in your chosen text file to the parameter names in ParamNames.py. If that fails, as in this case, a second file browser will appear from which you should choose an information file that contains the parameter names, for example, the SB_MO_log_all.info file within the superpy/example directory.

If SuperPlot cannot match the parameter names in the information file to the columns in your chosen text file, it will label the columns with integers, starting from 0.
The SuperPlot GUI should appear. The first four boxes are drop-down menus from which you should select the parameters to be plotted on the x, y, and z-axis, and the type of plot. 

Finally, press the sixth box, a button labeled Make Plot. Your plot should appear.

If you repeat this process, you might notice a *.pkl file with a name that matches your chosen text file, in our case SB_MO_log_allpost.pkl. This pickled chain is much faster to load in SuperPlot.
The fifth button, labeled Reload labels, modules etc., refreshes the SuperPlot modules and parameters; you might wish to alter for example Appearance.py, press this button, and remake your plot with the changes implemented, without restarting SuperPlot.