Module Import alias Import alias identifier ImportFrom alias Import alias identifier ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num Num Num ListLoad Num Num Num Num Assign NameStore TupleLoad Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr BinOpSub NameLoad Call AttributeLoad NameLoad attr Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr BinOpSub NameLoad ListLoad ListLoad Num Num ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Num keyword Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr TupleLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt Call AttributeLoad NameLoad attr BinOpSub NameLoad ListLoad ListLoad Num Num ListLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Num keyword Num keyword Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Call NameLoad Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad ExtSlice Slice Num Slice Slice Call NameLoad Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad ExtSlice Index Num Slice Num Slice Call NameLoad Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad ExtSlice Index Num Slice Slice Num Call NameLoad Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr CompareLt NameLoad Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Num decorator_list decorator_list
N/A N/A unittest N/A numpy np scot.var VAR N/A scot.connectivity_statistics cs TestFunctions N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A tearDown N/A N/A self N/A N/A N/A N/A generate_data N/A N/A N/A N/A N/A var N/A VAR 2 N/A N/A var coef N/A N/A np array N/A N/A 0.2 0.1 0 0 N/A 0.7 -0.4 0.1 0 N/A l N/A 100 100 N/A x N/A N/A var simulate l N/A N/A x var N/A staticmethod test_surrogate N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 31415 N/A N/A x var0 N/A N/A self generate_data N/A result N/A N/A cs surrogate_connectivity PDC x N/A VAR 2 nfft 4 repeats 100 N/A N/A N/A self assertEqual N/A result shape N/A 100 2 2 4 N/A structure N/A N/A np mean N/A N/A np mean result axis 3 axis 0 N/A N/A N/A self assertTrue N/A N/A np all N/A N/A N/A np abs N/A structure N/A N/A np eye 2 0.05 N/A test_jackknife N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 31415 N/A N/A x var0 N/A N/A self generate_data N/A result N/A N/A cs jackknife_connectivity PDC x N/A VAR 2 nfft 4 leaveout 1 N/A N/A N/A self assertEqual N/A result shape N/A 100 2 2 4 N/A structure N/A N/A np mean N/A N/A np mean result axis 3 axis 0 N/A N/A N/A self assertTrue N/A N/A np all N/A N/A N/A np abs N/A structure N/A N/A 1 0 N/A 0.5 1 0.25 N/A test_bootstrap N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 31415 N/A N/A x var0 N/A N/A self generate_data N/A result N/A N/A cs bootstrap_connectivity PDC x N/A VAR 2 nfft 4 repeats 100 N/A N/A N/A self assertEqual N/A result shape N/A 100 2 2 4 N/A structure N/A N/A np mean N/A N/A np mean result axis 3 axis 0 N/A N/A N/A self assertTrue N/A N/A np all N/A N/A N/A np abs N/A structure N/A N/A 1 0 N/A 0.5 1 0.25 N/A test_bootstrap_difference_and_fdr N/A N/A self N/A N/A N/A N/A N/A N/A np random seed 31415 N/A N/A x var0 N/A N/A self generate_data N/A a N/A N/A cs bootstrap_connectivity PDC x N/A VAR 2 nfft 4 repeats 100 N/A N/A N/A N/A np random seed 12345 N/A N/A x var0 N/A N/A self generate_data N/A b N/A N/A cs bootstrap_connectivity PDC x N/A VAR 2 nfft 4 repeats 100 N/A p N/A N/A cs test_bootstrap_difference a b N/A N/A N/A self assertFalse N/A N/A np any N/A p 0.01 N/A N/A N/A self assertFalse N/A N/A np any N/A N/A cs significance_fdr p 0.05 N/A N/A N/A N/A np random seed 12345 N/A N/A x var0 N/A N/A self generate_data N/A b N/A N/A cs bootstrap_connectivity PDC N/A x N/A N/A -1 N/A N/A N/A VAR 2 nfft 4 repeats 100 N/A p N/A N/A cs test_bootstrap_difference a b N/A N/A N/A self assertFalse N/A N/A np any N/A p 0.01 N/A N/A N/A self assertFalse N/A N/A np any N/A N/A cs significance_fdr p 0.05 N/A N/A N/A N/A np random seed 12345 N/A N/A x var0 N/A N/A self generate_data N/A b N/A N/A cs bootstrap_connectivity PDC N/A x N/A N/A 1 N/A -1 N/A N/A VAR 2 nfft 4 repeats 100 N/A p N/A N/A cs test_bootstrap_difference a b N/A N/A N/A self assertTrue N/A N/A np all N/A p 0.0001 N/A N/A N/A self assertTrue N/A N/A np all N/A N/A cs significance_fdr p 0.01 N/A N/A N/A N/A np random seed 12345 N/A N/A x var0 N/A N/A self generate_data N/A b N/A N/A cs bootstrap_connectivity PDC N/A x N/A N/A 1 N/A N/A -1 N/A VAR 2 nfft 4 repeats 100 N/A p N/A N/A cs test_bootstrap_difference a b N/A N/A N/A self assertTrue N/A N/A np all N/A p 0.0001 N/A N/A N/A self assertTrue N/A N/A np all N/A N/A cs significance_fdr p 0.01 N/A N/A