Module Import alias Import alias Import alias Import alias Import alias Import alias identifier Import alias Import alias identifier ImportFrom alias ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore BinOpAdd Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Num body Print Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Assign NameStore Num TryExcept body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Print Call NameLoad NameLoad Expr Call NameLoad For TupleStore NameStore NameStore NameLoad body If CompareEq NameLoad Str body Expr Call NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore NameLoad orelse If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad orelse If CompareIn NameLoad Str body Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareEq NameLoad Str CompareEq NameLoad Str body Expr Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Print Str Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str Call NameLoad NameLoad Print BinOpAdd Str Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd Str Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad BinOpAdd Str NameLoad Str Expr Call NameLoad BinOpAdd Str NameLoad Str Print Str Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Print Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Print Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print Str Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Print Str Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad Str Print Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Num comprehension NameStore Call NameLoad Num NameLoad Num Assign NameStore ListComp Num comprehension NameStore Call NameLoad Num NameLoad Num Assign NameStore ListComp NameLoad comprehension NameStore Call NameLoad Num NameLoad Num For NameStore Call NameLoad Num NameLoad Num body Assign TupleStore SubscriptStore NameLoad Index NameLoad SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Slice Index NameLoad attr AttributeLoad SubscriptLoad NameLoad ExtSlice Slice Slice Index NameLoad attr Delete NameDel Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr BinOpMult BinOpDiv NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv Num BinOpMult Num Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMult Num NameLoad If CompareEq BinOpMod NameLoad Num Num body Assign NameStore BinOpSub NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Print BinOpAdd Str Call NameLoad NameLoad Print BinOpAdd Str Call NameLoad NameLoad Print BinOpAdd Str Call NameLoad NameLoad Delete NameDel Print Str Print Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad Num NameLoad Num body Print BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad BinOpAdd NameLoad Num Str Call NameLoad NameLoad Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad Call NameLoad BinOpDiv NameLoad Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index NameLoad Call NameLoad BinOpDiv NameLoad Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index NameLoad Call NameLoad BinOpDiv NameLoad Num Assign NameStore BinOpAdd SubscriptLoad NameLoad Index NameLoad Call NameLoad BinOpDiv NameLoad Num Assign NameStore UnaryOpUSub Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore UnaryOpUSub Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num UnaryOpUSub Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Num Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num UnaryOpUSub Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index TupleLoad Num Num Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad NameLoad NameLoad Num body For NameStore Call NameLoad NameLoad NameLoad Num body Assign NameStore Num Assign NameStore ListLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Call AttributeLoad NameLoad attr NameLoad For NameStore Call NameLoad Num NameLoad Num body Assign NameStore ListLoad NameLoad NameLoad BinOpSub BinOpAdd NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num Assign NameStore BinOpAdd Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad If BoolOpOr CompareLt SubscriptLoad NameLoad Index Num Num CompareLt SubscriptLoad NameLoad Index Num Num CompareLt SubscriptLoad NameLoad Index Num Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num body Assign SubscriptStore NameLoad Index NameLoad Num orelse Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index Num Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num NameLoad BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num NameLoad BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num NameLoad BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num NameLoad BinOpMult SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad BinOpSub Num NameLoad BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd BinOpMult NameLoad BinOpSub Num NameLoad BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpAdd BinOpMult NameLoad BinOpSub Num NameLoad BinOpMult NameLoad NameLoad If CompareEq NameLoad Call AttributeLoad NameLoad attr BinOpDiv NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpOr CompareLt SubscriptLoad NameLoad Index Num Num CompareLt SubscriptLoad NameLoad Index Num Num CompareLt SubscriptLoad NameLoad Index Num Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num CompareGt SubscriptLoad NameLoad Index Num BinOpSub NameLoad Num body Continue orelse Assign NameStore BinOpDiv Call AttributeLoad NameLoad attr BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore Call NameLoad Num Num Num body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign SubscriptStore NameLoad Index NameLoad BinOpSub SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult BinOpSub Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult BinOpSub Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult BinOpSub Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad If CompareEq SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num body Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign NameStore BinOpMult BinOpMult BinOpSub Num SubscriptLoad NameLoad Index Num BinOpSub Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpMult NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Assign NameStore BinOpDiv NameLoad NameLoad Print Str If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Expr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str Print Str Print Str Expr Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr Str Print Str Expr Call AttributeLoad NameLoad attr Str Str BinOpAdd NameLoad Str NameLoad If CompareEq NameLoad Num body Print Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Print Str Print BinOpAdd BinOpAdd Str Call NameLoad Call NameLoad Call NameLoad NameLoad Str decorator_list FunctionDef arguments args defaults body Print BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str Call NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call NameLoad
N/A N/A os N/A getopt N/A sys N/A time N/A math N/A sct_utils sct N/A nibabel N/A numpy np scipy ndimage sct_convert convert param N/A N/A __init__ N/A N/A self N/A N/A N/A N/A self debug 0 N/A N/A self fwhm 3 N/A N/A self remove_temp_files 1 N/A N/A self deg_poly 10 N/A N/A self width 25 N/A N/A self verbose 1 N/A N/A main N/A N/A N/A N/A N/A fname_anat N/A fname_centerline N/A fwhm N/A param fwhm N/A width N/A param width N/A remove_temp_files N/A param remove_temp_files N/A start_time N/A N/A time time N/A verbose N/A param verbose N/A path_script N/A N/A N/A N/A os path dirname __file__ / N/A N/A N/A param debug 1 N/A N/A 
*** WARNING: DEBUG MODE ON ***
 N/A fname_anat /home/django/ibouchard/errsm_22_t2_cropped_rpi.nii.gz N/A fname_centerline /home/django/ibouchard//errsm_22_t2_cropped_centerline.nii.gz N/A fwhm 1 N/A width 20 N/A N/A N/A N/A opts args N/A N/A getopt getopt N/A N/A sys argv N/A 1 hi:c:f:w:r: N/A N/A N/A N/A getopt GetoptError N/A err N/A N/A N/A str err N/A N/A usage N/A N/A opt arg opts N/A N/A N/A opt -h N/A N/A N/A usage N/A N/A N/A opt -i N/A N/A fname_anat arg N/A N/A N/A opt -c N/A N/A fname_centerline arg N/A N/A N/A opt -f N/A N/A fwhm N/A int arg N/A N/A N/A opt w N/A N/A width N/A int arg N/A N/A N/A opt -r N/A N/A remove_temp_files N/A int arg N/A N/A N/A fname_anat N/A fname_centerline N/A N/A N/A usage N/A N/A N/A sct check_file_exist fname_anat N/A N/A N/A sct check_file_exist fname_centerline N/A N/A path_anat file_anat ext_anat N/A N/A sct extract_fname fname_anat N/A N/A path_centerline file_centerline ext_centerline N/A N/A sct extract_fname fname_centerline N/A 
