Module Expr Str ImportFrom alias ImportFrom alias Import alias identifier ImportFrom alias alias alias alias alias alias alias alias alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If BoolOpOr CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad CompareNotEq AttributeLoad AttributeLoad NameLoad attr attr Num body Return Assign NameStore AttributeLoad NameLoad attr TryExcept body Import alias identifier Expr Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad IfExp AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Num Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str ImportFrom alias ImportFrom alias ImportFrom alias If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad Str NameLoad keyword NameLoad orelse Raise Call NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Import alias identifier If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Index ListLoad Num Num Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str keyword Num orelse If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Num Expr Call AttributeLoad NameLoad attr keyword Num keyword Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad For TupleStore NameStore TupleStore NameStore NameStore NameStore NameLoad body Assign NameStore BinOpMod Str NameLoad Assign NameStore IfExp CompareIn NameLoad NameLoad Str Str Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad keyword Num keyword NameLoad keyword Num Index Num Assign SubscriptStore Call NameLoad NameLoad Index Str NameLoad Assign SubscriptStore Call NameLoad NameLoad Index Str NameLoad Assign SubscriptStore Call NameLoad NameLoad Index Str CompareIn NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Num NameLoad keyword AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Import alias identifier If CompareIs NameLoad NameLoad body Assign NameStore Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num Assign NameStore NameLoad Assign NameStore ListLoad NameLoad Assign NameStore ListLoad Num Assign NameStore BinOpMult AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad Assign NameStore Call NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad NameLoad Assign NameStore Str If CompareIsNot NameLoad NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore NameLoad CompareNotIn Str NameLoad Assign NameStore Call NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body Assign NameStore BinOpMod Str BinOpAdd NameLoad Num If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad AugAssignAdd NameStore BinOpAdd Str Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad ListComp SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num comprehension NameStore NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Num Num Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad orelse Assign NameStore Call NameLoad GeneratorExp TupleLoad NameLoad Str comprehension NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num orelse Assign NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Num keyword Num keyword NameLoad keyword NameLoad orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Num keyword Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index ListLoad Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr keyword Str Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Num Str keyword Num keyword Str keyword Str keyword Str keyword Num Assign NameStore ListLoad NameLoad Assign NameStore AttributeLoad NameLoad attr ImportFrom alias Assign NameStore ListLoad Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Num Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad Str TupleLoad Num Num NameLoad body Expr Str Import alias identifier Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot Call NameLoad SubscriptLoad NameLoad Index Num TupleLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore ListLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore IfExp CompareIs NameLoad NameLoad TupleLoad Num Num NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr orelse Assign NameStore ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareEq NameLoad Str body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse If CompareEq NameLoad Str body Assign NameStore ListComp NameLoad comprehension NameStore AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Lambda arguments args NameParam defaults SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num orelse If Call NameLoad NameLoad NameLoad body If CompareGt Call NameLoad NameLoad Num body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad Assign NameStore ListLoad NameLoad orelse If Call NameLoad NameLoad TupleLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str Call NameLoad NameLoad orelse If CompareIs NameLoad NameLoad body Assign NameStore TupleLoad NameLoad NameLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad body If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad keyword Str If CompareIsNot NameLoad NameLoad body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore ListLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num orelse If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Call NameLoad NameLoad Expr Call NameLoad keyword NameLoad If CompareGt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr keyword Num Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str ImportFrom alias ImportFrom alias ImportFrom alias If UnaryOpNot Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore ListComp Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad comprehension NameStore AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr If Call NameLoad NameLoad NameLoad body If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareIs NameLoad NameLoad body Assign NameStore Num Assign NameStore ListComp NameLoad comprehension NameStore ListLoad Str Str Str CompareIn NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword BinOpMult NameLoad Num keyword NameLoad keyword NameLoad keyword NameLoad orelse If Call NameLoad NameLoad NameLoad body If BoolOpAnd CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListComp SubscriptLoad AttributeLoad NameLoad attr Index NameLoad comprehension NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Import alias identifier Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign TupleStore NameStore TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Num Num keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad Str attr ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num keyword Str Expr Call AttributeLoad NameLoad attr Num Num Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Import alias identifier Assign NameStore ListComp NameLoad comprehension NameStore ListLoad Str Str Str CompareIn NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore ListLoad Str Str Str CompareIn NameLoad NameLoad If CompareNotEq Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr Str Assign NameStore IfExp Call NameLoad NameLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad For NameStore AttributeLoad NameLoad attr body For NameStore Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Str TupleLoad Num Num Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad Num Call NameLoad AttributeLoad NameLoad attr Num If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore ListComp Str comprehension NameStore NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign TupleStore NameStore NameStore SubscriptLoad NameLoad ExtSlice Index NameLoad Slice For NameStore Call NameLoad Call NameLoad NameLoad body If CompareLt NameLoad Call NameLoad NameLoad body AugAssignDiv SubscriptStore NameLoad Index NameLoad Num orelse AugAssignDiv SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call NameLoad ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore BinOpSub NameLoad NameLoad If CompareLtE NameLoad Num body Raise Call NameLoad Str Assign NameStore Call NameLoad BinOpMult NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num NameLoad Assign NameStore TupleLoad Num Num Num Assign NameStore Call NameLoad Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad ListLoad Num Call NameLoad NameLoad Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad keyword SubscriptLoad NameLoad ExtSlice Slice Slice Num NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad Str NameLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Num Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call SubscriptLoad NameLoad Index Str Expr Call SubscriptLoad NameLoad Index Str TryExcept body Expr Call NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore Call NameLoad BinOpMult SubscriptLoad NameLoad Index Str NameLoad Assign NameStore Call NameLoad BinOpMult BinOpAdd SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Slice Slice NameLoad NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Slice NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call NameLoad NameLoad NameLoad NameLoad Expr Call SubscriptLoad NameLoad Index Str Expr Call SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign AttributeStore SubscriptLoad NameLoad Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore ListComp BinOpMod Str NameLoad comprehension NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad NameLoad attr NameLoad If CompareGt Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad Call AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword Num Assign NameStore Call NameLoad Str Assign SubscriptStore NameLoad Index Str Num Assign NameStore Call NameLoad keyword NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad Assign SubscriptStore NameLoad Index Str ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Str If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Num If CompareIs NameLoad NameLoad body Assign NameStore BinOpAdd NameLoad Num Assign NameStore Call NameLoad NameLoad Call NameLoad AttributeLoad NameLoad attr For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpAdd AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpSub NameLoad NameLoad If CompareLtE NameLoad Num body Raise Call NameLoad Str Assign NameStore Dict Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad Call NameLoad TupleLoad Num Num Num BinOpMult NameLoad Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad NameLoad keyword NameLoad Expr Call NameLoad NameLoad keyword Call NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword ListLoad Str Str Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call NameLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad keyword NameLoad Expr Call AttributeLoad AttributeLoad SubscriptLoad NameLoad Index Str attr attr Str NameLoad TryExcept body Expr Call NameLoad NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call NameLoad NameLoad Return SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore BinOpAdd NameLoad BinOpMult NameLoad Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Str attr Assign NameStore SubscriptLoad SubscriptLoad NameLoad Index Str ExtSlice Slice Slice NameLoad NameLoad Assign NameStore SubscriptLoad NameLoad Index Str For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index NameLoad BinOpDiv SubscriptLoad NameLoad Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index SubscriptLoad NameLoad Index NameLoad Expr Call SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListComp Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad comprehension NameStore SubscriptLoad NameLoad Index Str Call AttributeLoad NameLoad attr Str Assign AttributeStore SubscriptLoad NameLoad Index Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Import alias identifier Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Str If CompareGtE NameLoad Call NameLoad SubscriptLoad NameLoad Index Str body Return Assign NameStore ListLoad SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad Assign NameStore Call NameLoad Assign NameStore AttributeLoad SubscriptLoad NameLoad Index Str attr If CompareGt Call NameLoad Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Num body Expr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad Call NameLoad NameLoad keyword Str keyword NameLoad Num body Expr Call AttributeLoad NameLoad attr Str If CompareGt Call NameLoad Call NameLoad NameLoad keyword Str keyword NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call NameLoad Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad If NameLoad body ImportFrom alias For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpMod Str NameLoad NameLoad keyword Num Assign NameStore IfExp NameLoad Call NameLoad NameLoad NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr NameLoad keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad Expr Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call NameLoad NameLoad decorator_list
N/A N/A Functions to plot ICA specific data (besides topographies)
 __future__ print_function functools partial N/A numpy np utils tight_layout _prepare_trellis _select_bads _layout_figure _plot_raw_onscroll _mouse_click _helper_raw_resize _plot_raw_onkey plt_show raw _prepare_mne_browse_raw _plot_raw_traces epochs _prepare_mne_browse_epochs evoked _butterfly_on_button_press _butterfly_onpick topomap _prepare_topo_plot plot_topomap _hide_frame utils warn defaults _handle_default io.meas_info create_info io.pick pick_types externals.six string_types _ica_plot_sources_onpick_ N/A N/A event sources ylims N/A None None N/A N/A Onpick callback for plot_ica_panel N/A N/A N/A N/A N/A event mouseevent inaxes None N/A N/A N/A event mouseevent button 1 N/A N/A N/A artist N/A event artist N/A N/A N/A matplotlib.pyplot plt N/A N/A N/A plt figure N/A src_idx N/A artist _mne_src_idx N/A component N/A artist _mne_component N/A N/A N/A plt plot N/A sources N/A src_idx N/A N/A artist _mne_is_bad r k N/A N/A N/A plt ylim ylims N/A N/A N/A plt grid linestyle - color gray linewidth 0.25 N/A N/A N/A plt title N/A ICA #%i component N/A N/A N/A Exception N/A err N/A N/A N/A print err N/A err N/A plot_ica_sources N/A N/A ica inst picks exclude start stop show title block N/A None None None None True None False N/A N/A Plot estimated latent sources given the unmixing matrix.

    Typical usecases:

    1. plot evolution of latent sources over time based on (Raw input)
    2. plot latent source around event related time windows (Epochs input)
    3. plot time-locking in ICA space (Evoked input)


    Parameters
    ----------
    ica : instance of mne.preprocessing.ICA
        The ICA solution.
    inst : instance of mne.io.Raw, mne.Epochs, mne.Evoked
        The object to plot the sources from.
    picks : int | array_like of int | None.
        The components to be displayed. If None, plot will show the
        sources in the order as fitted.
    exclude : array_like of int
        The components marked for exclusion. If None (default), ICA.exclude
        will be used.
    start : int
        X-axis start index. If None, from the beginning.
    stop : int
        X-axis stop index. If None, next 20 are shown, in case of evoked to the
        end.
    show : bool
        Show figure if True.
    title : str | None
        The figure title. If None a default is provided.
    block : bool
        Whether to halt program execution until the figure is closed.
        Useful for interactive selection of components in raw and epoch
        plotter. For evoked, this parameter has no effect. Defaults to False.

    Returns
    -------
    fig : instance of pyplot.Figure
        The figure.

    Notes
    -----
    For raw and epoch instances, it is possible to select components for
    exclusion by clicking on the line. The selected components are added to
    ``ica.exclude`` on close.

    .. versionadded:: 0.10.0
     io.base _BaseRaw evoked Evoked epochs _BaseEpochs N/A N/A exclude None N/A N/A exclude N/A ica exclude N/A N/A N/A N/A len N/A ica exclude 0 N/A N/A exclude N/A N/A np union1d N/A ica exclude exclude N/A N/A isinstance inst _BaseRaw N/A N/A fig N/A _plot_sources_raw ica inst picks exclude start start stop stop show show title title block block N/A N/A N/A isinstance inst _BaseEpochs N/A N/A fig N/A _plot_sources_epochs ica inst picks exclude start start stop stop show show title title block block N/A N/A N/A isinstance inst Evoked N/A N/A sources N/A N/A ica get_sources inst N/A N/A N/A start None N/A stop None N/A N/A inst N/A N/A N/A N/A inst copy crop start stop N/A fig N/A _plot_ica_sources_evoked evoked sources picks picks exclude exclude title title labels N/A getattr ica labels_ None show show N/A N/A N/A ValueError Data input must be of Raw or Epochs type N/A fig N/A _plot_ica_grid N/A N/A sources start stop source_idx ncol exclude title show N/A N/A N/A Create panel plots of ICA sources

    Clicking on the plot of an individual source opens a new figure showing
    the source.

    Parameters
    ----------
    sources : ndarray
        Sources as drawn from ica.get_sources.
    start : int
        x-axis start index. If None from the beginning.
    stop : int
        x-axis stop index. If None to the end.
    n_components : int
        Number of components fitted.
    source_idx : array-like
        Indices for subsetting the sources.
    ncol : int
        Number of panel-columns.
    title : str
        The figure title. If None a default is provided.
    show : bool
        If True, all open plots will be shown.
     N/A matplotlib.pyplot plt N/A N/A source_idx None N/A N/A source_idx N/A N/A np arange N/A len sources N/A N/A N/A isinstance source_idx list N/A N/A source_idx N/A N/A np array source_idx N/A N/A exclude None N/A N/A exclude N/A N/A n_components N/A len sources N/A ylims N/A N/A N/A sources min N/A N/A sources max N/A xlims N/A N/A N/A np arange N/A N/A sources shape N/A -1 N/A N/A 0 -1 N/A N/A fig axes N/A _prepare_trellis n_components ncol N/A N/A title None N/A N/A N/A N/A fig suptitle Reconstructed latent sources size 16 N/A N/A title N/A N/A N/A N/A fig suptitle title size 16 N/A N/A N/A plt subplots_adjust wspace 0.05 hspace 0.05 N/A my_iter N/A enumerate N/A zip source_idx axes sources N/A N/A i_source N/A i_selection ax source my_iter N/A N/A component N/A [%i] i_selection N/A color N/A N/A i_selection exclude r k N/A line N/A N/A N/A ax plot source linewidth 0.5 color color picker 1000000000.0 N/A 0 N/A N/A N/A vars line N/A _mne_src_idx i_source N/A N/A N/A vars line N/A _mne_component i_selection N/A N/A N/A vars line N/A _mne_is_bad N/A i_selection exclude N/A N/A N/A ax set_xlim xlims N/A N/A N/A ax set_ylim ylims N/A N/A N/A ax text 0.05 0.95 component transform N/A ax transAxes verticalalignment top N/A N/A N/A plt setp N/A N/A ax get_xticklabels visible False N/A N/A N/A plt setp N/A N/A ax get_yticklabels visible False N/A callback N/A partial _ica_plot_sources_onpick_ sources sources ylims ylims N/A N/A N/A N/A fig canvas mpl_connect pick_event callback N/A N/A plt_show show N/A fig N/A _plot_ica_sources_evoked N/A N/A evoked picks exclude title show labels N/A None N/A N/A Plot average over epochs in ICA space

    Parameters
    ----------
    evoked : instance of mne.Evoked
        The Evoked to be used.
    picks : int | array_like of int | None.
        The components to be displayed. If None, plot will show the
        sources in the order as fitted.
    exclude : array_like of int
        The components marked for exclusion. If None (default), ICA.exclude
        will be used.
    title : str
        The figure title.
    show : bool
        Show figure if True.
    labels : None | dict
        The ICA labels attribute.
     N/A matplotlib.pyplot plt N/A N/A title None N/A N/A title Reconstructed latent sources, time-locked N/A N/A fig axes N/A N/A plt subplots 1 N/A ax axes N/A axes N/A axes N/A idxs N/A 0 N/A times N/A N/A evoked times 1000.0 N/A lines N/A list N/A texts N/A list N/A N/A picks None N/A N/A picks N/A N/A np arange N/A N/A N/A evoked data shape N/A 0 N/A picks N/A N/A np sort picks N/A idxs N/A picks N/A color r N/A N/A labels None N/A N/A labels_used N/A k N/A k labels N/A / k N/A exclude_labels N/A list N/A ii picks N/A N/A N/A ii exclude N/A N/A line_label N/A ICA %03d N/A ii 1 N/A N/A labels None N/A N/A annot N/A list N/A this_label labels_used N/A N/A indices N/A labels N/A this_label N/A N/A ii indices N/A N/A N/A N/A annot append this_label N/A line_label N/A  -  N/A N/A ,  join annot N/A N/A N/A exclude_labels append line_label N/A N/A N/A N/A exclude_labels append None N/A N/A labels None N/A N/A unique_labels N/A set N/A N/A N/A N/A k split  -  N/A 1 N/A k exclude_labels k N/A label_colors N/A N/A N/A plt cm rainbow N/A N/A np linspace 0 1 N/A len unique_labels N/A label_colors N/A dict N/A zip unique_labels label_colors N/A N/A label_colors N/A dict N/A N/A k red N/A k exclude_labels N/A N/A exc_label ii N/A zip exclude_labels picks N/A N/A N/A exc_label None N/A N/A N/A  -  exc_label N/A N/A key N/A N/A N/A exc_label split  -  N/A 1 N/A N/A key exc_label N/A color N/A label_colors N/A key N/A N/A N/A lines extend N/A N/A ax plot times N/A N/A N/A evoked data N/A ii T picker 3.0 zorder 2 color color label exc_label N/A N/A N/A N/A lines extend N/A N/A ax plot times N/A N/A N/A evoked data N/A ii T picker 3.0 color k zorder 1 N/A N/A N/A ax set_title title N/A N/A N/A ax set_xlim N/A times N/A N/A 0 -1 N/A N/A N/A ax set_xlabel Time (ms) N/A N/A N/A ax set_ylabel (NA) N/A N/A N/A len exclude 0 N/A N/A N/A N/A plt legend loc best N/A N/A tight_layout fig fig N/A N/A N/A texts append N/A N/A ax text 0 0 blank zorder 3 verticalalignment baseline horizontalalignment left fontweight bold alpha 0 N/A lines N/A lines N/A ch_names N/A evoked ch_names matplotlib patheffects N/A path_effects N/A N/A N/A patheffects withStroke linewidth 2 foreground w alpha 0.75 N/A params N/A dict axes axes texts texts lines lines idxs idxs ch_names ch_names need_draw False path_effects path_effects N/A N/A N/A N/A fig canvas mpl_connect pick_event N/A partial _butterfly_onpick params params N/A N/A N/A N/A fig canvas mpl_connect button_press_event N/A partial _butterfly_on_button_press params params N/A N/A plt_show show N/A fig N/A plot_ica_scores N/A N/A ica scores exclude labels axhline title figsize show N/A None None None ICA component scores N/A 12 6 True N/A N/A Plot scores related to detected components.

    Use this function to asses how well your score describes outlier
    sources and how well you were detecting them.

    Parameters
    ----------
    ica : instance of mne.preprocessing.ICA
        The ICA object.
    scores : array_like of float, shape (n ica components) | list of arrays
        Scores based on arbitrary metric to characterize ICA components.
    exclude : array_like of int
        The components marked for exclusion. If None (default), ICA.exclude
        will be used.
    labels : str | list | 'ecg' | 'eog' | None
        The labels to consider for the axes tests. Defaults to None.
        If list, should match the outer shape of `scores`.
        If 'ecg' or 'eog', the ``labels_`` attributes will be looked up.
        Note that '/' is used internally for sublabels specifying ECG and
        EOG channels.
    axhline : float
        Draw horizontal line to e.g. visualize rejection threshold.
    title : str
        The figure title.
    figsize : tuple of int
        The figure size. Defaults to (12, 6).
    show : bool
        Show figure if True.

    Returns
    -------
    fig : instance of matplotlib.pyplot.Figure
        The figure object
     N/A matplotlib.pyplot plt N/A my_range N/A N/A np arange N/A ica n_components_ N/A N/A exclude None N/A N/A exclude N/A ica exclude N/A exclude N/A N/A np unique exclude N/A N/A N/A isinstance N/A scores N/A 0 N/A list N/A np ndarray N/A N/A scores N/A scores N/A n_rows N/A len scores N/A figsize N/A N/A figsize None N/A 12 6 figsize N/A N/A fig axes N/A N/A plt subplots n_rows figsize figsize sharex True sharey True N/A N/A isinstance axes N/A np ndarray N/A N/A axes N/A N/A axes flatten N/A N/A axes N/A axes N/A N/A N/A plt suptitle title N/A N/A labels ecg N/A N/A labels N/A l N/A l N/A ica labels_ N/A N/A l startswith ecg/ N/A N/A N/A labels eog N/A N/A labels N/A l N/A l N/A ica labels_ N/A N/A l startswith eog/ N/A N/A N/A labels sort key N/A N/A N/A l N/A N/A N/A N/A l split / N/A 1 N/A N/A N/A isinstance labels string_types N/A N/A N/A N/A len axes 1 N/A N/A N/A ValueError N/A Need as many labels as axes (%i) N/A len axes N/A labels N/A labels N/A N/A N/A isinstance labels N/A tuple list N/A N/A N/A N/A len labels N/A len axes N/A N/A N/A ValueError N/A Need as many labels as axes (%i) N/A len axes N/A N/A N/A labels None N/A N/A labels N/A None None N/A N/A label this_scores ax N/A zip labels scores axes N/A N/A N/A N/A len my_range N/A len this_scores N/A N/A N/A ValueError The length of `scores` must equal the number of ICA components. N/A N/A N/A ax bar my_range this_scores color w N/A excl exclude N/A N/A N/A N/A ax bar N/A my_range N/A excl N/A this_scores N/A excl color r N/A N/A axhline None N/A N/A N/A N/A np isscalar axhline N/A N/A axhline N/A axhline N/A axl axhline N/A N/A N/A N/A ax axhline axl color r linestyle -- N/A N/A N/A ax set_ylabel score N/A N/A label None N/A N/A N/A eog/ label N/A N/A split N/A N/A label split / N/A label N/A N/A ,  join N/A N/A split N/A 0 N/A split N/A 2 N/A N/A N/A / label N/A N/A label N/A N/A ,  join N/A N/A label split / N/A N/A N/A ax set_title N/A (%s) label N/A N/A N/A ax set_xlabel ICA components N/A N/A N/A ax set_xlim 0 N/A len this_scores N/A N/A tight_layout fig fig N/A N/A N/A len axes 1 N/A N/A N/A N/A plt subplots_adjust top 0.9 N/A N/A plt_show show N/A fig N/A plot_ica_overlay N/A N/A ica inst exclude picks start stop title show N/A None None None None None True N/A N/A Overlay of raw and cleaned signals given the unmixing matrix.

    This method helps visualizing signal quality and artifact rejection.

    Parameters
    ----------
    ica : instance of mne.preprocessing.ICA
        The ICA object.
    inst : instance of mne.io.Raw or mne.Evoked
        The signals to be compared given the ICA solution. If Raw input,
        The raw data are displayed before and after cleaning. In a second
        panel the cross channel average will be displayed. Since dipolar
        sources will be canceled out this display is sensitive to
        artifacts. If evoked input, butterfly plots for clean and raw
        signals will be superimposed.
    exclude : array_like of int
        The components marked for exclusion. If None (default), ICA.exclude
        will be used.
    picks : array-like of int | None (default)
        Indices of channels to include (if None, all channels
        are used that were included on fitting).
    start : int
        X-axis start index. If None from the beginning.
    stop : int
        X-axis stop index. If None to the end.
    title : str
        The figure title.
    show : bool
        Show figure if True.

    Returns
    -------
    fig : instance of pyplot.Figure
        The figure.
     io.base _BaseRaw evoked Evoked preprocessing.ica _check_start_stop N/A N/A N/A isinstance inst N/A _BaseRaw Evoked N/A N/A N/A ValueError Data input must be of Raw or Evoked type N/A N/A title None N/A N/A title Signals before (red) and after (black) cleaning N/A N/A picks None N/A N/A picks N/A N/A N/A N/A inst ch_names index k N/A k N/A ica ch_names N/A N/A exclude None N/A N/A exclude N/A ica exclude N/A N/A isinstance inst _BaseRaw N/A N/A N/A start None N/A N/A start 0.0 N/A N/A stop None N/A N/A stop 3.0 N/A ch_types_used N/A k N/A k N/A mag grad eeg N/A k ica N/A N/A start_compare stop_compare N/A _check_start_stop inst start stop N/A N/A data times N/A inst N/A N/A picks N/A start_compare stop_compare N/A raw_cln N/A N/A ica apply N/A N/A inst copy exclude exclude start start stop stop N/A N/A data_cln _ N/A raw_cln N/A N/A picks N/A start_compare stop_compare N/A fig N/A _plot_ica_overlay_raw data data data_cln data_cln times N/A times 1000.0 title title ch_types_used ch_types_used show show N/A N/A N/A isinstance inst Evoked N/A N/A N/A N/A start None N/A stop None N/A N/A inst N/A N/A N/A N/A inst copy crop start stop N/A N/A picks None N/A N/A N/A N/A inst pick_channels N/A N/A N/A inst ch_names N/A p N/A p picks N/A evoked_cln N/A N/A ica apply N/A N/A inst copy exclude exclude N/A fig N/A _plot_ica_overlay_evoked evoked inst evoked_cln evoked_cln title title show show N/A fig N/A _plot_ica_overlay_raw N/A N/A data data_cln times title ch_types_used show N/A N/A N/A Plot evoked after and before ICA cleaning

    Parameters
    ----------
    ica : instance of mne.preprocessing.ICA
        The ICA object.
    epochs : instance of mne.Epochs
        The Epochs to be regarded.
    show : bool
        Show figure if True.

    Returns
    -------
    fig : instance of pyplot.Figure
     N/A matplotlib.pyplot plt N/A N/A N/A data shape N/A data_cln shape N/A N/A fig N/A ax1 ax2 N/A N/A plt subplots 2 1 sharex True N/A N/A N/A plt suptitle title N/A N/A N/A ax1 plot times N/A data T color r N/A N/A N/A ax1 plot times N/A data_cln T color k N/A N/A N/A ax1 set_xlabel time (s) N/A N/A N/A ax1 set_xlim N/A times N/A 0 N/A times N/A -1 N/A N/A N/A ax1 set_xlim N/A times N/A 0 N/A times N/A -1 N/A N/A N/A ax1 set_title Raw data N/A _ch_types N/A mag grad eeg Magnetometers Gradiometers EEG N/A ch_types N/A N/A ,  join N/A N/A _ch_types N/A k N/A k ch_types_used N/A N/A N/A ax2 set_title N/A N/A Average across channels ({0}) format ch_types N/A N/A N/A ax2 plot times N/A N/A data mean 0 color r N/A N/A N/A ax2 plot times N/A N/A data_cln mean 0 color k N/A N/A N/A ax2 set_xlim 100 106 N/A N/A N/A ax2 set_xlabel time (ms) N/A N/A N/A ax2 set_xlim N/A times N/A 0 N/A times N/A -1 N/A N/A tight_layout fig fig N/A N/A N/A fig subplots_adjust top 0.9 N/A N/A N/A N/A fig canvas draw N/A N/A plt_show show N/A fig N/A _plot_ica_overlay_evoked N/A N/A evoked evoked_cln title show N/A N/A N/A Plot evoked after and before ICA cleaning

    Parameters
    ----------
    ica : instance of mne.preprocessing.ICA
        The ICA object.
    epochs : instance of mne.Epochs
        The Epochs to be regarded.
    show : bool
        If True, all open plots will be shown.

    Returns
    -------
    fig : instance of pyplot.Figure
     N/A matplotlib.pyplot plt N/A ch_types_used N/A c N/A c N/A mag grad eeg N/A c evoked N/A n_rows N/A len ch_types_used N/A ch_types_used_cln N/A c N/A c N/A mag grad eeg N/A c evoked_cln N/A N/A N/A len ch_types_used N/A len ch_types_used_cln N/A N/A N/A ValueError Raw and clean evokeds must match. Found different channels. N/A N/A fig axes N/A N/A plt subplots n_rows 1 N/A N/A N/A fig suptitle Average signal before (red) and after (black) ICA N/A axes N/A N/A isinstance axes N/A np ndarray N/A N/A axes flatten axes N/A N/A N/A evoked plot axes axes show show N/A ax N/A fig axes N/A N/A l N/A N/A ax get_lines N/A N/A N/A N/A l set_color r N/A N/A N/A N/A fig canvas draw N/A N/A N/A evoked_cln plot axes axes show show N/A N/A tight_layout fig fig N/A N/A N/A fig subplots_adjust top 0.9 N/A N/A N/A N/A fig canvas draw N/A N/A plt_show show N/A fig N/A _plot_sources_raw N/A N/A ica raw picks exclude start stop show title block N/A N/A N/A Function for plotting the ICA components as raw array. N/A color N/A _handle_default color N/A 0.0 0.0 0.0 N/A orig_data N/A N/A N/A ica _transform_raw raw 0 N/A len N/A raw times 0.2 N/A N/A picks None N/A N/A picks N/A range N/A len orig_data N/A types N/A misc N/A _ picks N/A picks N/A list N/A sorted picks N/A eog_chs N/A pick_types N/A raw info meg False eog True ref_meg False N/A ecg_chs N/A pick_types N/A raw info meg False ecg True ref_meg False N/A data N/A N/A orig_data N/A pick N/A pick picks N/A c_names N/A N/A ICA %03d x N/A x N/A range N/A len orig_data N/A eog_idx eog_chs N/A N/A N/A N/A c_names append N/A N/A raw ch_names N/A eog_idx N/A N/A N/A types append eog N/A ecg_idx ecg_chs N/A N/A N/A N/A c_names append N/A N/A raw ch_names N/A ecg_idx N/A N/A N/A types append ecg N/A extra_picks N/A N/A N/A N/A np append eog_chs ecg_chs astype int N/A N/A N/A len extra_picks 0 N/A N/A N/A eog_ecg_data _ N/A raw N/A N/A extra_picks N/A N/A idx N/A range N/A len eog_ecg_data N/A N/A N/A idx N/A len eog_chs N/A N/A N/A eog_ecg_data N/A idx 0.00015 N/A N/A N/A eog_ecg_data N/A idx 0.0005 N/A data N/A N/A np append data eog_ecg_data axis 0 N/A idx N/A range N/A len extra_picks N/A N/A picks N/A N/A np append picks N/A N/A ica n_components_ idx N/A N/A title None N/A N/A title ICA components N/A info N/A create_info N/A N/A c_names N/A x N/A x picks N/A N/A raw info N/A sfreq N/A N/A info N/A bads N/A N/A c_names N/A x N/A x exclude N/A N/A start None N/A N/A start 0 N/A N/A stop None N/A N/A stop N/A start 20 N/A stop N/A min stop N/A N/A raw times N/A -1 N/A duration N/A stop start N/A N/A duration 0 N/A N/A N/A RuntimeError Stop must be larger than start. N/A t_end N/A int N/A duration N/A N/A raw info N/A sfreq N/A times N/A N/A raw times N/A 0 t_end N/A bad_color N/A 1.0 0.0 0.0 N/A inds N/A list N/A range N/A len picks N/A data N/A N/A np array data N/A n_channels N/A min N/A 20 N/A len picks N/A params N/A dict raw raw orig_data data data N/A data N/A N/A N/A 0 t_end ch_start 0 t_start start info info duration duration ica ica n_channels n_channels times times types types n_times N/A raw n_times bad_color bad_color picks picks N/A N/A _prepare_mne_browse_raw params title w color bad_color inds n_channels N/A N/A params N/A scale_factor 1.0 N/A N/A params N/A plot_fun N/A partial _plot_raw_traces params params inds inds color color bad_color bad_color N/A N/A params N/A update_fun N/A partial _update_data params N/A N/A params N/A pick_bads_fun N/A partial _pick_bads params params N/A N/A params N/A label_click_fun N/A partial _label_clicked params params N/A N/A _layout_figure params N/A callback_key N/A partial _plot_raw_onkey params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect key_press_event callback_key N/A callback_scroll N/A partial _plot_raw_onscroll params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect scroll_event callback_scroll N/A callback_pick N/A partial _mouse_click params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect button_press_event callback_pick N/A callback_resize N/A partial _helper_raw_resize params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect resize_event callback_resize N/A callback_close N/A partial _close_event params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect close_event callback_close N/A N/A params N/A fig_proj None N/A N/A params N/A event_times None N/A N/A N/A params N/A update_fun N/A N/A N/A params N/A plot_fun N/A N/A N/A N/A plt_show show block block N/A N/A N/A TypeError N/A N/A N/A plt_show show N/A N/A params N/A fig N/A _update_data N/A N/A params N/A N/A N/A Function for preparing the data on horizontal shift of the viewport. N/A sfreq N/A N/A params N/A info N/A sfreq N/A start N/A int N/A N/A params N/A t_start sfreq N/A end N/A int N/A N/A N/A params N/A t_start N/A params N/A duration sfreq N/A N/A params N/A data N/A N/A params N/A orig_data N/A N/A N/A start end N/A N/A params N/A times N/A N/A N/A params N/A raw times N/A start end N/A _pick_bads N/A N/A event params N/A N/A N/A Function for selecting components on click. N/A bads N/A N/A params N/A info N/A bads N/A N/A N/A params N/A info N/A bads N/A _select_bads event params bads N/A N/A N/A params N/A update_fun N/A N/A N/A params N/A plot_fun N/A _close_event N/A N/A events params N/A N/A N/A Function for excluding the selected components on close. N/A info N/A params N/A info N/A c_names N/A N/A ICA %03d x N/A x N/A range N/A N/A params N/A ica n_components_ N/A exclude N/A N/A N/A c_names index x N/A x N/A info N/A bads N/A N/A x startswith ICA N/A N/A N/A params N/A ica exclude exclude N/A _plot_sources_epochs N/A N/A ica epochs picks exclude start stop show title block N/A N/A N/A Function for plotting the components as epochs. N/A data N/A N/A ica _transform_epochs epochs concatenate True N/A eog_chs N/A pick_types N/A epochs info meg False eog True ref_meg False N/A ecg_chs N/A pick_types N/A epochs info meg False ecg True ref_meg False N/A c_names N/A N/A ICA %03d x N/A x N/A range N/A ica n_components_ N/A ch_types N/A N/A np repeat misc N/A ica n_components_ N/A eog_idx eog_chs N/A N/A N/A N/A c_names append N/A N/A epochs ch_names N/A eog_idx N/A ch_types N/A N/A np append ch_types eog N/A ecg_idx ecg_chs N/A N/A N/A N/A c_names append N/A N/A epochs ch_names N/A ecg_idx N/A ch_types N/A N/A np append ch_types ecg N/A extra_picks N/A N/A N/A N/A np append eog_chs ecg_chs astype int N/A N/A N/A len extra_picks 0 N/A N/A eog_ecg_data N/A N/A np concatenate N/A N/A N/A epochs get_data N/A N/A N/A extra_picks axis 1 N/A data N/A N/A np append data eog_ecg_data axis 0 N/A scalings N/A _handle_default scalings_plot_raw N/A N/A scalings N/A misc 5.0 N/A info N/A create_info ch_names c_names sfreq N/A N/A epochs info N/A sfreq ch_types ch_types N/A N/A info N/A projs N/A list N/A N/A info N/A bads N/A N/A c_names N/A x N/A x exclude N/A N/A title None N/A N/A title ICA components N/A N/A picks None N/A N/A picks N/A list N/A range N/A ica n_components_ N/A N/A start None N/A N/A start 0 N/A N/A stop None N/A N/A stop N/A start 20 N/A stop N/A min stop N/A len N/A epochs events N/A idx N/A range N/A len extra_picks N/A N/A picks N/A N/A np append picks N/A N/A ica n_components_ idx N/A n_epochs N/A stop start N/A N/A n_epochs 0 N/A N/A N/A RuntimeError Stop must be larger than start. N/A params N/A ica epochs info orig_data bads bad_color t_start ica epochs info data N/A list N/A 1.0 0.0 0.0 N/A start N/A len N/A epochs times N/A N/A params N/A label_click_fun N/A partial _label_clicked params params N/A N/A _prepare_mne_browse_epochs params projs N/A list n_channels 20 n_epochs n_epochs scalings scalings title title picks picks order N/A misc eog ecg N/A N/A params N/A plot_update_proj_callback _update_epoch_data N/A N/A _update_epoch_data params N/A N/A N/A N/A params N/A hsel_patch set_x N/A params N/A t_start N/A callback_close N/A partial _close_epochs_event params params N/A N/A N/A N/A N/A params N/A fig canvas mpl_connect close_event callback_close N/A N/A N/A N/A plt_show show block block N/A N/A N/A TypeError N/A N/A N/A plt_show show N/A N/A params N/A fig N/A _update_epoch_data N/A N/A params N/A N/A N/A Function for preparing the data on horizontal shift. N/A start N/A params N/A t_start N/A n_epochs N/A params N/A n_epochs N/A end N/A start N/A n_epochs N/A len N/A N/A params N/A epochs times N/A data N/A N/A params N/A orig_data N/A N/A N/A start end N/A types N/A params N/A types N/A N/A pick ind N/A enumerate N/A params N/A inds N/A N/A N/A N/A params N/A data N/A pick N/A N/A data N/A ind N/A N/A params N/A scalings N/A N/A types N/A pick N/A N/A N/A params N/A plot_fun N/A _close_epochs_event N/A N/A events params N/A N/A N/A Function for excluding the selected components on close. N/A info N/A params N/A info N/A exclude N/A N/A N/A N/A info N/A ch_names index x N/A x N/A info N/A bads N/A N/A x startswith ICA N/A N/A N/A params N/A ica exclude exclude N/A _label_clicked N/A N/A pos params N/A N/A N/A Function for plotting independent components on click to label. N/A matplotlib.pyplot plt N/A offsets N/A N/A N/A np array N/A params N/A offsets N/A N/A params N/A offsets N/A 0 N/A line_idx N/A N/A N/A np searchsorted offsets N/A pos N/A 1 N/A params N/A ch_start N/A N/A line_idx N/A len N/A params N/A picks N/A N/A N/A ic_idx N/A N/A N/A params N/A picks N/A line_idx N/A types N/A list N/A info N/A N/A params N/A ica info N/A N/A N/A len N/A pick_types info meg False eeg True ref_meg False 0 N/A N/A N/A N/A types append eeg N/A N/A N/A len N/A pick_types info meg mag ref_meg False 0 N/A N/A N/A N/A types append mag N/A N/A N/A len N/A pick_types info meg grad ref_meg False 0 N/A N/A N/A N/A types append grad N/A ica N/A params N/A ica N/A data N/A N/A np dot N/A N/A N/A ica mixing_matrix_ N/A N/A N/A ic_idx T N/A N/A ica pca_components_ N/A N/A ica n_components_ N/A data N/A N/A np atleast_2d data N/A N/A fig axes N/A _prepare_trellis N/A len types max_col 3 N/A N/A ch_idx ch_type N/A enumerate types N/A N/A N/A N/A N/A data_picks pos merge_grads _ _ N/A _prepare_topo_plot ica ch_type None N/A N/A N/A Exception N/A exc N/A N/A N/A warn exc N/A N/A N/A plt close fig N/A N/A this_data N/A data N/A N/A N/A data_picks N/A ax N/A axes N/A ch_idx N/A merge_grads N/A channels.layout _merge_grad_data N/A N/A ii data_ N/A zip ic_idx this_data N/A N/A N/A N/A ax set_title N/A N/A IC #%03d  ii ch_type fontsize 12 N/A data_ N/A merge_grads N/A _merge_grad_data data_ data_ N/A N/A plot_topomap N/A N/A data_ flatten pos axes ax show False N/A N/A _hide_frame ax N/A N/A tight_layout fig fig N/A N/A N/A fig subplots_adjust top 0.95 N/A N/A N/A N/A fig canvas draw N/A N/A plt_show True N/A