Module Import alias Import alias Import alias Import alias Import alias identifier ImportFrom alias ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Num Assign AttributeStore NameLoad attr Num decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults Str Str Str Str Str Str Str Str Str Str body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str For NameStore NameLoad body If CompareLt Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Num keyword Str Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call NameLoad NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num decorator_list decorator_list ClassDef bases body Expr Str FunctionDef arguments args NameParam NameParam defaults ListLoad body Assign AttributeStore NameLoad attr Call NameLoad For NameStore NameLoad body If Call NameLoad NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad If CompareNotEq AttributeLoad NameLoad attr Num body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Str Num Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str keyword Str Assign NameStore Call NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword ListLoad ListLoad Str Str keyword BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr keyword NameLoad keyword Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword ListLoad Str Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword ListLoad Str Str Expr Call AttributeLoad NameLoad attr keyword Str keyword Str keyword Str keyword NameLoad keyword Str keyword ListLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Slice Num Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str If CompareIn Str NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str If AttributeLoad NameLoad attr body Print Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore Str Assign NameStore Str Assign NameStore Num Print Str Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str NameLoad Print BinOpAdd Str Call NameLoad NameLoad Print BinOpAdd Str Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str 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 If CompareEq NameLoad Str body Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore NameLoad orelse Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore BinOpAdd Str Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad ImportFrom alias Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call NameLoad NameLoad BinOpAdd NameLoad Str Expr Call NameLoad NameLoad BinOpAdd NameLoad Str If NameLoad body Expr Call NameLoad NameLoad BinOpAdd NameLoad Str Expr Call NameLoad NameLoad BinOpAdd NameLoad Str If UnaryOpNot CompareEq NameLoad Str body Expr Call NameLoad NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore ListLoad Assign NameStore ListLoad For NameStore Call NameLoad Num Call NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad NameLoad Str AttributeLoad NameLoad attr If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Call NameLoad NameLoad attr Str body Assign NameStore Str Assign NameStore Str Assign NameStore Str orelse Expr Call AttributeLoad NameLoad attr Str Num Str If CompareGt NameLoad Num body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Call AttributeLoad Str attr NameLoad Str Call AttributeLoad NameLoad attr NameLoad Str Str NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call AttributeLoad Str attr NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str BinOpAdd BinOpAdd NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str NameLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str BinOpAdd BinOpAdd BinOpAdd NameLoad NameLoad Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd NameLoad Str NameLoad Str NameLoad Str NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad NameLoad Assign NameStore BinOpSub Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str Call NameLoad Call NameLoad Call NameLoad NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Str If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body Assign NameStore Str orelse Assign NameStore Str If AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore Str orelse Assign NameStore Str Assign NameStore Str If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str ImportFrom alias Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index CompareLt NameLoad Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad NameLoad Assign NameStore AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index CompareLt NameLoad Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign TupleStore NameStore NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call NameLoad ListLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Call NameLoad NameLoad Str Call NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str NameLoad Str NameLoad Str NameLoad Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str NameLoad Str NameLoad Str NameLoad Str NameLoad Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str orelse If CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body ImportFrom alias Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call NameLoad NameLoad NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Call NameLoad keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword Str keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Str orelse If CompareIn Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr NameLoad body If UnaryOpNot CompareEq AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str NameLoad Str NameLoad Str Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad Assign NameStore BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd BinOpAdd Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr SubscriptLoad NameLoad Index Call AttributeLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str NameLoad Str NameLoad Str NameLoad Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str NameLoad Str NameLoad Str NameLoad Str NameLoad If CompareGtE AttributeLoad NameLoad attr Num body AugAssignAdd NameStore Str If CompareIn AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr ListLoad Str Str body Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str orelse Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str orelse Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr Str Num Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Str Expr Call AttributeLoad NameLoad attr Str Num Str orelse If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpAdd BinOpAdd Str NameLoad Str Num Str Expr Call AttributeLoad NameLoad attr NameLoad Num Str Expr Call AttributeLoad NameLoad attr Str Num Str orelse If CompareIn AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad attr ListLoad Str Str body Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str orelse Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Assign NameStore BinOpAdd BinOpAdd Str NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Print Str Print NameLoad NameLoad Print Str Return TupleLoad NameLoad NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad Expr Call NameLoad
N/A N/A sys N/A os N/A commands N/A time N/A sct_utils sct msct_parser Parser 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 outSuffix _reg N/A N/A self fname_mask N/A N/A self padding 5 N/A N/A self outlier_factor 2 N/A N/A Paramreg N/A object N/A __init__ N/A N/A self step type algo metric iter shrink smooth gradStep poly window_length N/A 1 im syn MeanSquares 10 1 0 0.5 3 31 N/A N/A N/A self step step N/A N/A self type type N/A N/A self algo algo N/A N/A self metric metric N/A N/A self iter iter N/A N/A self shrink shrink N/A N/A self smooth smooth N/A N/A self gradStep gradStep N/A N/A self poly poly N/A N/A self window_length window_length N/A update N/A N/A self paramreg_user N/A N/A N/A list_objects N/A N/A paramreg_user split , N/A object list_objects N/A N/A N/A N/A len object 2 N/A N/A N/A N/A sct printv Please check parameter -p (usage changed) 1 type error N/A obj N/A N/A object split = N/A N/A setattr self N/A obj N/A 0 N/A obj N/A 1 N/A N/A ParamregMultiStep N/A N/A N/A 
    This class contains a dictionary with the params of multiple steps
     __init__ N/A N/A self listParam N/A N/A N/A N/A N/A self steps N/A dict N/A stepParam listParam N/A N/A N/A isinstance stepParam Paramreg N/A N/A N/A N/A self steps N/A N/A stepParam step stepParam N/A N/A N/A N/A self addStep stepParam N/A addStep N/A N/A self stepParam N/A N/A N/A param_reg N/A Paramreg N/A N/A N/A param_reg update stepParam N/A N/A N/A param_reg step 0 N/A N/A N/A N/A param_reg step N/A self steps N/A N/A N/A N/A N/A N/A self steps N/A N/A param_reg step update stepParam N/A N/A N/A N/A self steps N/A N/A param_reg step param_reg N/A N/A N/A N/A sct printv ERROR: parameters must contain 'step' 1 error N/A N/A main N/A N/A N/A N/A N/A fname_output N/A fname_mask N/A param fname_mask N/A fname_src_seg N/A fsloutput export FSLOUTPUTTYPE=NIFTI;  N/A start_time N/A N/A time time N/A N/A status path_sct N/A N/A commands getstatusoutput echo $SCT_DIR N/A step0 N/A Paramreg step 0 type im algo syn metric MI iter 0 shrink 1 smooth 0 gradStep 0.5 N/A step1 N/A Paramreg N/A paramreg N/A ParamregMultiStep N/A step0 step1 N/A parser N/A Parser __file__ N/A N/A N/A N/A parser usage set_description This program co-registers two 3D volumes. The deformation is non-rigid and is constrained along Z direction (i.e., axial plane). Hence, this function assumes that orientation of the destination image is axial (RPI). If you need to register two volumes with large deformations and/or different contrasts, it is recommended to input spinal cord segmentations (binary mask) in order to achieve maximum robustness. The program outputs a warping field that can be used to register other images to the destination image. To apply the warping field to another image, use sct_apply_transfo N/A N/A N/A parser add_option name -i type_value file description Image source. mandatory True example src.nii.gz N/A N/A N/A parser add_option name -d type_value file description Image destination. mandatory True example dest.nii.gz N/A N/A N/A parser add_option name -iseg type_value file description Segmentation source. mandatory False example src_seg.nii.gz N/A N/A N/A parser add_option name -dseg type_value file description Segmentation destination. mandatory False example dest_seg.nii.gz N/A N/A N/A parser add_option name -m type_value file description Mask that can be created with sct_create_mask to improve accuracy over region of interest. This mask will be used on the destination image. mandatory False example mask.nii.gz N/A N/A N/A parser add_option name -o type_value file_output description Name of output file. mandatory False example src_reg.nii.gz N/A N/A N/A parser add_option name -p type_value N/A N/A : str description N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A Parameters for registration. Separate arguments with ",". Separate steps with ":".
