Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias identifier Import alias Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str Str Str Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr FunctionDef arguments args defaults body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad If NameLoad body Return NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str If NameLoad body Return SubscriptLoad NameLoad Index Num orelse Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpDiv BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return TupleLoad NameLoad NameLoad Assign NameStore BinOpDiv BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpDiv BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Return TupleLoad NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Num Num NameLoad body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr For TupleStore NameStore TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult Num BinOpSub Call NameLoad BinOpMod Str NameLoad Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr BinOpMod Str BinOpAdd NameLoad Num NameLoad NameLoad Expr Call AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body For TupleStore TupleStore NameStore NameStore NameStore NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Expr Call AttributeLoad NameLoad attr For TupleStore NameStore NameStore NameLoad body If CompareEq AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad orelse Assign NameStore NameStore Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpSub NameLoad Num BinOpSub NameLoad Num Num Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str keyword AttributeLoad NameLoad attr For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Assign NameStore NameStore Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Assign NameStore BinOpSub BinOpMult NameLoad AttributeLoad NameLoad attr BinOpDiv NameLoad Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd AttributeStore NameLoad attr ListLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Return ImportFrom alias Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Num BinOpDiv Num Call NameLoad NameLoad AugAssignAdd NameStore BinOpDiv BinOpSub Num SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr ListComp BinOpMult Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num comprehension NameStore NameLoad Assign AttributeStore NameLoad attr ListComp Call NameLoad BinOpAdd NameLoad Num comprehension TupleStore NameStore NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict For NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr UnaryOpNot AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If CompareEq AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Str NameLoad Num Num NameLoad NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call NameLoad ListComp BinOpSub NameLoad Num comprehension NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If CompareIs NameLoad NameLoad body TryExcept body Assign NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Pass Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore SubscriptLoad Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad AttributeLoad NameLoad attr orelse Assign NameStore BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad TupleLoad AttributeLoad NameLoad attr Call NameLoad Str NameLoad TupleLoad AttributeLoad NameLoad attr Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad Num Num NameLoad body Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BoolOpOr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num keyword BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr CompareIsNot AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Assign NameStore Call NameLoad ListComp AttributeLoad SubscriptLoad NameLoad Index Num attr comprehension NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore NameLoad body For TupleStore NameStore NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If CompareEq SubscriptLoad NameLoad Index Num NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr If CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr handlers ExceptHandler body Pass Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore Num Assign NameStore Num Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign NameStore ListLoad Assign NameStore Num For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq NameLoad Num body AugAssignAdd NameStore ListLoad NameLoad orelse If CompareEq NameLoad Num body AugAssignAdd NameStore ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension NameStore Str orelse If CompareEq NameLoad Num body AugAssignAdd NameStore ListComp BinOpMod Str TupleLoad NameLoad NameLoad comprehension NameStore Str orelse AugAssignAdd NameStore ListComp BinOpMod Str TupleLoad NameLoad BinOpAdd NameLoad Num comprehension NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr For TupleStore NameStore NameStore Call NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad For NameStore Call NameLoad Num Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr For NameStore ListLoad Str Str Str Str Str Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad NameLoad NameLoad NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpOr BoolOpAnd CompareEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num CompareEq NameLoad Str BoolOpAnd CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num CompareEq NameLoad Num CompareEq NameLoad Str BoolOpAnd CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num CompareEq NameLoad Num CompareEq NameLoad Str BoolOpAnd CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num CompareEq NameLoad Num CompareEq NameLoad Str body Assign NameStore BinOpAdd NameLoad ListLoad NameLoad Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad TupleLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareEq NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Str Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Str Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad Num Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str If CompareIn Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr orelse Assign NameStore BinOpAdd ListLoad Str Str Str BinOpMult ListLoad Str NameLoad For NameStore Call NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index BinOpAdd NameLoad NameLoad SubscriptLoad NameLoad Index NameLoad Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body If UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr keyword Num keyword AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Num BinOpBitOr BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr TupleLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpMult NameLoad AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num BinOpAdd BinOpMult NameLoad AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Num BinOpMult NameLoad AttributeLoad AttributeLoad NameLoad attr attr BinOpMult NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Dict For TupleStore NameStore NameStore Call AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index NameLoad ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIn Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Assign TupleStore NameStore NameStore NameStore NameStore SubscriptLoad AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad If CompareNotEq Call AttributeLoad NameLoad attr Str body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad Num If BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If CompareEq NameLoad Call NameLoad Str body If AttributeLoad NameLoad attr body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub NameLoad Num If BoolOpOr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr body If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse If CompareEq NameLoad Call NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareGtGtE Call NameLoad AttributeLoad NameLoad attr NameLoad Num body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr orelse If CompareEq NameLoad Call NameLoad Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Str body For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq NameLoad NameLoad CompareEq Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr body Expr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse For TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If BoolOpAnd CompareEq NameLoad NameLoad CompareEq Call AttributeLoad NameLoad attr Str body Expr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If AttributeLoad NameLoad attr body Assign NameStore ListComp Call NameLoad NameLoad NameLoad comprehension TupleStore NameStore NameStore NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num AugAssignAdd AttributeStore NameLoad attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpDiv AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore BinOpDiv AttributeLoad Call AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Return If UnaryOpNot Call AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse If CompareNotIn NameLoad AttributeLoad NameLoad attr body AugAssignAdd AttributeStore NameLoad attr ListLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr If CompareIs NameLoad Num body Pass decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore NameLoad If AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr Str BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Return Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr Str BinOpAdd Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body TryExcept body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str AttributeLoad NameLoad attr Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Return If AttributeLoad NameLoad attr body Assign NameStore TupleLoad NameLoad NameLoad orelse Assign NameStore TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotIn NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword Str keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword Str keyword BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Assign TupleStore AttributeStore NameLoad attr AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Index Num Expr Call AttributeLoad NameLoad attr If UnaryOpNot CompareIn Call AttributeLoad NameLoad attr ListLoad Str Str Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpMod Str NameLoad Str BinOpBitOr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr NameLoad SubscriptLoad Call AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str body Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num orelse Assign AttributeStore AttributeLoad NameLoad attr attr BinOpMod Str SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ImportFrom alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Str Str Str Assign AttributeStore NameLoad attr ListLoad Str Str Assign AttributeStore NameLoad attr ListLoad Str Str Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr ListLoad Num Num Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr TupleLoad Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num Call AttributeLoad NameLoad attr TupleLoad Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num BinOpDiv Call AttributeLoad NameLoad attr TupleLoad Num Num Num Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body AugAssignAdd NameStore ListLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr
N/A N/A cpa.helpmenu dbconnect * datamodel DataModel imagecontrolpanel * imagepanel ImagePanel properties Properties N/A imagetools N/A cPickle N/A logging N/A numpy np N/A wx N/A p N/A N/A Properties getInstance N/A db N/A N/A DBConnect getInstance N/A REQUIRED_PROPERTIES N/A channels_per_image image_channel_colors object_name image_names image_id N/A CL_NUMBERED numbered N/A CL_COLORED colored N/A ID_SELECT_ALL N/A N/A wx NewId N/A ID_DESELECT_ALL N/A N/A wx NewId get_classifier_window N/A N/A N/A N/A classifier ID_CLASSIFIER N/A win N/A N/A wx FindWindowById ID_CLASSIFIER N/A win N/A N/A win N/A wins N/A x N/A x N/A N/A wx GetTopLevelWindows N/A N/A x Name Classifier N/A wins N/A N/A N/A wins N/A 0 N/A N/A None N/A rescale_image_coord_to_display N/A N/A x y N/A N/A N/A  Rescale coordinate to fit the rescaled image dimensions  N/A N/A N/A p rescale_object_coords N/A N/A N/A x y N/A x N/A N/A x N/A N/A p image_rescale N/A 0 N/A N/A p image_rescale_from N/A 0 N/A y N/A N/A y N/A N/A p image_rescale N/A 1 N/A N/A p image_rescale_from N/A 1 N/A N/A x y N/A rescale_display_coord_to_image N/A N/A x y N/A N/A N/A  Rescale coordinate to fit the display image dimensions  N/A N/A N/A p rescale_object_coords N/A N/A N/A x y N/A x N/A N/A x N/A N/A p image_rescale_from N/A 0 N/A N/A p image_rescale N/A 0 N/A y N/A N/A y N/A N/A p image_rescale_from N/A 1 N/A N/A p image_rescale N/A 1 N/A N/A x y N/A ImageViewerPanel N/A ImagePanel N/A N/A 
    ImagePanel with selection and object class labels. 
     __init__ N/A N/A self imgs chMap img_key parent scale brightness contrast N/A 1.0 1.0 None N/A N/A N/A N/A N/A super ImageViewerPanel self __init__ imgs chMap parent scale brightness contrast contrast N/A N/A self selectedPoints N/A N/A N/A self classes N/A N/A N/A self classVisible N/A N/A N/A self class_rep CL_COLORED N/A N/A self img_key img_key N/A N/A self show_object_numbers False N/A OnPaint N/A N/A self evt N/A N/A N/A dc N/A N/A N/A super ImageViewerPanel self OnPaint evt N/A font N/A N/A self GetFont N/A N/A N/A font SetPixelSize N/A 6 12 N/A N/A N/A dc SetFont font N/A N/A N/A dc SetTextForeground WHITE N/A N/A N/A self show_object_numbers N/A p object_table N/A N/A N/A N/A dc SetLogicalFunction N/A wx XOR N/A N/A N/A dc BeginDrawing N/A N/A i N/A x y N/A enumerate N/A self ob_coords N/A N/A x N/A N/A x N/A self scale N/A 6 N/A N/A len N/A %s i 1 N/A y N/A N/A y N/A self scale 6 N/A N/A N/A dc DrawText N/A %s N/A i 1 x y N/A N/A N/A dc EndDrawing N/A N/A self classes N/A N/A N/A N/A name cl clnum color N/A zip N/A N/A N/A self classes items N/A self class_nums N/A self colors N/A N/A N/A N/A self classVisible N/A name N/A N/A N/A N/A dc BeginDrawing N/A N/A x y cl N/A N/A N/A N/A self class_rep CL_NUMBERED N/A N/A N/A N/A dc SetLogicalFunction N/A wx XOR N/A x N/A N/A x N/A self scale 3 N/A y N/A N/A y N/A self scale 6 N/A N/A N/A dc DrawText clnum x y N/A N/A w h 4 N/A x N/A N/A x N/A self scale N/A w 2 N/A y N/A N/A y N/A self scale N/A h 2 N/A N/A N/A dc SetPen N/A N/A wx Pen color 1 N/A N/A N/A dc SetBrush N/A N/A wx Brush color style N/A wx TRANSPARENT N/A N/A N/A dc DrawRectangle x y w h N/A N/A N/A dc DrawRectangle N/A x 1 N/A y 1 6 6 N/A N/A N/A dc EndDrawing N/A N/A N/A dc SetLogicalFunction N/A wx XOR N/A N/A N/A dc SetPen N/A N/A wx Pen WHITE 1 N/A N/A N/A dc SetBrush N/A N/A wx Brush WHITE style N/A wx TRANSPARENT N/A N/A x y N/A self selectedPoints N/A N/A w h 6 N/A x N/A N/A x N/A self scale N/A w 2 N/A y N/A N/A y N/A self scale N/A h 2 N/A N/A N/A dc BeginDrawing N/A N/A N/A dc DrawRectangle x y w h N/A N/A N/A dc EndDrawing N/A dc N/A SetSelectedPoints N/A N/A self posns N/A N/A N/A N/A self selectedPoints posns N/A N/A N/A self Refresh N/A SelectPoint N/A N/A self pos N/A N/A N/A N/A self selectedPoints N/A pos N/A N/A N/A self Refresh N/A DeselectPoint N/A N/A self pos N/A N/A N/A N/A N/A N/A self selectedPoints remove pos N/A N/A N/A self Refresh N/A TogglePointSelection N/A N/A self pos N/A N/A N/A N/A pos N/A self selectedPoints N/A N/A N/A N/A self DeselectPoint pos N/A N/A N/A N/A self SelectPoint pos N/A DeselectAll N/A N/A self N/A N/A N/A N/A self selectedPoints N/A N/A N/A N/A self Refresh N/A SetClassPoints N/A N/A self classes N/A N/A N/A N/A N/A len classes 0 N/A N/A N/A N/A logging warn There are no objects to classify in this image. N/A matplotlib.pyplot cm N/A N/A self classes classes N/A vals N/A N/A np arange 0 1 N/A 1.0 N/A len classes N/A vals N/A N/A 1.0 N/A vals N/A -1 2 N/A N/A self colors N/A N/A N/A N/A np array N/A N/A cm jet val 255 N/A val vals N/A N/A self class_nums N/A N/A str N/A i 1 N/A N/A i _ N/A enumerate classes N/A N/A self classVisible N/A N/A className N/A N/A classes keys N/A N/A N/A N/A self classVisible N/A className True N/A N/A N/A self Refresh N/A ToggleObjectNumbers N/A N/A self N/A N/A N/A N/A self show_object_numbers N/A N/A self show_object_numbers N/A N/A self show_object_numbers N/A N/A N/A self ob_coords N/A N/A db GetAllObjectCoordsFromImage N/A self img_key N/A N/A N/A self Refresh N/A ToggleClassRepresentation N/A N/A self N/A N/A N/A N/A N/A self class_rep CL_NUMBERED N/A N/A N/A self class_rep CL_COLORED N/A N/A N/A self class_rep CL_NUMBERED N/A N/A N/A self Refresh N/A ToggleClass N/A N/A self className show N/A N/A N/A N/A N/A self classVisible N/A className show N/A N/A N/A self Refresh N/A N/A ImageViewer N/A N/A wx Frame N/A N/A 
    A frame that takes a list of np arrays representing image channels 
    and merges and displays them as a single image.
    Menus are provided to change the RGB mapping of each channel passed in.
    Note: chMap is passed by reference by default, this means that the caller
       of ImageViewer can have it's own chMap (if any) updated by changes
       made in the viewer.  Otherwise pass in a copy.
     __init__ N/A N/A self imgs chMap img_key parent title classifier brightness scale contrast classCoords N/A None None None None Image Viewer None 1.0 1.0 None None N/A N/A 
        imgs  : [np.array(dtype=float32), ... ]
        chMap : ['color', ...]
            defines the colors that will be mapped to the corresponding
            image channels in imgs
        img_key : key for this image in the database, to allow selection of cells
        NOTE: imgs lists must be of the same length.
         N/A N/A N/A N/A wx Frame __init__ self parent -1 title N/A N/A N/A self SetName ImageViewer N/A N/A N/A self SetBackgroundColour white N/A N/A self img_key img_key N/A N/A self classifier parent N/A N/A self sw N/A N/A wx ScrolledWindow self N/A N/A self selection N/A N/A N/A self maxSize N/A tuple N/A N/A xy 50 N/A xy N/A N/A wx DisplaySize N/A N/A self defaultFile MyImage.png N/A N/A self defaultPath N/A N/A self imagePanel None N/A N/A self cp None N/A N/A self controls None N/A N/A self first_layout True N/A N/A self inspect_release True N/A N/A chMap None N/A N/A N/A N/A chMap N/A p image_channel_colors N/A N/A N/A N/A N/A N/A N/A self SetSizer N/A N/A wx BoxSizer N/A wx VERTICAL N/A N/A N/A self CreateMenus N/A N/A N/A self CreatePopupMenu N/A N/A imgs chMap N/A N/A N/A N/A self SetImage imgs chMap brightness scale contrast N/A N/A N/A N/A self OnOpenImage N/A N/A N/A self DoLayout N/A N/A N/A self Center N/A N/A classCoords None N/A N/A N/A N/A self SetClasses classCoords N/A AutoTitle N/A N/A self N/A N/A N/A N/A N/A p plate_id N/A p well_id N/A N/A N/A plate well N/A N/A N/A db execute N/A SELECT %s, %s FROM %s WHERE %s N/A N/A p plate_id N/A p well_id N/A p image_table N/A GetWhereClauseForImages N/A N/A self img_key N/A 0 N/A title N/A %s %s, %s %s, image-key %s N/A N/A p plate_id plate N/A p well_id well N/A str N/A self img_key N/A N/A title N/A image-key %s N/A str N/A self img_key N/A N/A N/A self SetTitle title N/A CreatePopupMenu N/A N/A self N/A N/A N/A N/A self popupMenu N/A N/A wx Menu N/A N/A self sel_all N/A N/A wx MenuItem N/A self popupMenu ID_SELECT_ALL Select all	Ctrl+A N/A N/A self deselect N/A N/A wx MenuItem N/A self popupMenu ID_DESELECT_ALL Deselect all	Ctrl+D N/A N/A N/A N/A self popupMenu AppendItem N/A self sel_all N/A N/A N/A N/A self popupMenu AppendItem N/A self deselect N/A accelerator_table N/A N/A wx AcceleratorTable N/A N/A N/A wx ACCEL_CMD N/A ord A ID_SELECT_ALL N/A N/A wx ACCEL_CMD N/A ord D ID_DESELECT_ALL N/A N/A N/A self SetAcceleratorTable accelerator_table N/A SetImage N/A N/A self imgs chMap brightness scale contrast N/A None 1 1 None N/A N/A N/A N/A self AutoTitle N/A N/A self chMap N/A chMap N/A p image_channel_colors N/A N/A self toggleChMap N/A N/A self chMap N/A N/A N/A self imagePanel N/A N/A N/A N/A N/A self imagePanel Destroy N/A N/A self imagePanel N/A ImageViewerPanel imgs N/A self chMap N/A self img_key N/A self sw brightness brightness scale scale contrast contrast N/A N/A N/A N/A self imagePanel Bind N/A wx EVT_LEFT_DOWN N/A self OnLeftDown N/A N/A N/A N/A self imagePanel Bind N/A wx EVT_SIZE N/A self OnResizeImagePanel N/A N/A N/A N/A self imagePanel Bind N/A wx EVT_RIGHT_DOWN N/A self OnRightDown N/A CreateMenus N/A N/A self N/A N/A N/A N/A N/A self SetMenuBar N/A N/A wx MenuBar N/A N/A self fileMenu N/A N/A wx Menu N/A N/A self openImageMenuItem N/A N/A N/A self fileMenu Append -1 text Open Image	Ctrl+O N/A N/A self saveImageMenuItem N/A N/A N/A self fileMenu Append -1 text Save Image	Ctrl+S N/A N/A N/A N/A self fileMenu AppendSeparator N/A N/A self exitMenuItem N/A N/A N/A self fileMenu Append -1 text Exit	Ctrl+Q N/A N/A N/A N/A N/A self GetMenuBar Append N/A self fileMenu File N/A N/A self classifyMenu N/A N/A wx Menu N/A N/A self classifyMenuItem N/A N/A N/A self classifyMenu Append -1 text Classify Image N/A N/A N/A N/A N/A self GetMenuBar Append N/A self classifyMenu Classify N/A N/A self viewMenu N/A N/A wx Menu N/A N/A self objectNumberMenuItem N/A N/A N/A self viewMenu Append -1 text N/A Show %s numbers	Ctrl+` N/A N/A p object_name N/A 0 N/A N/A N/A N/A self objectNumberMenuItem Enable N/A N/A p object_table None N/A N/A self classViewMenuItem N/A N/A N/A self viewMenu Append -1 text N/A View %s classes as numbers N/A N/A p object_name N/A 0 N/A N/A N/A N/A self classViewMenuItem Enable N/A N/A p object_table None N/A N/A N/A N/A N/A self GetMenuBar Append N/A self viewMenu View N/A N/A N/A N/A N/A self GetMenuBar Append N/A N/A N/A cpa helpmenu make_help_menu self Help N/A CreateChannelMenus N/A N/A self N/A N/A N/A  Create color-selection menus for each channel.  N/A N/A N/A menus N/A set N/A N/A N/A items N/A 2 Menu N/A items N/A N/A N/A self chMapById values N/A menu menus N/A N/A N/A i mbmenu N/A enumerate N/A N/A self MenuBar Menus N/A N/A N/A N/A mbmenu N/A 0 menu N/A N/A N/A N/A N/A self MenuBar Remove i N/A menu menus N/A N/A N/A N/A menu Destroy N/A N/A imagesMenu N/A self __dict__ N/A N/A N/A N/A N/A self MenuBar Remove N/A N/A N/A self MenuBar FindMenu Images N/A N/A N/A N/A self imagesMenu Destroy N/A N/A N/A N/A N/A N/A self imagesMenu N/A N/A wx Menu N/A chIndex 0 N/A imIndex 0 N/A N/A self chMapById N/A N/A N/A self imMapById N/A N/A channel_names N/A N/A startIndex 0 N/A N/A i chans N/A enumerate N/A p channels_per_image N/A N/A chans N/A int chans N/A name N/A N/A p image_names N/A i N/A N/A chans 1 N/A N/A channel_names N/A name N/A N/A N/A chans 3 N/A N/A channel_names N/A N/A %s [%s] N/A name x N/A x RGB N/A N/A N/A chans 4 N/A N/A channel_names N/A N/A %s [%s] N/A name x N/A x RGBA N/A N/A channel_names N/A N/A %s [%s] N/A name N/A x 1 N/A x N/A range chans N/A zippedChNamesChMap N/A zip channel_names N/A self chMap N/A N/A i chans N/A enumerate N/A p image_names N/A N/A channelIds N/A N/A j N/A range 0 N/A int N/A N/A p channels_per_image N/A i N/A N/A N/A channel setColor N/A zippedChNamesChMap N/A chIndex N/A channel_menu N/A N/A wx Menu N/A color N/A Red Green Blue Cyan Magenta Yellow Gray None N/A N/A id N/A N/A wx NewId N/A item N/A N/A channel_menu AppendRadioItem id color N/A N/A N/A self chMapById N/A id N/A chIndex color item channel_menu N/A N/A N/A N/A color lower N/A N/A setColor lower N/A N/A N/A N/A item Check N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnMapChannels item N/A N/A N/A N/A N/A int N/A N/A p channels_per_image N/A i 1 N/A color Gray N/A N/A N/A int N/A N/A p channels_per_image N/A i 1 N/A j 0 N/A color Red N/A N/A N/A int N/A N/A p channels_per_image N/A i 1 N/A j 2 N/A color Blue N/A N/A N/A int N/A N/A p channels_per_image N/A i 1 N/A j 1 N/A color Green N/A N/A channelIds N/A channelIds N/A id N/A N/A N/A N/A N/A self GetMenuBar Append channel_menu channel N/A chIndex 1 N/A id N/A N/A wx NewId N/A item N/A N/A N/A self imagesMenu AppendRadioItem id N/A N/A p image_names N/A i N/A N/A N/A self imMapById N/A id N/A N/A int N/A N/A p channels_per_image N/A i item startIndex channelIds N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnFetchImage item N/A startIndex N/A int N/A N/A p channels_per_image N/A i N/A id N/A N/A wx NewId N/A item N/A N/A N/A self imagesMenu AppendRadioItem id None N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnFetchImage item N/A N/A N/A item Check N/A N/A N/A N/A N/A self GetMenuBar Append N/A self imagesMenu Images N/A OnFetchImage N/A N/A self evt N/A None N/A N/A ids N/A N/A N/A self chMapById keys N/A N/A N/A chIndex color item channel_menu N/A N/A self chMapById N/A ids N/A N/A N/A N/A color lower none N/A N/A N/A N/A item Check N/A ids N/A N/A N/A self imMapById keys N/A N/A N/A cpi itm si channelIds N/A N/A self imMapById N/A ids N/A N/A cpi 3 N/A N/A N/A N/A self chMap N/A si none N/A N/A N/A self chMap N/A N/A si 1 none N/A N/A N/A self chMap N/A N/A si 2 none N/A N/A N/A self toggleChMap N/A si none N/A N/A N/A self toggleChMap N/A N/A si 1 none N/A N/A N/A self toggleChMap N/A N/A si 2 none N/A N/A N/A N/A self chMap N/A si none N/A N/A N/A self toggleChMap N/A si none N/A N/A N/A N/A evt GetId N/A N/A N/A self imMapById keys N/A N/A N/A chanPerIm item startIndex channelIds N/A N/A self imMapById N/A N/A N/A evt GetId N/A N/A chanPerIm 1 N/A N/A N/A N/A self chMap N/A startIndex gray N/A N/A N/A self toggleChMap N/A startIndex gray N/A N/A chIndex color item channel_menu N/A N/A self chMapById N/A N/A channelIds N/A 0 N/A N/A N/A item Check N/A N/A RGB N/A N/A red green blue N/A N/A none chanPerIm N/A i N/A range chanPerIm N/A N/A N/A N/A self chMap N/A N/A startIndex i N/A RGB N/A i N/A N/A N/A self toggleChMap N/A N/A startIndex i N/A RGB N/A i N/A N/A chIndex color item channel_menu N/A N/A self chMapById N/A N/A channelIds N/A i N/A N/A N/A item Check N/A N/A N/A self MapChannels N/A self chMap N/A DoLayout N/A N/A self N/A N/A N/A N/A self imagePanel N/A N/A N/A N/A self cp N/A N/A N/A self cp N/A N/A wx CollapsiblePane self label Show controls style N/A N/A wx CP_DEFAULT_STYLE N/A wx CP_NO_TLW_RESIZE N/A N/A N/A self SetBackgroundColour white N/A N/A self controls N/A ImageControlPanel N/A N/A N/A self cp GetPane N/A self imagePanel brightness N/A N/A self imagePanel brightness scale N/A N/A self imagePanel scale contrast N/A N/A self imagePanel contrast N/A N/A N/A self Bind N/A wx EVT_COLLAPSIBLEPANE_CHANGED N/A self OnPaneChanged N/A self cp N/A N/A N/A N/A N/A self controls SetListener N/A self imagePanel N/A N/A N/A N/A self Sizer Clear N/A N/A N/A N/A self Sizer Add N/A self sw proportion 1 flag N/A wx EXPAND N/A N/A N/A N/A self Sizer Add N/A self cp 0 N/A N/A N/A wx RIGHT N/A wx LEFT N/A wx EXPAND 25 N/A N/A w h N/A N/A N/A self imagePanel GetSize N/A N/A self first_layout N/A N/A N/A N/A self SetClientSize N/A N/A min N/A N/A self maxSize N/A 0 N/A w N/A N/A self imagePanel scale N/A min N/A N/A self maxSize N/A 1 N/A N/A h N/A N/A self imagePanel scale 55 N/A N/A N/A self Center N/A N/A self first_layout False N/A N/A N/A N/A self sw SetScrollbars 1 1 N/A w N/A N/A self imagePanel scale N/A h N/A N/A self imagePanel scale N/A N/A N/A self CreateChannelMenus N/A N/A N/A self Bind N/A wx EVT_KEY_DOWN N/A self HoldKey N/A N/A N/A N/A self sw Bind N/A wx EVT_KEY_DOWN N/A self HoldKey N/A N/A N/A N/A self cp Bind N/A wx EVT_KEY_DOWN N/A self HoldKey N/A N/A N/A N/A self imagePanel Bind N/A wx EVT_KEY_DOWN N/A self HoldKey N/A N/A N/A self Bind N/A wx EVT_KEY_UP N/A self OnKey N/A N/A N/A N/A self sw Bind N/A wx EVT_KEY_UP N/A self OnKey N/A N/A N/A N/A self cp Bind N/A wx EVT_KEY_UP N/A self OnKey N/A N/A N/A N/A self imagePanel Bind N/A wx EVT_KEY_UP N/A self OnKey N/A N/A N/A self Bind N/A wx EVT_MENU N/A N/A N/A e N/A N/A N/A self SelectAll N/A self sel_all N/A N/A N/A self Bind N/A wx EVT_MENU N/A N/A N/A e N/A N/A N/A self DeselectAll N/A self deselect N/A N/A N/A N/A self fileMenu Bind N/A wx EVT_MENU_OPEN N/A self OnOpenFileMenu N/A N/A N/A N/A self classifyMenu Bind N/A wx EVT_MENU_OPEN N/A self OnOpenClassifyMenu N/A N/A N/A N/A self viewMenu Bind N/A wx EVT_MENU_OPEN N/A self OnOpenViewMenu N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnOpenImage N/A self openImageMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnSaveImage N/A self saveImageMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnSaveImage N/A self saveImageMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnOpenImage N/A self openImageMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnChangeClassRepresentation N/A self classViewMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnShowObjectNumbers N/A self objectNumberMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A self OnClassifyImage N/A self classifyMenuItem N/A N/A N/A self Bind N/A wx EVT_MENU N/A N/A N/A evt N/A N/A N/A self Close N/A self exitMenuItem N/A OnClassifyImage N/A N/A self evt N/A None N/A N/A N/A N/A logging info N/A Classifying image with key=%s... N/A str N/A self img_key N/A classifier N/A get_classifier_window N/A N/A classifier None N/A N/A N/A N/A logging error Could not find Classifier! N/A N/A classHits N/A N/A classifier ScoreImage N/A self img_key N/A classCoords N/A N/A N/A className obKeys N/A N/A classHits items N/A N/A N/A classCoords N/A className N/A N/A N/A db GetObjectCoords key N/A key obKeys N/A N/A N/A self SetClasses classCoords N/A OnPaneChanged N/A N/A self evt N/A None N/A N/A N/A N/A self Layout N/A N/A N/A N/A self cp IsExpanded N/A N/A N/A N/A N/A self cp SetLabel Hide controls N/A N/A N/A N/A N/A self cp SetLabel Show controls N/A OnMapChannels N/A N/A self evt N/A N/A N/A N/A N/A N/A evt GetId N/A N/A N/A self chMapById keys N/A N/A N/A chIdx color _ _ N/A N/A self chMapById N/A N/A N/A evt GetId N/A N/A N/A self chMap N/A chIdx color N/A N/A N/A N/A color lower none N/A N/A N/A N/A self toggleChMap N/A chIdx color N/A N/A N/A self MapChannels N/A self chMap N/A MapChannels N/A N/A self chMap N/A N/A N/A N/A self chMap chMap N/A N/A N/A N/A self imagePanel MapChannels chMap N/A HoldKey N/A N/A self evt N/A N/A N/A keycode N/A N/A evt GetKeyCode N/A chIdx N/A keycode 49 N/A N/A N/A N/A evt CmdDown N/A N/A evt ControlDown N/A N/A N/A keycode N/A ord F N/A N/A N/A self inspect_release N/A N/A N/A N/A self imagePanel tmp_brightness N/A N/A self imagePanel brightness N/A N/A self inspect_release False N/A N/A N/A N/A self imagePanel SetBrightness 0 N/A N/A N/A N/A evt Skip N/A OnKey N/A N/A self evt N/A N/A N/A  Keyboard shortcuts  N/A keycode N/A N/A evt GetKeyCode N/A chIdx N/A keycode 49 N/A N/A N/A N/A evt CmdDown N/A N/A evt ControlDown N/A N/A N/A keycode N/A ord A N/A N/A N/A N/A self SelectAll N/A N/A N/A keycode N/A ord D N/A N/A N/A N/A self DeselectAll N/A N/A N/A keycode N/A ord J N/A N/A N/A N/A N/A self imagePanel SetContrastMode None N/A N/A N/A N/A self controls SetContrastMode None N/A N/A N/A keycode N/A ord K N/A N/A N/A N/A N/A self imagePanel SetContrastMode Linear N/A N/A N/A N/A self controls SetContrastMode Linear N/A N/A N/A keycode N/A ord L N/A N/A N/A N/A N/A self imagePanel SetContrastMode Log N/A N/A N/A N/A self controls SetContrastMode Log N/A N/A N/A keycode N/A ord F N/A N/A brightness N/A N/A self imagePanel tmp_brightness N/A N/A N/A N/A self imagePanel SetBrightness brightness N/A N/A self inspect_release True N/A N/A N/A N/A len N/A self chMap chIdx 0 N/A N/A N/A N/A self ToggleChannel chIdx N/A N/A N/A N/A evt Skip N/A N/A N/A keycode N/A ord N/A N/A N/A N/A N/A self cp Collapse N/A N/A N/A N/A self cp IsCollapsed N/A N/A N/A self OnPaneChanged N/A N/A N/A N/A evt Skip N/A OnResizeImagePanel N/A N/A self evt N/A N/A N/A N/A N/A N/A self sw SetVirtualSize N/A N/A evt GetSize N/A ToggleChannel N/A N/A self chIdx N/A N/A N/A N/A N/A N/A self chMap N/A chIdx None N/A N/A N/A idx color item menu N/A N/A N/A self chMapById values N/A N/A N/A N/A idx chIdx N/A N/A N/A color lower N/A N/A N/A N/A self toggleChMap N/A chIdx lower N/A N/A N/A N/A item Check N/A N/A N/A self chMap N/A chIdx N/A N/A self toggleChMap N/A chIdx N/A N/A N/A self MapChannels N/A self chMap N/A N/A N/A idx color item menu N/A N/A N/A self chMapById values N/A N/A N/A N/A idx chIdx N/A N/A N/A color lower none N/A N/A N/A N/A item Check N/A N/A N/A self chMap N/A chIdx None N/A N/A N/A self MapChannels N/A self chMap N/A SelectAll N/A N/A self N/A N/A N/A N/A p object_table N/A N/A coords N/A N/A db GetAllObjectCoordsFromImage N/A self img_key N/A N/A self selection N/A N/A db GetObjectsFromImage N/A self img_key N/A N/A p rescale_object_coords N/A N/A coords N/A N/A rescale_image_coord_to_display x y N/A N/A x y coords N/A N/A N/A N/A self imagePanel SetSelectedPoints coords N/A DeselectAll N/A N/A self N/A N/A N/A N/A self selection N/A N/A N/A N/A N/A self imagePanel DeselectAll N/A SelectObject N/A N/A self obkey N/A N/A N/A coord N/A N/A db GetObjectCoords obkey N/A N/A p rescale_object_coords N/A N/A coord N/A rescale_image_coord_to_display N/A coord N/A 0 N/A coord N/A 1 N/A N/A self selection N/A coord N/A N/A N/A N/A self imagePanel SetSelectedPoints N/A coord N/A SetClasses N/A N/A self classCoords N/A N/A N/A N/A N/A N/A self classViewMenuItem Enable N/A N/A N/A N/A self imagePanel SetClassPoints classCoords N/A N/A N/A N/A self controls SetClassPoints classCoords N/A N/A N/A self Refresh N/A N/A N/A self Layout N/A OnLeftDown N/A N/A self evt N/A N/A N/A N/A N/A self img_key N/A p object_table N/A N/A x N/A N/A N/A N/A evt GetPosition x N/A N/A self imagePanel scale N/A y N/A N/A N/A N/A evt GetPosition y N/A N/A self imagePanel scale N/A N/A p rescale_object_coords N/A N/A N/A x y N/A rescale_display_coord_to_image x y N/A obKey N/A N/A db GetObjectNear N/A self img_key x y N/A N/A obKey N/A N/A N/A N/A N/A N/A evt ShiftDown N/A N/A N/A self selection N/A obKey N/A N/A N/A N/A self imagePanel DeselectAll N/A N/A N/A obKey N/A self selection N/A N/A N/A self selection N/A obKey N/A N/A N/A N/A N/A self selection remove obKey N/A N/A x y N/A N/A db GetObjectCoords obKey N/A N/A p rescale_object_coords N/A N/A N/A x y N/A rescale_image_coord_to_display x y N/A N/A N/A N/A self imagePanel TogglePointSelection N/A x y N/A N/A self selection N/A N/A source N/A N/A wx DropSource self N/A data_object N/A N/A wx CustomDataObject ObjectKey N/A N/A N/A data_object SetData N/A N/A cPickle dumps N/A N/A N/A self GetId N/A self selection N/A N/A N/A source SetData data_object N/A result N/A N/A source DoDragDrop flags N/A wx Drag_DefaultMove N/A N/A result 0 N/A N/A N/A OnRightDown N/A N/A self evt N/A N/A N/A  On right click show popup menu.  N/A N/A p object_table N/A N/A N/A N/A self PopupMenu N/A self popupMenu N/A N/A evt GetPosition N/A OnOpenImage N/A N/A self evt N/A None N/A N/A tblNum None N/A N/A p table_id N/A N/A dlg N/A N/A wx TextEntryDialog self N/A N/A p table_id : N/A Enter  N/A p table_id N/A N/A N/A dlg SetValue 0 N/A N/A N/A N/A dlg ShowModal N/A wx ID_OK N/A N/A N/A N/A tblNum N/A int N/A N/A dlg GetValue N/A N/A N/A ValueError N/A N/A errdlg N/A N/A wx MessageDialog self N/A Invalid value for %s! N/A p table_id Invalid value N/A N/A wx OK N/A wx ICON_EXCLAMATION N/A N/A N/A errdlg ShowModal N/A N/A N/A N/A dlg Destroy N/A N/A N/A N/A dlg Destroy N/A N/A dlg N/A N/A wx TextEntryDialog self N/A N/A p image_id : N/A Enter  N/A p image_id N/A N/A N/A dlg SetValue N/A N/A N/A N/A dlg ShowModal N/A wx ID_OK N/A N/A N/A N/A imgNum N/A int N/A N/A dlg GetValue N/A N/A N/A ValueError N/A N/A errdlg N/A N/A wx MessageDialog self N/A Invalid value for %s! N/A p image_id Invalid value N/A N/A wx OK N/A wx ICON_EXCLAMATION N/A N/A N/A errdlg ShowModal N/A N/A N/A N/A dlg Destroy N/A N/A N/A N/A dlg Destroy N/A N/A N/A p table_id N/A N/A imkey N/A tblNum imgNum N/A N/A imkey N/A imgNum N/A dm N/A N/A DataModel getInstance N/A N/A imkey N/A N/A dm GetAllImageKeys N/A N/A errdlg N/A N/A wx MessageDialog self There is no image with that key. Couldn't find image N/A N/A wx OK N/A wx ICON_EXCLAMATION N/A N/A N/A errdlg ShowModal N/A N/A N/A self Destroy N/A N/A N/A self img_key imkey N/A N/A N/A self SetImage N/A N/A imagetools FetchImage imkey N/A p image_channel_colors N/A N/A N/A self DoLayout N/A OnSaveImage N/A N/A self evt N/A N/A N/A os N/A saveDialog N/A N/A wx FileDialog self message Save as: defaultDir N/A self defaultPath defaultFile N/A self defaultFile wildcard PNG file (*.png)|*.png|JPG file (*.jpg, *.jpeg)|*.jpg style N/A N/A wx SAVE N/A wx FD_OVERWRITE_PROMPT N/A N/A N/A N/A saveDialog ShowModal N/A wx ID_OK N/A N/A filename N/A str N/A N/A saveDialog GetPath N/A N/A N/A self defaultPath N/A self defaultFile N/A N/A N/A os path split filename N/A format N/A N/A N/A N/A os path splitext filename N/A -1 N/A N/A N/A saveDialog Destroy N/A N/A N/A N/A N/A format upper N/A .PNG .JPG .JPEG N/A N/A errdlg N/A N/A wx MessageDialog self N/A Invalid file extension (%s)! File extension must be .PNG or .JPG. format Invalid file extension N/A N/A wx OK N/A wx ICON_EXCLAMATION N/A N/A N/A N/A errdlg ShowModal N/A wx ID_OK N/A N/A N/A N/A self OnSaveImage evt N/A N/A N/A N/A format upper .JPG N/A N/A format .JPEG N/A N/A N/A imagetools SaveBitmap N/A N/A self imagePanel bitmap filename N/A N/A N/A format upper N/A 1 N/A OnChangeClassRepresentation N/A N/A self evt N/A N/A N/A N/A N/A N/A N/A self classViewMenuItem Text endswith numbers N/A N/A N/A N/A self classViewMenuItem Text N/A View %s classes as colors N/A N/A p object_name N/A 0 N/A N/A N/A N/A self classViewMenuItem Text N/A View %s classes as numbers N/A N/A p object_name N/A 0 N/A N/A N/A N/A self imagePanel ToggleClassRepresentation N/A OnShowObjectNumbers N/A N/A self evt N/A N/A N/A N/A N/A N/A N/A self objectNumberMenuItem Text startswith Hide N/A N/A N/A N/A self objectNumberMenuItem Text N/A Show %s numbers	Ctrl+` N/A N/A p object_name N/A 0 N/A N/A N/A N/A self objectNumberMenuItem Text N/A Hide %s numbers	Ctrl+` N/A N/A p object_name N/A 0 N/A N/A N/A N/A self imagePanel ToggleObjectNumbers N/A OnOpenFileMenu N/A N/A self evt N/A None N/A N/A N/A self imagePanel N/A N/A N/A N/A N/A self saveImageMenuItem Enable N/A N/A N/A N/A N/A self saveImageMenuItem Enable False N/A OnOpenViewMenu N/A N/A self evt N/A None N/A N/A N/A N/A self imagePanel N/A N/A self imagePanel classes N/A N/A N/A N/A N/A self classViewMenuItem Enable N/A N/A N/A N/A N/A self classViewMenuItem Enable False N/A OnOpenClassifyMenu N/A N/A self evt N/A None N/A N/A classifier N/A get_classifier_window N/A N/A classifier N/A N/A classifier IsTrained N/A N/A N/A N/A N/A self classifyMenuItem Enable N/A N/A N/A N/A N/A self classifyMenuItem Enable False N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A logging basicConfig N/A app N/A N/A wx PySimpleApp datamodel DataModel N/A imagetools imagereader ImageReader N/A p N/A N/A Properties getInstance N/A N/A p image_channel_colors N/A red green blue N/A N/A p object_name N/A cell cells N/A N/A p image_names N/A a b c N/A N/A p image_id ImageNumber N/A N/A p channels_per_image N/A 1 1 1 N/A images N/A N/A N/A np ones N/A 200 200 N/A N/A N/A np ones N/A 200 200 2.0 N/A N/A N/A np ones N/A 200 200 4.0 N/A N/A N/A np ones N/A 200 200 8.0 N/A N/A np ones N/A 200 200 N/A N/A N/A np ones N/A 200 200 2.0 N/A N/A N/A np ones N/A 200 200 4.0 N/A N/A N/A np ones N/A 200 200 8.0 N/A pixels N/A N/A channel N/A p image_channel_colors N/A N/A pixels N/A N/A N/A imagetools tile_images images N/A f N/A ImageViewer pixels N/A N/A N/A f Show N/A N/A N/A app MainLoop