CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes
utils_v2.KolmogorovTest Class Reference
Inheritance diagram for utils_v2.KolmogorovTest:
utils_v2.StatisticalTest

Public Member Functions

def do_test
 
- Public Member Functions inherited from utils_v2.StatisticalTest
def do_test
 
def get_N_bins
 
def is_empty
 

Static Public Attributes

string name = 'KS'
 
- Static Public Attributes inherited from utils_v2.StatisticalTest
 name = None
 

Detailed Description

Definition at line 330 of file utils_v2.py.

Member Function Documentation

def utils_v2.KolmogorovTest.do_test (   self,
  h1,
  h2 
)

Definition at line 333 of file utils_v2.py.

334  def do_test(self, h1, h2):
335  p_value = super(KolmogorovTest, self).do_test(h1, h2)
336  if p_value is not None:
337  return p_value
338 
339  for h in h1, h2:
340  if h.GetSumw2().GetSize() == 0:
341  h.Sumw2()
342  return h1.KolmogorovTest(h2)
343 

Member Data Documentation

string utils_v2.KolmogorovTest.name = 'KS'
static

Definition at line 331 of file utils_v2.py.

Referenced by cuy.divideElement.__init__(), cuy.plotElement.__init__(), cuy.additionElement.__init__(), cuy.superimposeElement.__init__(), cuy.graphElement.__init__(), config.CFG.__str__(), VIDSelectorBase.VIDSelectorBase.initialize(), and Vispa.Views.PropertyView.Property.valueChanged().