step: <int> Step number (starts at 1).
type: {im,seg} type of data used for registration.
algo: Default= N/A N/A N/A paramreg steps N/A 1 algo 
  global registration: {rigid,  affine,  syn,  bsplinesyn}
  Slice By Slice registration: {slicereg: regularized translations (see: goo.gl/Sj3ZeU),  slicereg2d_translation: regularized using moving average (Hanning window),  slicereg2d_rigid,  slicereg2d_affine,  slicereg2d_pointwise: registration based on the Center of Mass of each slice (use only with type:Seg. Designed for centerlines), slicereg2d_bsplinesyn, slicereg2d_syn}
metric: {CC,MI,MeanSquares}. Default= N/A N/A N/A paramreg steps N/A 1 metric 
iter: <int> Number of iterations. Default= N/A N/A N/A paramreg steps N/A 1 iter 
shrink: <int> Shrink factor (only for SyN). Default= N/A N/A N/A paramreg steps N/A 1 shrink 
smooth: <int> Smooth factor (only for SyN). Default= N/A N/A N/A paramreg steps N/A 1 smooth 
gradStep: <float> Gradient step. Default= N/A N/A N/A paramreg steps N/A 1 gradStep 
poly: <int> Polynomial degree (only for slicereg). Default= N/A N/A N/A paramreg steps N/A 1 poly 
window_length: <int> size of hanning window for smoothing along z for slicereg2d_pointwise, slicereg2d_translation, slicereg2d_rigid, slicereg2d_affine, slicereg2d_syn and slicereg2d_bsplinesyn.. Default= N/A N/A N/A paramreg steps N/A 1 window_length mandatory False example step=1,type=seg,algo=slicereg,metric=MeanSquares:step=2,type=im,algo=syn,metric=MI,iter=5,shrink=2 N/A N/A N/A parser add_option name -z type_value int description size of z-padding to enable deformation at edges when using SyN. mandatory False default_value N/A param padding N/A N/A N/A parser add_option name -x type_value multiple_choice description Final interpolation. mandatory False default_value linear example N/A nn linear spline N/A N/A N/A parser add_option name -r type_value multiple_choice description Remove temporary files. mandatory False default_value 1 example N/A 0 1 N/A N/A N/A parser add_option name -v type_value multiple_choice description Verbose. mandatory False default_value 1 example N/A 0 1 2 N/A arguments N/A N/A parser parse N/A N/A sys argv N/A 1 N/A fname_src N/A arguments N/A -i N/A fname_dest N/A arguments N/A -d N/A N/A -iseg arguments N/A N/A fname_src_seg N/A arguments N/A -iseg N/A N/A -dseg arguments N/A N/A fname_dest_seg N/A arguments N/A -dseg N/A N/A -o arguments N/A N/A fname_output N/A arguments N/A -o N/A N/A -m arguments N/A N/A fname_mask N/A arguments N/A -m N/A padding N/A arguments N/A -z N/A N/A -p arguments N/A N/A paramreg_user N/A arguments N/A -p N/A paramStep paramreg_user N/A N/A N/A N/A paramreg addStep paramStep N/A interp N/A arguments N/A -x N/A remove_temp_files N/A int N/A arguments N/A -r N/A verbose N/A int N/A arguments N/A -v N/A N/A param debug N/A N/A 
*** WARNING: DEBUG MODE ON ***
 N/A N/A status path_sct_data N/A N/A commands getstatusoutput echo $SCT_TESTING_DATA_DIR N/A fname_dest N/A path_sct_data /mt/mt1.nii.gz N/A fname_src N/A path_sct_data /t2/t2.nii.gz N/A param_user 10,syn,0.5,MI N/A remove_temp_files 0 N/A verbose 1 N/A 