Check input arguments... N/A N/A .. Anatomical image:            fname_anat N/A N/A .. Centerline:                  fname_centerline N/A N/A .. Full width at half maximum:   N/A str fwhm N/A N/A .. Width of the square window:  N/A str width N/A N/A N/A sct printv 
Create temporary folder... verbose N/A path_tmp N/A N/A sct slash_at_the_end N/A tmp. N/A N/A time strftime %y%m%d%H%M%S 1 N/A N/A N/A sct run N/A mkdir  path_tmp verbose N/A N/A N/A sct printv 
Copying input data to tmp folder and convert to nii... verbose N/A N/A N/A sct run N/A N/A N/A N/A N/A cp  fname_anat path_tmp data ext_anat verbose N/A N/A N/A sct run N/A N/A N/A N/A N/A cp  fname_centerline path_tmp centerline ext_centerline verbose N/A N/A N/A os chdir path_tmp N/A N/A convert N/A data ext_anat data.nii N/A N/A convert N/A centerline ext_centerline centerline.nii N/A 
Reorient input volume to RL PA IS orientation... N/A N/A N/A sct run N/A N/A sct fsloutput fslswapdim tmp.anat RL PA IS tmp.anat_orient N/A 
Get dimensions of input anatomical image... N/A N/A nx_a ny_a nz_a nt_a px_a py_a pz_a pt_a N/A N/A sct get_dimension tmp.anat_orient N/A N/A N/A N/A N/A N/A .. matrix size:  N/A str nx_a  x  N/A str ny_a  x  N/A str nz_a N/A N/A N/A N/A N/A N/A N/A .. voxel size:   N/A str px_a mm x  N/A str py_a mm x  N/A str pz_a mm N/A 
Open anatomical volume... N/A file N/A N/A nibabel load tmp.anat_orient.nii N/A data_anat N/A N/A file get_data N/A data_anat N/A N/A np array data_anat N/A data_anat_smoothed N/A N/A np copy data_anat N/A 
Reorient centerline volume into RL PA IS orientation... N/A N/A N/A sct run N/A N/A sct fsloutput fslswapdim tmp.centerline RL PA IS tmp.centerline_orient N/A 
Get dimensions of input centerline... N/A N/A nx ny nz nt px py pz pt N/A N/A sct get_dimension tmp.centerline_orient N/A N/A N/A N/A N/A N/A .. matrix size:  N/A str nx  x  N/A str ny  x  N/A str nz N/A N/A N/A N/A N/A N/A N/A .. voxel size:   N/A str px mm x  N/A str py mm x  N/A str pz mm N/A 
Open centerline volume... N/A file N/A N/A nibabel load tmp.centerline_orient.nii N/A data_centerline N/A N/A file get_data N/A x_centerline N/A 0 N/A iz N/A range 0 nz 1 N/A y_centerline N/A 0 N/A iz N/A range 0 nz 1 N/A z_centerline N/A iz N/A iz N/A range 0 nz 1 N/A iz N/A range 0 nz 1 N/A N/A N/A N/A x_centerline N/A iz N/A y_centerline N/A iz N/A N/A np unravel_index N/A N/A N/A data_centerline N/A N/A N/A N/A iz argmax N/A N/A data_centerline N/A N/A N/A N/A iz shape N/A data_centerline N/A 
Fit centerline in the Z-X plane using polynomial function... N/A coeffsx N/A N/A np polyfit z_centerline x_centerline deg N/A param deg_poly N/A polyx N/A N/A np poly1d coeffsx N/A x_centerline_fit N/A N/A np polyval polyx z_centerline N/A 
Fit centerline in the Z-Y plane using polynomial function... N/A coeffsy N/A N/A np polyfit z_centerline y_centerline deg N/A param deg_poly N/A polyy N/A N/A np poly1d coeffsy N/A y_centerline_fit N/A N/A np polyval polyy z_centerline N/A 
Find tangent to centerline along z, in the Z-X plane... N/A poly_tangent_xz N/A N/A np polyder polyx N/A tangent_xz N/A N/A np polyval poly_tangent_xz z_centerline N/A 
Find tangent to centerline along z, in the Z-Y plane... N/A poly_tangent_yz N/A N/A np polyder polyy N/A tangent_yz N/A N/A np polyval poly_tangent_yz z_centerline N/A 
Generate a Gaussian kernel with users parameters...      N/A sigma N/A int N/A N/A np round N/A N/A fwhm pz_a N/A N/A math sqrt N/A 1 N/A 2 N/A N/A math log 2 N/A size_kernel N/A N/A np round N/A 6 sigma N/A N/A N/A size_kernel 2 0 N/A N/A size_kernel N/A size_kernel 1 N/A kernel_temp N/A N/A np zeros size_kernel N/A N/A kernel_temp N/A N/A N/A math ceil N/A size_kernel 2 1 N/A kernel N/A N/A N/A ndimage filters gaussian_filter1d kernel_temp sigma order 0 N/A sum_kernel N/A N/A np sum kernel N/A N/A .. Full width at half maximum:  N/A str fwhm N/A N/A .. Kernel size :  N/A str size_kernel N/A N/A .. Sigma (Standard deviation):  N/A str sigma N/A kernel_temp N/A 
Smooth along the spinal cord... N/A 
 Voxel position along z axis... N/A position N/A N/A np zeros 3 N/A flag N/A N/A np zeros N/A nx_a ny_a nz_a N/A data_weight N/A N/A np ones N/A nx_a ny_a nz_a N/A smoothing_array N/A N/A np zeros size_kernel N/A x_near N/A N/A np zeros 2 N/A y_near N/A N/A np zeros 2 N/A z_near N/A N/A np zeros 2 N/A floor_position N/A N/A np zeros 3 N/A ceil_position N/A N/A np zeros 3 N/A position_d N/A N/A np zeros 3 N/A iz N/A range 0 nz_a 1 N/A N/A N/A N/A N/A ..  N/A str N/A iz 1 / N/A str nz_a N/A xmin N/A N/A x_centerline N/A iz N/A int N/A width 2 N/A xmax N/A N/A x_centerline N/A iz N/A int N/A width 2 N/A ymin N/A N/A y_centerline N/A iz N/A int N/A width 2 N/A ymax N/A N/A y_centerline N/A iz N/A int N/A width 2 N/A theta_xz N/A N/A N/A math atan N/A tangent_xz N/A iz N/A theta_yz N/A N/A N/A math atan N/A tangent_yz N/A iz N/A Rxz N/A N/A np zeros N/A 3 3 N/A N/A Rxz N/A N/A 1 1 1 N/A N/A Rxz N/A N/A 0 0 N/A N/A math cos theta_xz N/A N/A Rxz N/A N/A 2 0 N/A N/A math sin theta_xz N/A N/A Rxz N/A N/A 0 2 N/A N/A N/A math sin theta_xz N/A N/A Rxz N/A N/A 2 2 N/A N/A math cos theta_xz N/A Ryz N/A N/A np zeros N/A 3 3 N/A N/A Ryz N/A N/A 0 0 1 N/A N/A Ryz N/A N/A 1 1 N/A N/A math cos theta_yz N/A N/A Ryz N/A N/A 1 2 N/A N/A math sin theta_yz N/A N/A Ryz N/A N/A 2 1 N/A N/A N/A math sin theta_yz N/A N/A Ryz N/A N/A 2 2 N/A N/A math cos theta_yz N/A ix N/A range xmin xmax 1 N/A N/A iy N/A range ymin ymax 1 N/A N/A isize 0 N/A centerline_point N/A N/A N/A np copy N/A x_centerline N/A iz N/A N/A np copy N/A y_centerline N/A iz N/A N/A np copy iz N/A isize N/A range 0 size_kernel 1 N/A N/A position N/A ix iy N/A N/A iz isize N/A N/A np floor N/A size_kernel 2 N/A new_position N/A N/A N/A np dot N/A N/A np dot N/A N/A np subtract N/A N/A np copy position centerline_point Rxz Ryz centerline_point N/A N/A N/A N/A new_position N/A 0 0 N/A N/A new_position N/A 1 0 N/A N/A new_position N/A 2 0 N/A N/A new_position N/A 0 N/A nx_a 1 N/A N/A new_position N/A 1 N/A ny_a 1 N/A N/A new_position N/A 2 N/A nz_a 1 N/A N/A N/A smoothing_array N/A isize 0 N/A N/A N/A x_near N/A 0 N/A N/A np copy N/A N/A np floor N/A new_position N/A 0 N/A N/A x_near N/A 1 N/A N/A np copy N/A N/A np ceil N/A new_position N/A 0 N/A xd N/A N/A new_position N/A 0 N/A x_near N/A 0 N/A N/A y_near N/A 0 N/A N/A np copy N/A N/A np floor N/A new_position N/A 1 N/A N/A y_near N/A 1 N/A N/A np copy N/A N/A np ceil N/A new_position N/A 1 N/A yd N/A N/A new_position N/A 1 N/A y_near N/A 0 N/A N/A z_near N/A 0 N/A N/A np copy N/A N/A np floor N/A new_position N/A 2 N/A N/A z_near N/A 1 N/A N/A np copy N/A N/A np ceil N/A new_position N/A 2 N/A zd N/A N/A new_position N/A 2 N/A z_near N/A 0 N/A c00 N/A N/A N/A data_anat N/A N/A N/A x_near N/A 0 N/A y_near N/A 0 N/A z_near N/A 0 N/A 1 xd N/A N/A data_anat N/A N/A N/A x_near N/A 1 N/A y_near N/A 0 N/A z_near N/A 0 xd N/A c10 N/A N/A N/A data_anat N/A N/A N/A x_near N/A 0 N/A y_near N/A 1 N/A z_near N/A 0 N/A 1 xd N/A N/A data_anat N/A N/A N/A x_near N/A 1 N/A y_near N/A 1 N/A z_near N/A 0 xd N/A c01 N/A N/A N/A data_anat N/A N/A N/A x_near N/A 0 N/A y_near N/A 0 N/A z_near N/A 1 N/A 1 xd N/A N/A data_anat N/A N/A N/A x_near N/A 1 N/A y_near N/A 0 N/A z_near N/A 1 xd N/A c11 N/A N/A N/A data_anat N/A N/A N/A x_near N/A 0 N/A y_near N/A 1 N/A z_near N/A 1 N/A 1 xd N/A N/A data_anat N/A N/A N/A x_near N/A 1 N/A y_near N/A 1 N/A z_near N/A 1 xd N/A c0 N/A N/A c00 N/A 1 yd N/A c10 yd N/A c1 N/A N/A c01 N/A 1 yd N/A c11 yd N/A N/A smoothing_array N/A isize N/A N/A c0 N/A 1 zd N/A c1 zd N/A N/A isize N/A N/A np floor N/A size_kernel 2 N/A N/A central_position N/A N/A np copy new_position N/A N/A N/A N/A central_position N/A 0 0 N/A N/A central_position N/A 1 0 N/A N/A central_position N/A 2 0 N/A N/A central_position N/A 0 N/A nx_a 1 N/A N/A central_position N/A 1 N/A ny_a 1 N/A N/A central_position N/A 2 N/A nz_a 1 N/A N/A N/A N/A result N/A N/A N/A np sum N/A N/A N/A np copy smoothing_array kernel sum_kernel N/A i N/A range 0 3 1 N/A N/A N/A floor_position N/A i N/A N/A math floor N/A central_position N/A i N/A N/A ceil_position N/A i N/A N/A math ceil N/A central_position N/A i N/A N/A position_d N/A i N/A N/A central_position N/A i N/A floor_position N/A i N/A N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 1 N/A weight N/A N/A N/A position_d N/A 0 N/A position_d N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 1 N/A weight N/A N/A N/A 1 N/A position_d N/A 0 N/A 1 N/A position_d N/A 1 N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 0 N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 1 N/A weight N/A N/A N/A position_d N/A 0 N/A 1 N/A position_d N/A 1 N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A floor_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 1 N/A weight N/A N/A N/A position_d N/A 0 N/A position_d N/A 1 N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A flag N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 1 N/A weight N/A N/A N/A position_d N/A 0 N/A 1 N/A position_d N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_weight N/A N/A N/A ceil_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 0 N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 1 N/A weight N/A N/A N/A 1 N/A position_d N/A 0 N/A position_d N/A 1 N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A floor_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 1 N/A weight N/A N/A N/A 1 N/A position_d N/A 0 N/A position_d N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A ceil_position N/A 1 N/A ceil_position N/A 2 weight N/A N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A N/A flag N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 1 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 0 N/A weight N/A N/A N/A 1 N/A position_d N/A 0 N/A 1 N/A position_d N/A 1 N/A position_d N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_anat_smoothed N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A weight result N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 N/A N/A data_weight N/A N/A N/A floor_position N/A 0 N/A floor_position N/A 1 N/A ceil_position N/A 2 weight N/A data_anat_smoothed N/A data_anat_smoothed data_weight N/A 
