smefit package

class smefit.RUNNER(path)[source]

Bases: object

Class containing all the possible smefit functions

analysis(outputname, fits)[source]

Run the analysis given the fit ids

Parameters:
  • outputname (str) – report directory name

  • fits (list) – list of fits id

individual(input_card)[source]

Run a sequence of indifidual NS fits for all the oparators set to True in the runcard

Parameters:

input_card (str) – fit card name

mcfit(fit_card, scan_card=None, scan_only=False, nrep=100, first_rep=0)[source]

Run a fit with McFit given the input cards and the numeber of replicas. As first step it performs a :math:chi^2 scan then perform the MC fit of each replica.

Parameters:
  • fit_card (str) – fit card name or scan card name for scan only

  • scan_card (str) – scan card name, optional for fitting

  • scan_only (bool) – perform only the chi2 scan

  • nrep (int,) – number or replicas, optional for fitting

  • first_rep (int, optional) – starting replica number, to be used in case you are running MCfit in parellel on a cluster

ns(input_card)[source]

Run a fit with NS given the fit name

Parameters:

input_card (dict or str) – fit configuation dict or card name

setup_config(filename)[source]

Read yaml card and update the configuration.

Parameters:

filename (str) – fit card name

Returns:

config – configuration dict

Return type:

dict

Subpackages

Submodules

smefit.version module