Input parameters: N/A N/A   Source ..............  fname_src N/A N/A   Destination .........  fname_dest N/A N/A   Mask ................  fname_mask N/A N/A   Output name .........  fname_output N/A N/A   Remove temp files ...  N/A str remove_temp_files N/A N/A   Verbose .............  N/A str verbose N/A N/A param verbose verbose N/A N/A param padding padding N/A N/A param fname_mask fname_mask N/A N/A param remove_temp_files remove_temp_files N/A N/A N/A sct printv 
Check if input data are 3D... verbose N/A N/A N/A sct check_if_3d fname_src N/A N/A N/A sct check_if_3d fname_dest N/A N/A N/A sct printv 
Check if destination data is RPI... verbose N/A N/A N/A sct check_if_rpi fname_dest N/A N/A path_src file_src ext_src N/A N/A sct extract_fname fname_src N/A N/A path_dest file_dest ext_dest N/A N/A sct extract_fname fname_dest N/A N/A fname_output N/A N/A path_out N/A file_out N/A file_src _reg N/A ext_out ext_src N/A N/A N/A path_out file_out ext_out N/A N/A sct extract_fname fname_output N/A N/A N/A sct printv 
Create temporary folder... verbose N/A path_tmp N/A tmp. N/A N/A time strftime %y%m%d%H%M%S N/A N/A status output N/A N/A sct run N/A mkdir  path_tmp verbose sct_convert convert N/A N/A N/A sct printv 
Copying input data to tmp folder and convert to nii... verbose N/A N/A convert fname_src N/A path_tmp /src.nii N/A N/A convert fname_dest N/A path_tmp /dest.nii N/A fname_src_seg N/A N/A N/A convert fname_src_seg N/A path_tmp /src_seg.nii N/A N/A convert fname_dest_seg N/A path_tmp /dest_seg.nii N/A N/A N/A fname_mask N/A N/A N/A convert fname_mask N/A path_tmp /mask.nii.gz N/A N/A N/A os chdir path_tmp N/A warp_forward N/A N/A warp_inverse N/A N/A i_step N/A range 0 N/A len N/A paramreg steps N/A N/A N/A N/A sct printv N/A N/A 
Estimate transformation for step # N/A str i_step ... N/A param verbose N/A N/A N/A N/A N/A paramreg steps N/A N/A str i_step type im N/A N/A src src.nii N/A dest dest.nii N/A interp_step linear N/A N/A N/A N/A N/A N/A paramreg steps N/A N/A str i_step type seg N/A N/A src src_seg.nii N/A dest dest_seg.nii N/A interp_step nn N/A N/A N/A N/A sct run ERROR: Wrong image type. 1 error N/A N/A i_step 0 N/A N/A N/A N/A sct run N/A N/A N/A N/A N/A N/A N/A N/A N/A sct_apply_transfo -i  src  -d  dest  -w  N/A N/A , join warp_forward  -o  N/A N/A sct add_suffix src _reg  -x  interp_step verbose N/A src N/A N/A sct add_suffix src _reg N/A N/A warp_forward_out warp_inverse_out N/A register src dest paramreg param N/A str i_step N/A N/A N/A warp_forward append warp_forward_out N/A N/A N/A warp_inverse append warp_inverse_out N/A warp_forward_0 N/A N/A warp_forward pop 0 N/A N/A N/A warp_forward append warp_forward_0 N/A N/A N/A sct printv 
Concatenate transformations... verbose N/A N/A N/A sct run N/A N/A sct_concat_transfo -w  N/A N/A , join warp_forward  -d dest.nii -o warp_src2dest.nii.gz verbose N/A N/A N/A warp_inverse reverse N/A N/A N/A sct run N/A N/A sct_concat_transfo -w  N/A N/A , join warp_inverse  -d dest.nii -o warp_dest2src.nii.gz verbose N/A N/A N/A sct printv 
Apply transfo source --> dest... verbose N/A N/A N/A sct run N/A sct_apply_transfo -i src.nii -o src_reg.nii -d dest.nii -w warp_src2dest.nii.gz -x  interp verbose N/A N/A N/A sct printv 
Apply transfo dest --> source... verbose N/A N/A N/A sct run N/A sct_apply_transfo -i dest.nii -o dest_reg.nii -d src.nii -w warp_dest2src.nii.gz -x  interp verbose N/A N/A N/A os chdir .. N/A N/A N/A sct printv 
Generate output files... verbose N/A fname_src2dest N/A N/A sct generate_output_file N/A path_tmp /src_reg.nii N/A N/A path_out file_out ext_out verbose N/A N/A N/A sct generate_output_file N/A path_tmp /warp_src2dest.nii.gz N/A N/A N/A N/A N/A path_out warp_ file_src 2 file_dest .nii.gz verbose N/A fname_dest2src N/A N/A sct generate_output_file N/A path_tmp /dest_reg.nii N/A N/A N/A path_out file_dest _reg ext_dest verbose N/A N/A N/A sct generate_output_file N/A path_tmp /warp_dest2src.nii.gz N/A N/A N/A N/A N/A path_out warp_ file_dest 2 file_src .nii.gz verbose N/A remove_temp_files N/A N/A N/A N/A sct printv 
Remove temporary files... verbose N/A N/A N/A sct run N/A rm -rf  path_tmp verbose N/A elapsed_time N/A N/A N/A time time start_time N/A N/A N/A sct printv N/A N/A 
Finished! Elapsed time:  N/A str N/A int N/A round elapsed_time s verbose N/A N/A N/A sct printv 
To view results, type: verbose N/A N/A N/A sct printv N/A N/A N/A N/A fslview  fname_dest fname_src2dest  & verbose info N/A N/A N/A sct printv N/A N/A N/A N/A fslview  fname_src fname_dest2src  &
 verbose info N/A register N/A N/A src dest paramreg param i_step_str N/A N/A N/A ants_registration_params N/A rigid affine compositeaffine similarity translation bspline gaussiandisplacementfield bsplinedisplacementfield syn bsplinesyn ,10 ,3,0 ,5,10 ,3,0 ,1,3 N/A fsloutput export FSLOUTPUTTYPE=NIFTI;  N/A N/A N/A N/A N/A paramreg steps N/A i_step_str metric MI N/A N/A metricSize 32 N/A N/A metricSize 4 N/A N/A param fname_mask N/A N/A fname_mask mask.nii.gz N/A masking -x mask.nii.gz N/A N/A fname_mask N/A masking N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg N/A msct_image find_zmin_zmax N/A src_th N/A N/A sct add_suffix src _th msct_image Image N/A nii N/A Image src N/A data N/A nii data N/A N/A data N/A N/A data 0.1 0 N/A N/A nii data data N/A N/A N/A nii setFileName src_th N/A N/A N/A nii save N/A dest_th N/A N/A sct add_suffix dest _th N/A nii N/A Image dest N/A data N/A nii data N/A N/A data N/A N/A data 0.1 0 N/A N/A nii data data N/A N/A N/A nii setFileName dest_th N/A N/A N/A nii save N/A N/A zmin_src zmax_src N/A find_zmin_zmax src_th N/A N/A zmin_dest zmax_dest N/A find_zmin_zmax dest_th N/A zmin_total N/A max N/A zmin_src zmin_dest N/A zmax_total N/A min N/A zmax_src zmax_dest N/A src_crop N/A N/A sct add_suffix src _crop N/A N/A N/A sct run N/A N/A N/A N/A N/A N/A N/A sct_crop_image -i  src  -o  src_crop  -dim 2 -start  N/A str zmin_total  -end  N/A str zmax_total N/A param verbose N/A dest_crop N/A N/A sct add_suffix dest _crop N/A N/A N/A sct run N/A N/A N/A N/A N/A N/A N/A sct_crop_image -i  dest  -o  dest_crop  -dim 2 -start  N/A str zmin_total  -end  N/A str zmax_total N/A param verbose N/A src src_crop N/A dest dest_crop N/A cmd N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A isct_antsSliceRegularizedRegistration -t Translation[0.5] -m  N/A N/A N/A paramreg steps N/A i_step_str metric [ dest , src ,1, metricSize ,Regular,0.2] -p  N/A N/A N/A paramreg steps N/A i_step_str poly  -i  N/A N/A N/A paramreg steps N/A i_step_str iter  -f 1 -s  N/A N/A N/A paramreg steps N/A i_step_str smooth  -v 1 -o [step i_step_str , src _regStep i_step_str .nii]  masking N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_pointwise N/A msct_register register_slicereg2d_pointwise N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_pointwise src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo Translation metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor verbose N/A param verbose N/A cmd N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_translation N/A msct_register register_slicereg2d_translation N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_translation src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo Translation metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep fname_mask fname_mask warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor remove_temp_files N/A param remove_temp_files verbose N/A param verbose ants_registration_params ants_registration_params N/A cmd N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_rigid N/A msct_register register_slicereg2d_rigid N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_rigid src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo Rigid metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep fname_mask fname_mask warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor remove_temp_files N/A param remove_temp_files verbose N/A param verbose ants_registration_params ants_registration_params N/A cmd N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_affine N/A msct_register register_slicereg2d_affine N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_affine src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo Affine metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep fname_mask fname_mask warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor remove_temp_files N/A param remove_temp_files verbose N/A param verbose ants_registration_params ants_registration_params N/A cmd N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_syn N/A msct_register register_slicereg2d_syn N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_syn src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo SyN metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep fname_mask fname_mask warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor remove_temp_files N/A param remove_temp_files verbose N/A param verbose ants_registration_params ants_registration_params N/A cmd N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo slicereg2d_bsplinesyn N/A msct_register register_slicereg2d_bsplinesyn N/A warp_forward_out N/A N/A step i_step_str Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str InverseWarp.nii.gz N/A N/A register_slicereg2d_bsplinesyn src dest window_length N/A N/A N/A paramreg steps N/A i_step_str window_length paramreg N/A Paramreg step N/A N/A N/A paramreg steps N/A i_step_str step type N/A N/A N/A paramreg steps N/A i_step_str type algo BSplineSyN metric N/A N/A N/A paramreg steps N/A i_step_str metric iter N/A N/A N/A paramreg steps N/A i_step_str iter shrink N/A N/A N/A paramreg steps N/A i_step_str shrink smooth N/A N/A N/A paramreg steps N/A i_step_str smooth gradStep N/A N/A N/A paramreg steps N/A i_step_str gradStep fname_mask fname_mask warp_forward_out warp_forward_out warp_inverse_out warp_inverse_out factor N/A param outlier_factor remove_temp_files N/A param remove_temp_files verbose N/A param verbose ants_registration_params ants_registration_params N/A cmd N/A N/A N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo lower ants_registration_params N/A N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str iter 0 N/A N/A dest_pad N/A N/A sct add_suffix dest _pad N/A N/A N/A sct run N/A N/A N/A N/A N/A sct_maths -i  dest  -o  dest_pad  -pad 0x0x N/A str N/A param padding N/A dest dest_pad N/A cmd N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A isct_antsRegistration --dimensionality 3 --transform  N/A N/A N/A paramreg steps N/A i_step_str algo [ N/A N/A N/A paramreg steps N/A i_step_str gradStep N/A ants_registration_params N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo lower ] --metric  N/A N/A N/A paramreg steps N/A i_step_str metric [ dest , src ,1, metricSize ] --convergence  N/A N/A N/A paramreg steps N/A i_step_str iter  --shrink-factors  N/A N/A N/A paramreg steps N/A i_step_str shrink  --smoothing-sigmas  N/A N/A N/A paramreg steps N/A i_step_str smooth mm --restrict-deformation 1x1x0 --output [step i_step_str , src _regStep i_step_str .nii] --interpolation BSpline[3]  masking N/A N/A N/A param verbose 1 N/A N/A cmd  --verbose 1 N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo N/A rigid affine N/A N/A warp_forward_out N/A N/A step i_step_str 0GenericAffine.mat N/A warp_inverse_out N/A N/A -step i_step_str 0GenericAffine.mat N/A N/A warp_forward_out N/A N/A step i_step_str 0Warp.nii.gz N/A warp_inverse_out N/A N/A step i_step_str 0InverseWarp.nii.gz N/A N/A N/A N/A sct printv N/A N/A 
