# 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
smodelsOutput = 'inputFiles/scanExample/smodels-output'
slhaFiles = 'inputFiles/scanExample/slha'
parameters = './iplots_parameters.py'
outputFolder = './'
npoints = -1 #If negative will use all the points in the folders
plotsOutput = makePlots(smodelsOutput,slhaFiles,outputFolder,parameters,npoints,verbosity='info', indexfile = "plots.html")
INFO in interactivePlots.loadParameters() in 66: Reading parameters from ./iplots_parameters.py ... INFO in interactivePlots.loadData() in 204: Reading data folders inputFiles/scanExample/smodels-output and inputFiles/scanExample/slha ... INFO in interactivePlots.makePlots() in 246: Making plots... INFO in interactivePlots.makePlots() in 290: Generation of interactive plots finished. Go to: .//plots.html to see the plots.
from IPython.core.display import display,HTML
#Main page (to open the plots go to the plots output folder and open them with the browser)
mainFile = open(plotsOutput + '/plots.html','r')
display(HTML(mainFile.read()))
mainFile.close()
MT_total_xsec: Total missing cross section.
excluded non-excluded all
SModelS_status: Excluded or not excluded by SModelS.
excluded non-excluded all
chi2: chi^2 value associated to the highest r-value.
excluded non-excluded all
MT_max_xsec: Cross section of MT_max.
excluded non-excluded all
Tx: Topology/ies which give the highest r-value.
excluded non-excluded all
MT_max: Missing topologies with the largest cross section.
excluded non-excluded all
Analysis: Experimental analysis from which the highest r-value comes from.
excluded non-excluded all
r_max: highest r-value from SModelS.
excluded non-excluded all
MT_long_xsec: Missing cross section in long cascade decays.
excluded non-excluded all
MT_outgrid_xsec: Missing cross section outside the mass grids of the experimental results.
excluded non-excluded all
MT_asym_xsec: Missing cross section in decays with asymmetric branches.
excluded non-excluded all
os.getcwd()
'/home/docs/checkouts/readthedocs.org/user_builds/smodels/checkouts/v2.0.0/docs/manual/source/recipes'