#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# n = 50 #NEWLINE# m = 4 #NEWLINE# np . random . seed ( 0 ) #NEWLINE# data1 = np . random . randn ( n , m ) #NEWLINE# data2 = np . random . randn ( n , m ) #NEWLINE# self . T1 = cKDTree ( data1 , leafsize = 2 ) #NEWLINE# self . T2 = cKDTree ( data2 , leafsize = 2 ) #NEWLINE# self . ref_T1 = KDTree ( data1 , leafsize = 2 ) #NEWLINE# self . ref_T2 = KDTree ( data2 , leafsize = 2 ) #NEWLINE# self . r = 0.5 #NEWLINE# self . n = n #NEWLINE# self . m = m #NEWLINE# self . data1 = data1 #NEWLINE# self . data2 = data2 #NEWLINE# self . p = 2