.. index:: How To's .. |binder| image:: images/mybinder.png :target: https://mybinder.org/v2/gh/SModelS/smodels/main?filepath=docs%2Fmanual%2Fsource%2Frecipes%2F .. _Examples: How To's ======== Below we provide a few examples for using SModelS and some of the :ref:`SModelS tools ` as a Python library [1]_. To try out the examples in interactive mode: |binder| ----------------------------------------------------- Main examples: -------------- * `How to run SModelS using a parameter file `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to run SModelS as a python library `_ (download the Python code :download:`here `, IPython notebook :download:`here `) Examples displaying several functionalities: -------------------------------------------- * `How to load the database `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to obtain experimental upper limits `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to obtain experimental efficiencies `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to print decomposition results `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to print theory predictions `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to compare theory predictions with experimental limits `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to draw SMS graphs `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to use a LHE input including width information `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to compute the likelihood and chi2 for a theory predictions `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to find missing topologies `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to generate ascii graphs `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to plot likelihoods from analysis combinations `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to use a combinations matrix `_ (download the Python code :download:`here `, IPython notebook :download:`here `) Examples using the cross-section computer: ------------------------------------------ * `How to compute leading order cross sections (for MSSM) `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to compute next-to-leading order cross sections (for MSSM) `_ (download the Python code :download:`here `, IPython notebook :download:`here `) Examples using the Database Browser ----------------------------------- * `How to obtain upper limits `_ (download the Python code :download:`here `, IPython notebook :download:`here `) * `How to select specific results `_ (download the Python code :download:`here `, IPython notebook :download:`here `) Examples using the Interactive Plots tool ----------------------------------------- * `How to make interactive plots `_ (download the Python code :download:`here `, IPython notebook :download:`here `) .. [1] Some of the output may change depending on the database version used.