def MakeSuiteFromDict(d, label=None):
 suite = Suite(label=label)
 suite.SetDict(d)
 suite.Normalize()
 return suite

def MakeSuiteFromDict ( d , label = None ) : suite = Suite ( label = label ) suite . SetDict ( d ) suite . Normalize ( ) return suite
makes a suite from a map from values to probabilities .