ERROR: algo  N/A N/A N/A paramreg steps N/A i_step_str algo  does not exist. Exit program
 1 error N/A N/A status output N/A N/A sct run cmd N/A param verbose N/A N/A N/A N/A N/A os path isfile warp_forward_out N/A N/A N/A N/A sct printv N/A N/A 
ERROR: file  warp_forward_out  doesn't exist (or is not a file).
 1 error N/A N/A N/A sct printv output 1 error N/A N/A N/A sct printv 
ERROR: ANTs failed. Exit program.
 1 error N/A N/A N/A N/A N/A N/A os path isfile warp_inverse_out N/A N/A N/A N/A sct printv N/A N/A 
ERROR: file  warp_inverse_out  doesn't exist (or is not a file).
 1 error N/A N/A N/A sct printv output 1 error N/A N/A N/A sct printv 
ERROR: ANTs failed. Exit program.
 1 error N/A N/A N/A N/A N/A N/A paramreg steps N/A i_step_str algo N/A rigid affine N/A N/A warp_forward N/A N/A warp_forward_ i_step_str .mat N/A N/A N/A os rename warp_forward_out warp_forward N/A warp_inverse N/A N/A -warp_forward_ i_step_str .mat N/A N/A warp_forward N/A N/A warp_forward_ i_step_str .nii.gz N/A warp_inverse N/A N/A warp_inverse_ i_step_str .nii.gz N/A N/A N/A os rename warp_forward_out warp_forward N/A N/A N/A os rename warp_inverse_out warp_inverse N/A *********************************************************************************************************************
 N/A warp_forward warp_inverse N/A *********************************************************************************************************************
 N/A N/A warp_forward warp_inverse N/A N/A N/A __name__ __main__ N/A N/A param N/A Param N/A N/A main