@@ -378,7 +378,7 @@ def __init__(self, data, cl=0.95, lumi=None ):
378378 :ivar nWS: number of workspaces = number of json files
379379 :ivar patches: list of patches to be applied to the inputJsons as python dictionary instances
380380 :ivar workspaces: list of workspaces resulting from the patched inputJsons
381- :ivar workspaces_expected: list of patched workspaces with observation yields replaced by the evaluationType ones
381+ :ivar workspaces_expected: list of patched workspaces with observation yields replaced by the expected eones
382382 :ivar cl: created from cl
383383 :ivar scale: scale that is applied to the signal predictions, dynamically changes throughout the upper limit calculation
384384 :ivar alreadyBeenThere: boolean flag that identifies when nsignals accidentally passes twice at two identical values
@@ -685,7 +685,7 @@ def likelihood( self, mu : float = 1.0,
685685 :param workspace_index: supply index of workspace to use. If None, \
686686 choose index of best combo
687687 :param return_nll: if true, return nll, not llhd
688- :param expected : one of: observed, apriori, aposteriori
688+ :param evaluationType : one of: observed, apriori, aposteriori
689689 """
690690 logger .debug ("Calling likelihood" )
691691 if type (workspace_index ) == float :
@@ -856,7 +856,7 @@ def lmax( self, workspace_index=None, return_nll=False, evaluationType : NllEval
856856 :param return_nll: if true, return nll, not llhd
857857 :param workspace_index: supply index of workspace to use. If None, \
858858 choose index of best combo
859- :param expected : one of: observed, apriori, aposteriori
859+ :param evaluationType : one of: observed, apriori, aposteriori
860860 :param allowNegativeSignals: if False, then negative nsigs are replaced \
861861 with 0.
862862 """
@@ -957,7 +957,7 @@ def updateWorkspace(self, workspace_index=None, evaluationType : NllEvalType=obs
957957 Small method used to return the appropriate workspace
958958
959959 :param workspace_index: the index of the workspace to retrieve from the corresponding list
960- :param expected : if False, retuns the unmodified (but patched) workspace. Used for computing observed or aposteriori evaluationType limits.
960+ :param evaluationType : if False, retuns the unmodified (but patched) workspace. Used for computing observed or aposteriori evaluationType limits.
961961 if True, retuns the modified (and patched) workspace, where obs = sum(bkg). Used for computing apriori evaluationType limit.
962962 """
963963 if self .nWS == 1 :
@@ -980,7 +980,7 @@ def getUpperLimitOnSigmaTimesEff(self, evaluationType : NllEvalType=observed, wo
980980 - if workspace_index is specified, self.workspace[workspace_index]
981981 (useful for computation of the best upper limit)
982982
983- :param expected : - if set to apriori: uses evaluationType SM backgrounds as signals
983+ :param evaluationType : - if set to apriori: uses evaluationType SM backgrounds as signals
984984 - else: uses 'self.nsignals'
985985 :param workspace_index: - if different from 'None': index of the workspace to use
986986 for upper limit
@@ -1033,7 +1033,7 @@ def CLs( self, mu : float, evaluationType : NllEvalType,
10331033 _absolute_ mu
10341034
10351035 :param mu: compute for the parameter of interest mu
1036- :param expected : if observed, compute observed, apriori: compute a priori expected
1036+ :param evaluationType : if observed, compute observed, apriori: compute a priori expected
10371037 :param return_type: (Text) can be one of:
10381038 "CLs-alpha", "1-CLs", "CLs" "alpha-CLs"
10391039 CLs-alpha: returns CLs - 0.05
@@ -1050,7 +1050,7 @@ def _CLs( self, mu_rel : float, evaluationType : NllEvalType,
10501050 This is our internal method to compute CLs.
10511051
10521052 :param mu_rel: compute for the parameter of interest mu_rel
1053- :param expected : one of: observed, apriori, aposteriori
1053+ :param evaluationType : one of: observed, apriori, aposteriori
10541054 :param return_type: (Text) can be one of:
10551055 "CLs-alpha", "1-CLs", "CLs" "alpha-CLs"
10561056 CLs-alpha: returns CLs - 0.05
@@ -1136,7 +1136,7 @@ def getUpperLimitOnMu(self, evaluationType : NllEvalType=observed, workspace_ind
11361136 - if workspace_index is specified, self.workspace[workspace_index]
11371137 (useful for computation of the best upper limit)
11381138
1139- :param expected : - if set to apriori: uses evaluationType SM backgrounds as signals
1139+ :param evaluationType : - if set to apriori: uses evaluationType SM backgrounds as signals
11401140 - else: uses 'self.nsignals'
11411141 :param workspace_index: - if different from 'None': index of the workspace to use
11421142 for upper limit
0 commit comments