Write NIFTI volumes... N/A N/A N/A N/A os path isfile tmp.im_smoothed.nii N/A N/A N/A N/A sct run rm tmp.im_smoothed.nii N/A img N/A N/A nibabel Nifti1Image data_anat_smoothed None N/A N/A N/A nibabel save img tmp.im_smoothed.nii N/A .. File created: tmp.im_smoothed.nii N/A 
Copy header geometry from input data and reorient the volume... N/A N/A N/A sct run N/A N/A sct fsloutput fslcpgeom tmp.anat_orient.nii tmp.im_smoothed.nii  N/A 
Generate output file (in current folder)... N/A N/A N/A sct generate_output_file tmp.im_smoothed.nii ./ N/A file_anat _smoothed ext_anat N/A N/A remove_temp_files 1 N/A N/A 
Delete temporary files... N/A N/A N/A sct run rm tmp.anat.nii N/A N/A N/A sct run rm tmp.centerline.nii N/A N/A N/A sct run rm tmp.anat_orient.nii N/A N/A N/A sct run rm tmp.centerline_orient.nii N/A elapsed_time N/A N/A N/A time time start_time N/A 
Finished! N/A N/A N/A ..  N/A str N/A int N/A round elapsed_time s
 N/A usage N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 
sct_smooth_spinal_cord
--------------------------------------------------------------------------------------------------------------
Part of the Spinal Cord Toolbox <https://sourceforge.net/projects/spinalcordtoolbox>

DESCRIPTION
  This program smooth an anatomical image along  the spinal cord. It works by applying a convolution of a 1Dkernel with the anatomical IRM image along the spinal cord. The output is is the anatomical image smoothed and oriented as the FSL standard.
USAGE
  sct_smooth_spinal_cord.py -i <anat> -c <centerline>

MANDATORY ARGUMENTS
  -i <anat>         anatomic nifti file. Image to smooth.
  -c <centerline>   equation of the centerline (given by the function sct_get_centerline.py).

OPTIONAL ARGUMENTS
  -f <fwhm>         full width at half maximum (in mm). Default= N/A str N/A param fwhm mm.
  -w                width of a square window within which the smoothing will occur (in mm). Smaller is faster. Default= N/A str N/A param width mm. 
  -r <0,1>          remove temporary files. Default= N/A str N/A param remove_temp_files . 
  -h                help. Show this message.
 N/A N/A N/A sys exit 2 N/A N/A N/A __name__ __main__ N/A N/A param N/A param N/A N/A main