Import the plot creator

In [1]:
# Set up the path to SModelS installation folder
import sys,os
sys.path.append(".")
import smodels_paths
from smodels.tools.interactivePlots import makePlots
import smodels

Define the input folders, the parameters file and where to store the plots

In [2]:
smodelsOutput = 'inputFiles/scanExample/smodels-output'
slhaFiles = 'inputFiles/scanExample/slha'
parameters = './iplots_parameters.py'
outputFolder = './iplots_output'
npoints = -1 #If negative will use all the points in the folders

Create plots

In [3]:
plotsOutput = makePlots(smodelsOutput,slhaFiles,outputFolder,parameters,npoints,verbosity='info')
INFO in interactivePlots.loadParameters() in 65: Reading parameters from ./iplots_parameters.py ...
INFO in interactivePlots.loadData() in 201: Reading data folders inputFiles/scanExample/smodels-output and inputFiles/scanExample/slha ...
INFO in interactivePlots.makePlots() in 243: Making plots...
INFO in interactivePlots.makePlots() in 285: Generation of interactive plots finished. Go to: 
 ./iplots_output/index.html 
 to see the plots.

Display the output

In [4]:
from IPython.core.display import display,HTML
In [5]:
#Main page (to open the plots go to the plots output folder and open them with the browser)
mainFile = open(plotsOutput + '/index.html','r')
display(HTML(mainFile.read()))
mainFile.close()
SModelS interactive plots: interactive plot example from a small pMSSM scan

Analysis: Experimental analysis from which the highest r-value comes from.
excluded all non-excluded

Tx: Topology/ies which give the highest r-value.
excluded all non-excluded

MT_outgrid_xsec: Missing cross section outside the mass grids of the experimental results.
excluded all non-excluded

SModelS_status: Excluded or not excluded by SModelS.
excluded all non-excluded

chi2: chi^2 value associated to the highest r-value.
excluded all non-excluded

MT_asym_xsec: Missing cross section in decays with asymmetric branches.
excluded all non-excluded

MT_max: Missing topologies with the largest cross section.
excluded all non-excluded

MT_long_xsec: Missing cross section in long cascade decays.
excluded all non-excluded

MT_total_xsec: Total missing cross section.
excluded all non-excluded

MT_max_xsec: Cross section of MT_max.
excluded all non-excluded

r_max: highest r-value from SModelS.
excluded all non-excluded

In [ ]: