# Set up the path to SModelS installation folder
import sys,os
sys.path.append(".")
import smodels_paths
from smodels.tools.interactivePlots import Plotter
from smodels.installation import installDirectory
smodelsOutput = './inputFiles/scanExample/smodels-output.tar.gz'
slhaFiles = './inputFiles/scanExample/slhas.tar.gz'
parameters = './iplots_parameters.py'
indexfile = 'main.html'
modelfile=f'{installDirectory()}/smodels/share/models/mssm.py'
outputFolder = './'
npoints = -1 #If negative will use all the points in the folders
plotter = Plotter(smodelsOutput,slhaFiles,parameters,modelfile)
loadData = plotter.loadData(npoints)
plotter.plot(outputFolder,indexfile)
plotter.display()
rmax: highest r-value from SModelS.
excluded all non-excluded
Analysis: Experimental analysis that the highest r-value comes from.
excluded all non-excluded