Module Import alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias alias alias Import alias ImportFrom alias alias alias ImportFrom alias alias Import alias identifier FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr TupleLoad Num Num AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Print Str Assign NameStore Call AttributeLoad NameLoad attr Num If Call AttributeLoad NameLoad attr body Print Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Print NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Print NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Global identifier identifier identifier Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore ListLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If BoolOpAnd CompareLt BinOpMult NameLoad NameLoad NameLoad CompareLt BinOpMult NameLoad NameLoad NameLoad CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num orelse Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num If BoolOpAnd CompareGt NameLoad NameLoad CompareLt BinOpMult NameLoad NameLoad NameLoad CompareLt BinOpMult NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num orelse Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num Assign NameStore Call NameLoad NameLoad If Call AttributeLoad NameLoad attr body For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad TupleLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Pass Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad For NameStore NameLoad body If CompareEq NameLoad NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd NameLoad Num For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body If CompareEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Num Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad Num Num Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Num NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler body Pass If Call AttributeLoad NameLoad attr body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad For NameStore NameLoad body If CompareEq NameLoad NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd NameLoad Num For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body If CompareEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Num Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad Num Num Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse If CompareGt NameLoad Num body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore ListLoad For NameStore NameLoad body If CompareGt NameLoad NameLoad body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpAdd NameLoad Num For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body If CompareEq SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad Num Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Call NameLoad NameLoad TupleLoad Num Num Num Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call AttributeLoad Str attr Call NameLoad NameLoad NameLoad orelse Print Str For NameStore NameLoad body Assign SubscriptStore NameLoad Index NameLoad TupleLoad Num Num Num Assign NameStore Str If CompareLt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Print Str Assign NameStore BinOpMult BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str BinOpMod Str NameLoad Str NameLoad Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Print Str Global identifier Global identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore Call AttributeLoad NameLoad attr If CompareEq NameLoad Num body Print Str Assign NameStore BinOpMult BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad NameLoad If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Print Str decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore ListLoad Num Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Global identifier Global identifier Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad SubscriptLoad NameLoad Index Num Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore BinOpAdd NameLoad Str TryExcept body Expr Call NameLoad NameLoad Str handlers ExceptHandler body Expr Call NameLoad BinOpAdd NameLoad Str Str Print Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Print Str decorator_list FunctionDef arguments args defaults body Print Str Global identifier Global identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore BinOpMult BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Num If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore BinOpAdd NameLoad Str TryExcept body With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Expr Call NameLoad BinOpAdd NameLoad Str Str Print Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Print Str decorator_list FunctionDef arguments args defaults body Print Str Global identifier Global identifier Global identifier Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad TryExcept body With Call NameLoad BinOpAdd NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str handlers ExceptHandler body Expr Call NameLoad BinOpAdd NameLoad Str Str With Call NameLoad BinOpAdd NameLoad Str Str NameStore body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr handlers ExceptHandler body Continue Expr Call NameLoad NameLoad Assign NameStore NameLoad If Call AttributeLoad NameLoad attr body Global identifier Assign NameStore ListLoad Num Num Num Num Num Expr Call NameLoad NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad If CompareLt NameLoad Num body AugAssignAdd NameStore Num Assign NameStore BinOpMult BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Num If CompareLt NameLoad Num body Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str BinOpMod Str NameLoad Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore BinOpAdd NameLoad Str Expr Call NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Print Str decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args defaults body Print Str Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad keyword ListLoad TupleLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Print BinOpAdd Str NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore Call NameLoad keyword ListLoad TupleLoad Str Str Print Str With Call NameLoad NameLoad NameStore body Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Print Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Str NameLoad Print Str NameLoad Str NameLoad Str NameLoad Str NameLoad Print Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body TryExcept body With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Num Str NameStore body Assign NameStore ListComp Call AttributeLoad Call AttributeLoad NameLoad attr attr Str comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Print BinOpDiv Call NameLoad BinOpPow BinOpSub Call NameLoad Call NameLoad NameLoad NameLoad Num NameLoad NameLoad Num Call NameLoad NameLoad Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign NameStore ListComp Call NameLoad SubscriptLoad NameLoad Index Num comprehension NameStore NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad Num Assign NameStore NameLoad Assign NameStore NameLoad Print Str handlers ExceptHandler body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Print Str Print Str Return TupleLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Print Str Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Print NameLoad Print Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Print Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd NameLoad Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Global identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad Assign TupleStore NameStore NameStore AttributeLoad NameLoad attr Print NameLoad Str NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore BinOpMult BinOpMult NameLoad NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr While CompareLt NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If BoolOpAnd CompareLt BinOpMult NameLoad NameLoad NameLoad CompareLt BinOpMult NameLoad NameLoad NameLoad CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad If CompareLt NameLoad Num body Assign NameStore BinOpMult Num NameLoad Assign NameStore BinOpMult Num NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpMult Num NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpAdd NameLoad Num Print Str Print NameLoad NameLoad NameLoad Str NameLoad Str NameLoad Str Assign NameStore Num Assign NameStore Num Assign NameStore Num If CompareEq NameLoad Num body Assign NameStore Num For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore Num If CompareLt NameLoad Num body Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Global identifier Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad NameLoad If CompareLt NameLoad Num body Assign NameStore Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num While CompareLt NameLoad NameLoad body Assign NameStore ListLoad For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body For NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num body Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Index TupleLoad NameLoad NameLoad If BoolOpAnd CompareLt BinOpMult NameLoad NameLoad NameLoad CompareLt BinOpMult NameLoad NameLoad NameLoad CompareGt NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad Num If CompareLt NameLoad Num body Assign NameStore BinOpMult Num NameLoad If CompareGt NameLoad Num body Assign NameStore Num Assign NameStore BinOpMult Num NameLoad If CompareGt NameLoad Num body Assign NameStore BinOpAdd NameLoad Num Print NameLoad NameLoad Str NameLoad Str NameLoad Str Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad If CompareGt NameLoad Num body For NameStore NameLoad body Assign TupleStore NameStore NameStore NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore NameLoad If CompareLt NameLoad Num body Assign NameStore NameLoad Assign NameStore BinOpAdd NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpAdd NameLoad BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore BinOpDiv BinOpAdd NameLoad NameLoad Num Assign NameStore BinOpAdd BinOpMult NameLoad NameLoad NameLoad If CompareLt NameLoad Num body Assign NameStore Num Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMult NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Print Str Assign NameStore ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad Print NameLoad NameLoad NameLoad BinOpAdd BinOpMult NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args defaults body Global identifier Assign NameStore ListLoad Num Num Num Num Num Expr Call NameLoad NameLoad Expr Call NameLoad decorator_list FunctionDef arguments args defaults body Global identifier identifier identifier identifier identifier identifier identifier identifier identifier identifier Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad decorator_list Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Str keyword NameLoad keyword Num keyword Num keyword NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad keyword Str keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr
N/A N/A os sys Tkinter * tkFileDialog * PIL Image ImageStat ImageDraw ImageFont TiffImagePlugin ImageTk N/A scipy scipy polyval polyfit ndimage pylab polyfit polyval N/A numpy np Show_pic N/A N/A pic N/A N/A N/A im N/A N/A pic copy N/A N/A N/A im thumbnail N/A 800 800 N/A Image ANTIALIAS N/A imtk N/A N/A ImageTk PhotoImage im N/A label N/A Label image imtk height 600 width 800 N/A N/A label image imtk N/A N/A N/A label grid row 5 rowspan 50 column 2 N/A N/A N/A main update N/A Pixel_check N/A N/A curFile dirF file N/A N/A N/A pic N/A N/A Image open curFile N/A pic2 N/A N/A Image open curFile N/A picr N/A N/A Image open curFile N/A N/A N/A rotPic get N/A N/A Rotating picture 180 N/A pic N/A N/A pic rotate 180 N/A N/A N/A flipPic get N/A N/A Flipping picture N/A pic N/A N/A pic transpose N/A Image FLIP_LEFT_RIGHT N/A imgdata N/A N/A pic load N/A file  loaded N/A speedP N/A N/A speedPscale get N/A N/A xsize ysize N/A pic size N/A xsize N/A xsize speedP N/A ysize N/A ysize speedP N/A pic N/A N/A pic resize N/A xsize ysize N/A pic2 N/A N/A pic2 resize N/A xsize ysize N/A picr N/A N/A picr resize N/A xsize ysize N/A N/A xsize ysize N/A pic size N/A xsize x ysize N/A minG N/A N/A minGscale get N/A minR N/A N/A minRscale get N/A ratG N/A N/A ratGscale get N/A ratGb N/A N/A ratGbscale get N/A ratR N/A N/A ratRscale get N/A mingGactual ratGactual ratGbactual N/A mingGactual minG N/A ratGactual ratG N/A ratGbactual ratGb N/A pixels N/A N/A pic load N/A leafpix N/A N/A scalepix N/A N/A backpix N/A N/A leafonly N/A N/A pic2 load N/A scaleonly N/A N/A picr load N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A r g b N/A pixels N/A N/A i j N/A N/A N/A N/A r ratG g N/A N/A b ratGb g N/A g minG N/A N/A N/A N/A leafpix append N/A i j N/A N/A leafonly N/A N/A i j N/A 0 255 0 N/A N/A scaleonly N/A N/A i j N/A 0 0 0 N/A N/A N/A leafonly N/A N/A i j N/A 0 0 0 N/A N/A N/A r minR N/A N/A g ratR r N/A N/A b ratR r N/A N/A N/A N/A scalepix append N/A i j N/A N/A scaleonly N/A N/A i j N/A 255 0 0 N/A N/A N/A N/A backpix append N/A i j N/A N/A scaleonly N/A N/A i j N/A 0 0 0 N/A gCnt N/A len leafpix N/A N/A N/A delBack get N/A N/A i backpix N/A N/A N/A pixels N/A i N/A 255 255 255 N/A flat N/A N/A N/A scipy misc fromimage pic2 flatten 1 N/A flatr N/A N/A N/A scipy misc fromimage picr flatten 1 N/A N/A blobs leaves N/A N/A ndimage label flat N/A N/A blobsr scales N/A N/A ndimage label flatr N/A scalehist N/A N/A N/A ndimage measurements histogram blobsr 1 scales scales N/A N/A N/A maxscale N/A max scalehist N/A N/A N/A N/A N/A cnt 1 N/A gcnt 0 N/A parcnt 0 N/A rCnt 0 N/A largescale N/A N/A s scalehist N/A N/A N/A s maxscale N/A N/A cnti 0 N/A cntj 0 N/A gcnt 0 N/A parcnt N/A parcnt 1 N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A N/A blobsr N/A N/A j i cnt N/A N/A gcnt N/A gcnt 1 N/A rCnt N/A rCnt 1 N/A cnti N/A cnti i N/A cntj N/A cntj j N/A N/A pixels N/A N/A i j N/A 255 0 0 N/A N/A flat N/A N/A j i 0 N/A cnti N/A cnti gcnt N/A cntj N/A cntj gcnt N/A N/A N/A largescale append gcnt N/A N/A N/A labpix get N/A N/A draw N/A N/A ImageDraw Draw pic N/A N/A N/A draw text N/A cnti cntj N/A str gcnt N/A 0 0 0 N/A cnt N/A cnt 1 N/A blobhist N/A N/A N/A ndimage measurements histogram blobs 1 leaves leaves N/A minPsize N/A N/A minPscale get N/A N/A N/A maxleaf N/A max blobhist N/A N/A N/A N/A N/A N/A N/A ThereCanBeOnlyOne get N/A N/A cnt 1 N/A gcnt 0 N/A parcnt 0 N/A gCnt 0 N/A largeleaf N/A N/A s blobhist N/A N/A N/A s maxleaf N/A N/A cnti 0 N/A cntj 0 N/A gcnt 0 N/A parcnt N/A parcnt 1 N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A N/A blobs N/A N/A j i cnt N/A N/A gcnt N/A gcnt 1 N/A gCnt N/A gCnt 1 N/A cnti N/A cnti i N/A cntj N/A cntj j N/A N/A pixels N/A N/A i j N/A 0 255 0 N/A N/A flat N/A N/A j i 0 N/A cnti N/A cnti gcnt N/A cntj N/A cntj gcnt N/A N/A N/A largeleaf append gcnt N/A N/A N/A labpix get N/A N/A draw N/A N/A ImageDraw Draw pic N/A N/A N/A draw text N/A cnti cntj N/A str gcnt N/A 0 0 0 N/A cnt N/A cnt 1 N/A leafprint N/A N/A ,  join N/A map str largeleaf N/A N/A N/A minPsize 10 N/A N/A cnt 1 N/A gcnt 0 N/A parcnt 0 N/A gCnt 0 N/A largeleaf N/A N/A s blobhist N/A N/A N/A s minPsize N/A N/A cnti 0 N/A cntj 0 N/A gcnt 0 N/A parcnt N/A parcnt 1 N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A N/A blobs N/A N/A j i cnt N/A N/A gcnt N/A gcnt 1 N/A gCnt N/A gCnt 1 N/A cnti N/A cnti i N/A cntj N/A cntj j N/A N/A pixels N/A N/A i j N/A 0 255 0 N/A N/A flat N/A N/A j i 0 N/A cnti N/A cnti gcnt N/A cntj N/A cntj gcnt N/A N/A N/A largeleaf append gcnt N/A N/A N/A labpix get N/A N/A draw N/A N/A ImageDraw Draw pic N/A N/A N/A draw text N/A cnti cntj N/A str gcnt N/A 0 0 0 N/A cnt N/A cnt 1 N/A leafprint N/A N/A ,  join N/A map str largeleaf N/A N/A NO CONNECTED COMPONENT ANALYSIS N/A i leafpix N/A N/A N/A pixels N/A i N/A 0 255 0 N/A leafprint No connected component analysis N/A N/A rCnt 1 N/A N/A rCnt 1 N/A scalesize N/A N/A SSscale get N/A N/A scalesize 0 N/A N/A No scale.  Leaf areas not to scale N/A leafarea N/A N/A N/A float gCnt N/A float rCnt scalesize N/A N/A Show_pic pic N/A highlightfile N/A dirF /leafarea.csv N/A pixdata N/A N/A N/A N/A N/A N/A N/A N/A N/A file ,  N/A str gCnt ,  N/A str rCnt ,  N/A %.2f leafarea , leafprint N/A N/A gCnt rCnt pic pixdata N/A test_LA N/A N/A N/A N/A N/A Measuring... N/A chosfile N/A dirF N/A dirF N/A N/A N/A os path dirname chosfile N/A pic N/A N/A Image open chosfile N/A N/A xsize ysize N/A pic size N/A file N/A N/A N/A os path basename chosfile N/A N/A gCnt rCnt pic pixdata N/A Pixel_check chosfile dirF file N/A N/A rCnt 1 N/A N/A rCnt 1 N/A scalesize N/A N/A SSscale get N/A N/A scalesize 0 N/A N/A No scale.  Leaf area not to scale. N/A leafarea N/A N/A N/A float gCnt N/A float rCnt scalesize N/A N/A rCnt 2 N/A N/A rCnt 0 N/A filelabel N/A Label main height 1 width 60 N/A speedP N/A N/A speedPscale get N/A xsize N/A xsize speedP N/A ysize N/A ysize speedP N/A N/A N/A filelabel configure text N/A N/A N/A N/A file N/A str xsize x N/A str ysize N/A N/A N/A filelabel grid row 1 column 2 N/A Pixlabel N/A Label main height 1 width 60 N/A N/A N/A Pixlabel configure text N/A N/A N/A N/A N/A N/A Leaf pixels:  N/A str gCnt    Scale pixels:  N/A str rCnt     Leaf area:  N/A %.2f leafarea cm^2 N/A N/A N/A Pixlabel grid row 2 column 2 N/A Finished processing image N/A addTocalib N/A N/A N/A N/A N/A ConsData N/A ConsData N/A 0 0 0 0 0 N/A minG N/A N/A minGscale get N/A minR N/A N/A minRscale get N/A ratG N/A N/A ratGscale get N/A ratGb N/A N/A ratGbscale get N/A ratR N/A N/A ratRscale get N/A ConservativeData N/A auto_Settings ConsData N/A N/A N/A minGscale set minG N/A N/A N/A ratGscale set ratG N/A N/A N/A ratGbscale set ratGb N/A N/A N/A minRscale set minR N/A N/A N/A ratRscale set ratR N/A N/A sing_Meas N/A chosfile N/A dirF N/A calibdata N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A str N/A ConservativeData N/A 0 ,  N/A str N/A ConservativeData N/A 1 ,  N/A str N/A ConservativeData N/A 2 ,  N/A str minG ,  N/A str ratG ,  N/A str ratGb ,  N/A str N/A ConservativeData N/A 3 ,  N/A str N/A ConservativeData N/A 4 ,  N/A str minR ,  N/A str ratR N/A dirF N/A N/A N/A os path dirname chosfile N/A Newcalib N/A dirF /Newcalib.csv N/A N/A N/A N/A open Newcalib a N/A N/A N/A N/A N/A open N/A dirF /Newcalib.csv w N/A Creating new calib file: Newcalib.csv N/A N/A open Newcalib a f N/A N/A N/A N/A f write calibdata N/A Finished adding to calib file: Newcalib.csv. N/A single_LA N/A N/A N/A N/A N/A Measuring... N/A chosfile N/A dirF N/A dirF N/A N/A N/A os path dirname chosfile N/A pic N/A N/A Image open chosfile N/A N/A xsize ysize N/A pic size N/A file N/A N/A N/A os path basename chosfile N/A N/A gCnt rCnt pic pixdata N/A Pixel_check chosfile dirF file N/A N/A rCnt 1 N/A N/A rCnt 1 N/A leafarea N/A N/A N/A float gCnt N/A float rCnt 4.0 N/A N/A rCnt 2 N/A N/A rCnt 0 N/A filelabel N/A Label main height 1 width 60 N/A speedP N/A N/A speedPscale get N/A xsize N/A xsize speedP N/A ysize N/A ysize speedP N/A N/A N/A filelabel configure text N/A N/A N/A N/A file N/A str xsize x N/A str ysize N/A N/A N/A filelabel grid row 1 column 2 N/A Pixlabel N/A Label main height 1 width 60 N/A N/A N/A Pixlabel configure text N/A N/A N/A N/A N/A N/A Leaf pixels:  N/A str gCnt    Scale pixels:  N/A str rCnt     Leaf area:  N/A %.2f leafarea cm^2 N/A N/A N/A Pixlabel grid row 2 column 2 N/A highlightfile N/A dirF /leafarea.csv N/A N/A N/A N/A open highlightfile a f N/A N/A N/A N/A f write filename,total green pixels,red pixels (4 cm^2),leaf area cm^2, Component green pixels: N/A N/A N/A f write N/A N/A N/A N/A N/A open N/A dirF /leafarea.csv w N/A creating new output file N/A N/A open highlightfile a f N/A N/A N/A N/A f write filename,total green pixels,red pixels (4 cm^2),leaf area cm^2, Component green pixels: N/A N/A N/A f write N/A N/A save_Output highlightfile file pixdata pic dirF N/A Finished processing image N/A run_LA N/A N/A N/A N/A N/A Measuring... N/A dirS N/A dirF N/A chosfile N/A dirS N/A N/A N/A os path abspath dirS N/A dirF N/A N/A N/A os path abspath dirF N/A filesInCurDir N/A N/A os listdir dirS N/A N/A N/A N/A open N/A dirF /leafarea.csv a f N/A N/A N/A N/A f write filename,total green pixels,red pixels (4 cm^2),leaf area cm^2, Component green pixels: N/A N/A N/A f write N/A N/A N/A N/A N/A open N/A dirF /leafarea.csv w N/A N/A open N/A dirF /leafarea.csv a f N/A N/A N/A N/A f write filename,total green pixels,red pixels (4 cm^2),leaf area cm^2, Component green pixels: N/A N/A N/A f write N/A file filesInCurDir N/A N/A curFile N/A N/A N/A os path join dirS file N/A N/A N/A pic N/A N/A Image open curFile N/A N/A xsize ysize N/A pic size N/A N/A N/A N/A N/A N/A Show_pic pic N/A chosfile curFile N/A N/A N/A autocheck get N/A N/A ConsData N/A ConsData N/A 0 0 0 0 0 N/A N/A auto_Settings ConsData N/A N/A gCnt rCnt pic pixdata N/A Pixel_check curFile dirF file N/A N/A rCnt 1 N/A N/A rCnt 1 N/A leafarea N/A N/A N/A float gCnt N/A float rCnt 4.0 N/A N/A rCnt 2 N/A N/A rCnt 0 N/A filelabel N/A Label main height 1 width 60 N/A speedP N/A N/A speedPscale get N/A xsize N/A xsize speedP N/A ysize N/A ysize speedP N/A N/A N/A filelabel configure text N/A N/A N/A N/A file N/A str xsize x N/A str ysize N/A N/A N/A filelabel grid row 1 column 2 N/A Pixlabel N/A Label main height 1 width 60 N/A N/A N/A Pixlabel configure text N/A N/A N/A N/A N/A N/A Leaf pixels:  N/A str gCnt    Scale pixels:  N/A str rCnt     Leaf area:  N/A %.2f leafarea cm^2 N/A N/A N/A Pixlabel grid row 2 column 2 N/A highlightfile N/A dirF /leafarea.csv N/A N/A save_Output highlightfile file pixdata pic dirF N/A Finished processing images N/A S_dir N/A N/A N/A N/A N/A dirS N/A dirS N/A askdirectory N/A N/A N/A Slabel configure text dirS N/A F_dir N/A N/A N/A N/A N/A dirF N/A dirF N/A askdirectory N/A N/A N/A Flabel configure text dirF N/A check_Sett N/A N/A N/A N/A N/A Batch processing N/A N/A run_LA N/A chos_file N/A N/A N/A N/A N/A chosfile N/A chosfile N/A askopenfilename filetypes N/A N/A image file *.jpg; *.jpe; *.jpeg; *.tiff; *.tif N/A pic N/A N/A Image open chosfile N/A N/A xsize ysize N/A pic size N/A N/A Show_pic pic N/A file N/A N/A N/A os path basename chosfile N/A filelabel N/A Label main height 1 width 60 N/A N/A N/A filelabel configure text N/A N/A N/A N/A file N/A str xsize x N/A str ysize N/A N/A N/A filelabel grid row 1 column 2 N/A Pixlabel N/A Label main height 1 width 60 N/A N/A N/A Pixlabel configure text N/A N/A N/A Pixlabel grid row 2 column 2 N/A N/A loaded    chosfile N/A chos_calib N/A N/A N/A N/A N/A choscalib N/A choscalib N/A askopenfilename filetypes N/A N/A comma-delimited *.csv N/A loading calib file N/A N/A open choscalib csvfile N/A N/A a N/A N/A N/A N/A N/A row strip split , N/A row csvfile N/A x N/A N/A float N/A i N/A 0 N/A i a N/A y N/A N/A float N/A i N/A 3 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mg m N/A bg b N/A x N/A N/A float N/A i N/A 1 N/A i a N/A y N/A N/A float N/A i N/A 4 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mgr m N/A bgr b N/A x N/A N/A float N/A i N/A 2 N/A i a N/A y N/A N/A float N/A i N/A 5 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mgb m N/A bgb b N/A x N/A N/A float N/A i N/A 6 N/A i a N/A y N/A N/A float N/A i N/A 8 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mmr m N/A bmr b N/A x N/A N/A float N/A i N/A 7 N/A i a N/A y N/A N/A float N/A i N/A 9 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mmg m N/A bmg b N/A min G equation: mg x+ bg 
 G/R equation: mgr x+ bgr 
 G/B equation: mgb x+ bgb N/A min R equation: mmr x+ bmr 
 R/G&R/B equation: mmg x+ bmg N/A Loaded calib file N/A N/A mg bg mgr bgr mgb bgb mmr bmr mmg bmg N/A load_calib N/A N/A N/A N/A N/A N/A N/A N/A open N/A N/A N/A os path join N/A N/A sys path N/A 0 calib.csv csvfile N/A N/A a N/A N/A N/A N/A N/A row strip split , N/A row csvfile N/A x N/A N/A float N/A i N/A 0 N/A i a N/A y N/A N/A float N/A i N/A 3 N/A i a N/A N/A m b N/A polyfit x y 1 N/A N/A N/A sum N/A N/A N/A polyval N/A polyfit x y 1 x y 2 N/A len x N/A mg m N/A bg b N/A x N/A N/A float N/A i N/A 1 N/A i a N/A y N/A N/A float N/A i N/A 4 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mgr m N/A bgr b N/A x N/A N/A float N/A i N/A 2 N/A i a N/A y N/A N/A float N/A i N/A 5 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mgb m N/A bgb b N/A x N/A N/A float N/A i N/A 6 N/A i a N/A y N/A N/A float N/A i N/A 8 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mmr m N/A bmr b N/A x N/A N/A float N/A i N/A 7 N/A i a N/A y N/A N/A float N/A i N/A 9 N/A i a N/A N/A m b N/A polyfit x y 1 N/A mmg m N/A bmg b N/A loaded calib N/A N/A N/A N/A mg 1.223 N/A bg -111 N/A mgr 0.36 N/A bgr 0.589 N/A mgb 0.334 N/A bgb 0.534 N/A mmr 1.412 N/A bmr -140.6 N/A mmg 0.134 N/A bmg 0.782 N/A calib file not found N/A Set to default arabidopsis values N/A N/A mg bg mgr bgr mgb bgb mmr bmr mmg bmg N/A sing_Meas N/A N/A N/A N/A N/A Measuring image N/A N/A test_LA N/A show_Output N/A N/A N/A N/A N/A dirF N/A dirF N/A Opening output file in default application N/A outputfile N/A N/A start  dirF /leafarea.csv N/A N/A N/A os system outputfile N/A save_Output N/A N/A highlightfile file pixdata pic dirF N/A N/A N/A save output N/A N/A open highlightfile a f N/A N/A N/A N/A f write pixdata N/A tifffile N/A N/A file replace .jpg .tiff N/A N/A N/A pic save N/A N/A dirF /highlight tifffile N/A auto_Settings N/A N/A WhatData N/A N/A N/A chosfile N/A pic N/A N/A Image open chosfile N/A speedP 8 N/A N/A xsize ysize N/A pic size N/A xsize N/A xsize speedP N/A ysize N/A ysize speedP N/A pic N/A N/A pic resize N/A xsize ysize N/A N/A xsize ysize N/A pic size N/A xsize x ysize N/A ratG 2 N/A ratGb 1.8 N/A minG 75 N/A cnt 0 N/A lpcntb 0 N/A lpcnt -1 N/A pixMinGreen N/A N/A xsize ysize 0.0025 N/A pixels N/A N/A pic load N/A N/A cnt pixMinGreen N/A N/A leafpix N/A N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A r g b N/A pixels N/A N/A i j N/A N/A N/A N/A r ratG g N/A N/A b ratGb g N/A g minG N/A N/A N/A N/A leafpix append N/A r g b N/A lpcnt N/A lpcnt 1 N/A cnt N/A len leafpix N/A N/A lpcnt 12 N/A N/A ratG N/A 0.94 ratG N/A ratGb N/A 0.94 ratGb N/A N/A lpcnt 11 N/A N/A minG N/A 0.9 minG N/A N/A lpcnt 15 N/A N/A cnt N/A pixMinGreen 10 N/A OOPS NOT ENOUGH LEAF PIXELS N/A minG ratG ratGb to select > pixMinGreen  leaf pixels after lpcnt loops N/A gavg 0 N/A gravg 0 N/A bravg 0 N/A N/A cnt 0 N/A N/A cnt 1 N/A i leafpix N/A N/A N/A r g b i N/A N/A r 1 N/A N/A r g N/A N/A g 1 N/A N/A g 0.1 N/A N/A b 1 N/A N/A b g N/A gavg N/A gavg g N/A gravg N/A gravg N/A N/A float g N/A float r N/A bravg N/A bravg N/A N/A float g N/A float b N/A gavg N/A N/A float gavg N/A float cnt N/A gravg N/A N/A float gravg N/A float cnt N/A bravg N/A N/A float bravg N/A float cnt N/A ConsData N/A gavg N/A N/A mgset gavg bgset N/A N/A gavg 10 N/A N/A gavg 10 N/A N/A N/A minGscale set gavg N/A N/A N/A ratGscale set N/A N/A mgrset gravg bgrset N/A N/A N/A ratGbscale set N/A N/A mgbset bravg bgbset N/A ratR 2 N/A minR 150 N/A cnt 0 N/A lpcntb 0 N/A lpcnt 0 N/A N/A cnt pixMinGreen N/A N/A scalepix N/A N/A i N/A range N/A N/A pic size N/A 0 N/A N/A j N/A range N/A N/A pic size N/A 1 N/A N/A N/A r g b N/A pixels N/A N/A i j N/A N/A N/A N/A g ratR r N/A N/A b ratR r N/A r minR N/A N/A N/A N/A scalepix append N/A r g b N/A cnt N/A len scalepix N/A lpcnt N/A lpcnt 1 N/A N/A lpcnt 8 N/A N/A ratR N/A 0.94 ratR N/A N/A lpcnt 7 N/A N/A ratR 2 N/A minR N/A 0.99 minR N/A N/A lpcnt 10 N/A N/A cnt N/A pixMinGreen 10 N/A minR ratR to select > pixMinGreen  scale pixels after lpcnt loops N/A ravg 0 N/A rgavg 0 N/A rbavg 0 N/A cnt N/A len scalepix N/A N/A cnt 0 N/A N/A i scalepix N/A N/A N/A r g b i N/A N/A g 1 N/A N/A g r N/A N/A b 1 N/A N/A b r N/A ravg N/A ravg r N/A rgavg N/A rgavg N/A N/A float r N/A float g N/A rbavg N/A rbavg N/A N/A float r N/A float b N/A ravg N/A N/A float ravg N/A float cnt N/A rgavg N/A N/A float rgavg N/A float cnt N/A rbavg N/A N/A float rbavg N/A float cnt N/A rgavg N/A N/A rgavg rbavg 2 N/A rrat N/A N/A mmrgset rgavg bmrgset N/A N/A rrat 1.011 N/A N/A rrat 1.01 N/A N/A N/A minRscale set N/A N/A mmrset ravg bmrset N/A N/A N/A ratRscale set rrat N/A N/A N/A N/A minRscale set 255 N/A N/A N/A ratRscale set 2 N/A No Scale detected N/A ConsData N/A gavg gravg bravg ravg rgavg N/A ravg mmrset bmrset N/A N/A mmrset ravg bmrset N/A ConsData N/A auto_Sing N/A N/A N/A N/A N/A ConsData N/A ConsData N/A 0 0 0 0 0 N/A N/A auto_Settings ConsData N/A N/A sing_Meas N/A calib_set N/A N/A N/A N/A N/A mgset bgset mgrset bgrset mgbset bgbset mmrset bmrset mmrgset bmrgset N/A N/A mgset bgset mgrset bgrset mgbset bgbset mmrset bmrset mmrgset bmrgset N/A chos_calib N/A N/A N/A mgset bgset mgrset bgrset mgbset bgbset mmrset bmrset mmrgset bmrgset N/A load_calib N/A main N/A Tk N/A N/A N/A main title Easy Leaf Area N/A Frame1 N/A Frame main N/A N/A N/A Frame1 grid row 1 column 1 rowspan 17 N/A runsingbut N/A Button Frame1 text Analyze with current settings command test_LA N/A saveresults N/A Button Frame1 text Save analysis command single_LA N/A SObut N/A Button main text Open output csv file command show_Output N/A singbut N/A Button Frame1 text Open an image command chos_file N/A singlabel N/A Label Frame1 N/A loadcalibbut N/A Button Frame1 text Load calib File command calib_set N/A Batchlabel N/A Label Frame1 N/A N/A N/A Batchlabel configure text Batch Processing: N/A dirS C:/ N/A Sbut N/A Button Frame1 text Select batch source Folder command S_dir N/A Slabel N/A Label Frame1 N/A N/A N/A Slabel configure text C:/ N/A dirF C:/ N/A Fbut N/A Button Frame1 text Select batch output Folder command F_dir N/A Flabel N/A Label Frame1 N/A N/A N/A Flabel configure text C:/ N/A CSbut N/A Button Frame1 text Start Batch with current settings command check_Sett N/A Frame3 N/A Frame main N/A N/A N/A Frame3 grid row 1 column 3 rowspan 10 N/A addTocalibbut N/A Button Frame1 text Add to calib File command addTocalib N/A minG 100 N/A minGscale N/A Scale Frame3 from_ 0 to 255 label Leaf minimum Green RGB value: orient HORIZONTAL tickinterval 50 length 250 variable minG N/A N/A N/A minGscale set 25 N/A minR 200 N/A minRscale N/A Scale Frame3 from_ 0 to 255 label Scale minimum Red RGB value: orient HORIZONTAL tickinterval 50 length 250 variable minR N/A N/A N/A minRscale set 225 N/A ratG 1.2 N/A ratGscale N/A Scale Frame3 from_ 0.9 to 2 resolution 0.02 label Leaf Green Ratio: (G/R) orient HORIZONTAL tickinterval 0.5 length 200 variable ratG N/A N/A N/A ratGscale set 1.05 N/A ratGb 1.35 N/A ratGbscale N/A Scale Frame3 from_ 0.8 to 2 resolution 0.02 label Leaf Green Ratio: (G/B) orient HORIZONTAL tickinterval 0.5 length 200 variable ratGb N/A N/A N/A ratGbscale set 1.07 N/A ratR 1.3 N/A ratRscale N/A Scale Frame3 from_ 1 to 2 resolution 0.02 label Scale Red Ratio: (R/G & R/B) orient HORIZONTAL tickinterval 0.5 length 200 variable ratR N/A N/A N/A ratRscale set 1.95 N/A speedP 1 N/A speedPscale N/A Scale Frame3 from_ 1 to 4 resolution 1 label Processing Speed: orient HORIZONTAL tickinterval 1 length 200 variable speedP N/A N/A N/A speedPscale set 4 N/A minPsize 500 N/A minPscale N/A Scale Frame3 from_ 1 to 5000 resolution 10 label Minimum Leaf Size (pixels): orient HORIZONTAL tickinterval 1000 length 250 variable minPsize N/A N/A N/A minPscale set 0 N/A Scalesize 4.1 N/A SSscale N/A Scale Frame3 from_ 0 to 20 resolution 0.1 label Scale area (cm^2): orient HORIZONTAL tickinterval 4 length 250 variable Scalesize N/A N/A N/A SSscale set 4 N/A flipPic N/A IntVar N/A C1 N/A Checkbutton Frame1 text Flip image horizontal variable flipPic N/A N/A N/A flipPic get N/A rotPic N/A IntVar N/A C2 N/A Checkbutton Frame1 text Rotate image 180 deg variable rotPic N/A N/A N/A rotPic get N/A delBack N/A IntVar N/A C3 N/A Checkbutton Frame1 text Delete background variable delBack N/A N/A N/A delBack get N/A labpix N/A IntVar N/A C5 N/A Checkbutton main text Label Pixels variable labpix N/A N/A N/A labpix get N/A ThereCanBeOnlyOne N/A IntVar N/A C6 N/A Checkbutton main text Only one Leaf component variable ThereCanBeOnlyOne N/A N/A N/A ThereCanBeOnlyOne get N/A autosetbut N/A Button Frame1 text Auto settings command auto_Sing N/A autocheck N/A IntVar N/A C4 N/A Checkbutton Frame1 text Use auto settings variable autocheck N/A N/A N/A autocheck get N/A N/A N/A singbut grid row 1 column 1 pady 5 N/A N/A N/A autosetbut grid row 2 column 1 pady 5 N/A N/A N/A runsingbut grid row 3 column 1 pady 5 N/A N/A N/A saveresults grid row 4 column 1 pady 5 N/A N/A N/A C1 grid row 5 column 1 pady 5 N/A N/A N/A C2 grid row 6 column 1 pady 5 N/A N/A N/A C3 grid row 7 column 1 pady 5 N/A N/A N/A Batchlabel grid row 9 column 1 pady 10 N/A N/A N/A Sbut grid row 10 column 1 pady 5 N/A N/A N/A Slabel grid row 11 column 1 pady 5 N/A N/A N/A Fbut grid row 12 column 1 pady 5 N/A N/A N/A Flabel grid row 13 column 1 pady 5 N/A N/A N/A CSbut grid row 14 column 1 pady 5 N/A N/A N/A C4 grid row 15 column 1 pady 5 N/A N/A N/A loadcalibbut grid row 16 column 1 pady 5 N/A N/A N/A addTocalibbut grid row 17 column 1 pady 5 N/A N/A N/A C6 grid row 15 column 3 pady 5 N/A N/A N/A minGscale grid row 1 column 3 N/A N/A N/A ratGscale grid row 2 column 3 N/A N/A N/A ratGbscale grid row 3 column 3 N/A N/A N/A minRscale grid row 4 column 3 N/A N/A N/A ratRscale grid row 5 column 3 N/A N/A N/A speedPscale grid row 7 column 3 N/A N/A N/A minPscale grid row 8 column 3 N/A N/A N/A SSscale grid row 6 column 3 N/A filelabel N/A Label main height 1 width 100 N/A N/A N/A filelabel configure text N/A N/A N/A filelabel grid row 1 column 2 N/A N/A N/A SObut grid row 3 column 2 N/A N/A N/A C5 grid row 4 column 2 N/A N/A N/A main mainloop