Skip to content

Latest commit

 

History

History
71 lines (38 loc) · 4.47 KB

Examples.rst

File metadata and controls

71 lines (38 loc) · 4.47 KB

How To's

How To's

Below we provide a few examples for using SModelS and some of the SModelS tools <smodelsTools> as a Python library1.

To try out the examples in interactive mode: binder

Main examples:

Examples displaying several functionalities:

Examples using the cross-section computer:

Examples using the Database Browser

  • How to obtain upper limits (download the Python code here <recipes/browserExample2.py>, IPython notebook here <recipes/browserExample2.ipynb>)
  • How to select specific results (download the Python code here <recipes/browserExample3.py>, IPython notebook here <recipes/browserExample3.ipynb>)

Examples using the Interactive Plots tool

  • How to make interactive plots (download the Python code here <recipes/interactivePlotsExample.py>, IPython notebook here <recipes/interactivePlotsExample.ipynb>)

  1. Some of the output may change depending on the database version used.