# # if computeMCLT.initialize_plans(np.array([L])) != 1: # print "Initiliazing Stage Failed" print "---Testing good call: complex" res = parallelProjections.project_mclt(input_data, scoreTree, projectionMatrix_comp, pre_twidVec, post_twidVec, i, j, L) print scoreTree if res is not None: print "--- Ok" else: print "ERROR" # print "---Testing good call: complex set" res = parallelProjections.project_mclt_set( input_data, scoreTree, projectionMatrix_comp, pre_twidVec, post_twidVec, i, j, L, 1 ) if res is not None: print "--- Ok" else: print "ERRRORRRR" raise TypeError("ARf") print "---Testing good call: complex Non Linear set with Median" # Feed it with numpy matrices sigNumber = 3 NLinput_data = np.concatenate((input_data, 0.42 * np.random.randn(N, sigNumber - 1)), axis=1) NLinput_data = NLinput_data.T