Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias Import alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call NameLoad BinOpAdd BinOpAdd Str AttributeLoad NameLoad attr Str Assign NameStore NameLoad If BinOpBitAnd BinOpBitAnd CompareGtE Call NameLoad SubscriptLoad NameLoad Index Num Num CompareGtE Call NameLoad SubscriptLoad NameLoad Index Num Num CompareGtE Call NameLoad SubscriptLoad NameLoad Index Num Num body Assign NameStore NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr BinOpAdd SubscriptLoad NameLoad Index Num Str Assign AttributeStore NameLoad attr Call NameLoad Str Str Str Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore ListLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad AttributeLoad NameLoad attr attr attr Index Str If CompareIs NameLoad NameLoad body Assign AttributeStore NameLoad attr AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr orelse Assign AttributeStore NameLoad attr AttributeStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr ListLoad For NameStore Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad BinOpAdd BinOpAdd Str AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str BinOpAdd NameLoad Num Assign NameStore Call NameLoad BinOpAdd BinOpAdd BinOpAdd AttributeLoad NameLoad attr Str AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str BinOpAdd NameLoad Num Print NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Expr Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body ImportFrom alias Expr Call AttributeLoad NameLoad attr Num Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr attr Expr Call AttributeLoad NameLoad attr BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMult AttributeLoad NameLoad attr Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Assert BinOpBitAnd CompareLtE NameLoad NameLoad CompareGtE NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Num Print NameLoad Assert BinOpBitAnd CompareLtE NameLoad NameLoad CompareGtE NameLoad Num decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A PyQt4 QtCore N/A sys ilastik.core.projectClass Project ilastik.core.testThread TestThread ilastik.modules.unsupervised_decomposition.core.unsupervisedMgr UnsupervisedDecompositionModuleMgr ilastik.modules.unsupervised_decomposition.core.algorithms.unsupervisedDecompositionPLSA UnsupervisedDecompositionPLSA ilastik.modules.unsupervised_decomposition.core.algorithms.unsupervisedDecompositionPCA UnsupervisedDecompositionPCA N/A unittest ilastik.core jobMachine ilastik __path__ ilastikpath ilastik.core.testThread setUp tearDown N/A numpy N/A numpyversion N/A N/A N/A numpy __version__ split . N/A numpyTooOldMessage N/A str N/A N/A Your current numpy version is too old. Is:  N/A numpy __version__  Should Be: 1.4.0 or newer. Skipping some tests. N/A numpyRecentEnough False N/A N/A N/A N/A N/A int N/A numpyversion N/A 0 1 N/A N/A int N/A numpyversion N/A 1 4 N/A N/A int N/A numpyversion N/A 2 0 N/A N/A numpyRecentEnough True UnsupervisedDecompositionTestProject N/A object N/A __init__ N/A N/A self image_filename unsupervisedMethod numComponents N/A None None N/A N/A N/A self image_filename image_filename N/A N/A self tolerance 0.01 N/A N/A self testdir N/A N/A ilastikpath N/A 0 /testdata/unsupervised_decomposition/ N/A N/A self project N/A Project Project Name Labeler Description N/A N/A self dataMgr N/A N/A self project dataMgr N/A path N/A str N/A N/A self testdir N/A self image_filename N/A fileList N/A N/A N/A N/A fileList append path N/A N/A N/A N/A self project addFile fileList N/A N/A self unsupervisedMgr N/A UnsupervisedDecompositionModuleMgr N/A self dataMgr N/A N/A self inputOverlays N/A N/A N/A N/A N/A self inputOverlays append N/A N/A N/A N/A self dataMgr N/A N/A N/A self dataMgr _activeImageNumber overlayMgr N/A Raw Data N/A N/A unsupervisedMethod None N/A N/A N/A self unsupervisedMethod N/A N/A N/A N/A self dataMgr module N/A Unsupervised_Decomposition unsupervisedMethod N/A N/A N/A self unsupervisedMethod N/A N/A N/A N/A self dataMgr module N/A Unsupervised_Decomposition unsupervisedMethod unsupervisedMethod N/A N/A numComponents None N/A N/A N/A N/A N/A self unsupervisedMethod setNumberOfComponents numComponents N/A N/A self numIterations numComponents N/A N/A N/A self numIterations N/A N/A self unsupervisedMethod numComponents N/A N/A self listOfResultOverlays N/A N/A N/A self listOfFilenames N/A N/A i N/A range N/A self numIterations N/A N/A N/A N/A N/A self listOfResultOverlays append N/A str N/A N/A Unsupervised/ N/A N/A self unsupervisedMethod shortname N/A  component %d N/A i 1 N/A filename N/A str N/A N/A N/A N/A self testdir gt_ N/A N/A self unsupervisedMethod shortname N/A _result_component_%d.h5 N/A i 1 N/A filename N/A N/A N/A N/A self listOfFilenames append filename N/A N/A TestWholeModuleDefaultDecomposer N/A N/A unittest TestCase N/A N/A N/A numpyRecentEnough N/A N/A __test__ False setUp N/A N/A self N/A N/A N/A N/A self app N/A N/A QtCore QCoreApplication N/A sys argv N/A N/A self testProject N/A UnsupervisedDecompositionTestProject sims_aligned_s7_32.h5 N/A test_WholeModule N/A N/A self N/A N/A N/A t N/A N/A QtCore QTimer N/A N/A N/A t setSingleShot True N/A N/A N/A t setInterval 0 N/A N/A N/A N/A self app connect t N/A N/A QtCore SIGNAL timeout() N/A self mainFunction N/A N/A N/A t start N/A N/A N/A N/A self app exec_ N/A mainFunction N/A N/A self N/A N/A N/A N/A self testThread N/A TestThread N/A N/A self testProject unsupervisedMgr N/A N/A self testProject listOfResultOverlays N/A N/A self testProject listOfFilenames N/A N/A self testProject tolerance N/A N/A N/A N/A QtCore QObject connect N/A self testThread N/A N/A QtCore SIGNAL done() N/A self finalizeTest N/A N/A N/A N/A self testThread start N/A N/A self testProject inputOverlays N/A N/A self numOverlaysBefore N/A len N/A N/A N/A N/A N/A N/A self testProject dataMgr N/A N/A N/A N/A self testProject dataMgr _activeImageNumber overlayMgr keys N/A finalizeTest N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A self testThread passedTest True N/A N/A N/A N/A self app quit N/A N/A TestWholeModulePCADecomposer N/A N/A unittest TestCase N/A N/A N/A numpyRecentEnough N/A N/A __test__ False setUp N/A N/A self N/A N/A N/A N/A self app N/A N/A QtCore QCoreApplication N/A sys argv N/A N/A self numComponents 3 N/A N/A self testProject N/A UnsupervisedDecompositionTestProject sims_aligned_s7_32.h5 UnsupervisedDecompositionPCA N/A self numComponents N/A test_WholeModule N/A N/A self N/A N/A N/A t N/A N/A QtCore QTimer N/A N/A N/A t setSingleShot True N/A N/A N/A t setInterval 0 N/A N/A N/A N/A self app connect t N/A N/A QtCore SIGNAL timeout() N/A self mainFunction N/A N/A N/A t start N/A N/A N/A N/A self app exec_ N/A mainFunction N/A N/A self N/A N/A N/A N/A self testThread N/A TestThread N/A N/A self testProject unsupervisedMgr N/A N/A self testProject listOfResultOverlays N/A N/A self testProject listOfFilenames N/A N/A self testProject tolerance N/A N/A N/A N/A QtCore QObject connect N/A self testThread N/A N/A QtCore SIGNAL done() N/A self finalizeTest N/A N/A N/A N/A self testThread start N/A N/A self testProject inputOverlays N/A N/A self numOverlaysBefore N/A len N/A N/A N/A N/A N/A N/A self testProject dataMgr N/A N/A N/A N/A self testProject dataMgr _activeImageNumber overlayMgr keys N/A finalizeTest N/A N/A self N/A N/A N/A for i in range(self.testProject.unsupervisedMethod.numComponents):
            print "*************************************"
            print self.testProject.listOfResultOverlays[i]
            obtained = self.testProject.dataMgr[self.testProject.dataMgr._activeImageNumber].overlayMgr[self.testProject.listOfResultOverlays[i]]
            from ilastik.core import dataImpex
            dataImpex.DataImpex.exportOverlay(str("c:/gt_PCA_result_component_%d" % (i+1)), "h5", obtained) N/A N/A N/A self assertEqual N/A N/A self testThread passedTest True N/A N/A self numOverlaysAfter N/A len N/A N/A N/A N/A N/A N/A self testProject dataMgr N/A N/A N/A N/A self testProject dataMgr _activeImageNumber overlayMgr keys N/A N/A N/A self assertEqual N/A N/A self numOverlaysAfter N/A self numOverlaysBefore N/A N/A self numComponents 2 N/A N/A N/A N/A self app quit N/A N/A TestWholeModulePLSADecomposer N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self app N/A N/A QtCore QCoreApplication N/A sys argv N/A N/A self numComponents 5 N/A N/A self testProject N/A UnsupervisedDecompositionTestProject sims_aligned_s7_32.h5 UnsupervisedDecompositionPLSA N/A self numComponents N/A test_WholeModule N/A N/A self N/A N/A N/A t N/A N/A QtCore QTimer N/A N/A N/A t setSingleShot True N/A N/A N/A t setInterval 0 N/A N/A N/A N/A self app connect t N/A N/A QtCore SIGNAL timeout() N/A self mainFunction N/A N/A N/A t start N/A N/A N/A N/A self app exec_ N/A mainFunction N/A N/A self N/A N/A ilastik.core.randomSeed RandomSeed N/A N/A N/A RandomSeed setRandomSeed 42 N/A N/A self testThread N/A TestThread N/A N/A self testProject unsupervisedMgr N/A N/A self testProject listOfResultOverlays N/A N/A self testProject listOfFilenames N/A N/A self testProject tolerance N/A N/A N/A N/A QtCore QObject connect N/A self testThread N/A N/A QtCore SIGNAL done() N/A self finalizeTest N/A N/A N/A N/A self testThread start N/A N/A self testProject inputOverlays N/A N/A self numOverlaysBefore N/A len N/A N/A N/A N/A N/A N/A self testProject dataMgr N/A N/A N/A N/A self testProject dataMgr _activeImageNumber overlayMgr keys N/A finalizeTest N/A N/A self N/A N/A N/A for i in range(self.testProject.unsupervisedMethod.numComponents):
            obtained = self.testProject.dataMgr[self.testProject.dataMgr._activeImageNumber].overlayMgr[self.testProject.listOfResultOverlays[i]]
            from ilastik.core import dataImpex
            dataImpex.DataImpex.exportOverlay(str("c:/gt_pLSA_result_component_%d" % (i+1)), "h5", obtained) N/A N/A N/A self assertEqual N/A N/A self testThread passedTest True N/A N/A self numOverlaysAfter N/A len N/A N/A N/A N/A N/A N/A self testProject dataMgr N/A N/A N/A N/A self testProject dataMgr _activeImageNumber overlayMgr keys N/A N/A N/A self assertEqual N/A N/A self numOverlaysAfter N/A self numOverlaysBefore N/A N/A self numComponents 2 N/A N/A N/A N/A self app quit N/A N/A TestEtc N/A N/A unittest TestCase N/A test_Etc N/A N/A self N/A N/A N/A numChannels 10 N/A decomposer N/A UnsupervisedDecompositionPCA N/A components N/A N/A decomposer checkNumComponents numChannels 100 N/A N/A N/A components numChannels N/A components 1 N/A components N/A N/A decomposer checkNumComponents numChannels 0 N/A components N/A N/A N/A components numChannels N/A components 1 N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main