Module Import alias Import alias identifier ImportFrom alias alias alias ImportFrom alias alias ImportFrom alias alias alias ImportFrom alias Import alias ImportFrom alias ImportFrom alias alias alias alias alias alias ImportFrom alias alias alias alias Expr Call AttributeLoad NameLoad attr Str Assign NameStore Num FunctionDef arguments args defaults body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Slice BinOpDiv Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num keyword Str NameLoad Assign NameStore BinOpMult Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Slice BinOpDiv Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Num keyword Str NameLoad Assign NameStore BinOpMult Num SubscriptLoad Call AttributeLoad NameLoad attr Num ExtSlice Index NameLoad Slice AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Slice Num NameLoad AugAssignSub SubscriptStore NameLoad ExtSlice Slice Slice Num NameLoad Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Index AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Slice Index AttributeLoad NameLoad attr Return TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num TryFinally body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad With Call NameLoad NameStore body Expr Call NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad keyword Num Expr Call NameLoad CompareNotIn Str Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr keyword NameLoad body Expr Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Expr Call NameLoad CompareIn Str Call AttributeLoad NameLoad attr finalbody If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index Str If CompareIsNot NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad orelse Delete SubscriptDel AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias handlers ExceptHandler type NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Num Num Num AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Slice Num Num Slice Num Num Num AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Index Num Slice Num Num Num Assign NameStore Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num Expr Call NameLoad Call AttributeLoad NameLoad attr CompareGtE NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad For TupleStore NameStore NameStore Call NameLoad TupleLoad NameLoad NameLoad TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num Assign NameStore BinOpFloorDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num keyword Num keyword Num keyword Num keyword NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore ListLoad NameLoad Call NameLoad NameLoad keyword Num For NameStore NameLoad body For NameStore TupleLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad UnaryOpUSub NameLoad keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad UnaryOpUSub NameLoad Expr Call NameLoad CompareLt NameLoad Num CompareLt NameLoad Num Assign NameStore BinOpFloorDiv SubscriptLoad AttributeLoad NameLoad attr Index Num Num With Call AttributeLoad NameLoad attr keyword NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad UnaryOpUSub NameLoad keyword Num keyword Num keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str TryExcept body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias handlers ExceptHandler type NameLoad body Return Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore Call NameLoad keyword NameLoad keyword Num keyword NameLoad keyword Num keyword Num keyword Num keyword NameLoad keyword Num Assign NameStore NameLoad For TupleStore NameStore NameStore NameStore NameStore ListLoad TupleLoad NameLoad NameLoad NameLoad NameLoad TupleLoad ListLoad NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Num NameLoad Assign NameStore Call NameLoad NameLoad keyword NameLoad NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Expr Call NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr attr If Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Num comprehension NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword NameLoad NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Slice NameLoad Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Slice NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad CompareEq Call NameLoad SubscriptLoad NameLoad Index Num BinOpMult Num NameLoad Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index SubscriptLoad NameLoad Slice NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad comprehension NameStore SubscriptLoad SubscriptLoad NameLoad Index Num Slice Expr Call NameLoad CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad If Call NameLoad NameLoad NameLoad body Assign NameStore ListComp Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num NameLoad comprehension NameStore NameLoad orelse Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword Num keyword Num keyword NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad SubscriptLoad NameLoad Index Num Index Num Expr Call NameLoad CompareEq Call NameLoad SubscriptLoad NameLoad Index Num BinOpMult Num NameLoad Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index SubscriptLoad NameLoad Slice NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call NameLoad ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num comprehension NameStore SubscriptLoad NameLoad Index Num Expr Call NameLoad CompareEq Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword Num keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword Num keyword Num Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListComp Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Num Index NameLoad comprehension NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad If UnaryOpNot NameLoad body Expr Call NameLoad NameLoad NameLoad NameLoad keyword Num keyword NameLoad keyword Num keyword Num keyword Num Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Call NameLoad keyword Str With Call AttributeLoad NameLoad attr keyword NameLoad NameStore body Expr Call NameLoad NameLoad keyword NameLoad keyword Call NameLoad keyword Num keyword Num If UnaryOpNot NameLoad body Expr Call NameLoad CompareEq Call NameLoad NameLoad Num Assign NameStore NameLoad Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Num keyword Call NameLoad keyword Num keyword Num Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Num keyword Call NameLoad keyword Num keyword Num Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword ListLoad Expr Call NameLoad NameLoad NameLoad NameLoad keyword NameLoad keyword Num Assign NameStore Call NameLoad NameLoad keyword Num keyword NameLoad keyword Num keyword Call NameLoad keyword Num keyword Num Expr Call NameLoad CompareLt Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num Num decorator_list FunctionDef arguments args defaults body Expr Str TryExcept body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias handlers ExceptHandler type NameLoad body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Num Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Num NameLoad NameLoad AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Slice Slice Num Num Num AugAssignAdd SubscriptStore NameLoad ExtSlice Slice Index Num Index Num Num Assign NameStore ListLoad Num Num Num Num Assign NameStore ListLoad NameLoad Call NameLoad NameLoad NameLoad Call NameLoad Num NameLoad Call NameLoad Num NameLoad Assign NameStore NameLoad Assign NameStore ListLoad Num Call NameLoad keyword Num keyword Num Assign NameStore ListLoad Num Num Assign NameStore ListLoad Num Num Num Assign NameStore ListLoad Str Str Str Assign NameStore Call NameLoad NameLoad keyword Num For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad NameLoad keyword NameLoad keyword NameLoad keyword Num keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad If CompareEq NameLoad Str body Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num AttributeLoad NameLoad attr Expr Call NameLoad CompareEq AttributeLoad SubscriptLoad NameLoad Index Num attr NameLoad Expr Call NameLoad AttributeLoad SubscriptLoad NameLoad Index Num attr SubscriptLoad AttributeLoad NameLoad attr Slice Num orelse Expr Call NameLoad Call NameLoad SubscriptLoad NameLoad Index Num NameLoad If CompareEq NameLoad Num body Expr Call NameLoad UnaryOpNot Call AttributeLoad NameLoad attr CompareEq NameLoad Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Index Num Expr Call NameLoad CompareEq Call NameLoad NameLoad NameLoad Assign NameStore ListComp SubscriptLoad NameLoad Index NameLoad comprehension NameStore NameLoad Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num body Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index TupleLoad NameLoad NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign NameStore NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Assign NameStore NameLoad If CompareIs NameLoad NameLoad body Assign NameStore NameLoad Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad CompareEq Call NameLoad NameLoad Call NameLoad NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args defaults body Expr Str TryExcept body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias handlers ExceptHandler type NameLoad body Return Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad ListLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad ListLoad Num Num Num Assign NameStore Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call NameLoad keyword Num keyword Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword NameLoad keyword Num keyword Num keyword Num keyword NameLoad keyword NameLoad Assign NameStore BinOpFloorDiv AttributeLoad NameLoad attr Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad keyword Num keyword NameLoad Expr Call NameLoad Call AttributeLoad NameLoad attr CompareLt NameLoad Num Call AttributeLoad NameLoad attr CompareLt NameLoad Num Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad ListLoad NameLoad NameLoad keyword Num keyword Num keyword Num keyword NameLoad keyword Num keyword NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Return SubscriptLoad Call AttributeLoad NameLoad attr NameLoad Num Index Num decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore TupleLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Num ListLoad TupleLoad Call AttributeLoad NameLoad attr ListLoad Num Call AttributeLoad NameLoad attr ListLoad Num Num Num Call AttributeLoad NameLoad attr ListLoad Num Num Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign NameStore Call NameLoad NameLoad Expr Call NameLoad CompareEq SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Num Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Num Expr Call NameLoad NameLoad NameLoad NameLoad decorator_list Expr Call NameLoad
N/A N/A os N/A numpy np numpy.testing assert_equal assert_array_equal assert_array_almost_equal nose.tools assert_true assert_raises scipy sparse linalg stats mne.fixes partial N/A warnings mne.parallel _force_serial mne.stats.cluster_level permutation_cluster_test permutation_cluster_1samp_test spatio_temporal_cluster_test spatio_temporal_cluster_1samp_test ttest_1samp_no_p summarize_clusters_stc mne.utils run_tests_if_main slow_test _TempDir catch_logging N/A N/A N/A warnings simplefilter always N/A n_space 50 _get_conditions N/A N/A N/A N/A N/A noise_level 20 N/A n_time_1 20 N/A n_time_2 13 N/A normfactor N/A N/A N/A N/A np hanning 20 sum N/A rng N/A N/A N/A np random RandomState 42 N/A condition1_1d N/A N/A N/A rng randn n_time_1 n_space noise_level N/A c condition1_1d N/A N/A N/A c N/A N/A N/A N/A np convolve c N/A N/A np hanning 20 mode same normfactor N/A condition2_1d N/A N/A N/A rng randn n_time_2 n_space noise_level N/A c condition2_1d N/A N/A N/A c N/A N/A N/A N/A np convolve c N/A N/A np hanning 20 mode same normfactor N/A pseudoekp N/A 10 N/A N/A N/A np hanning 25 N/A N/A None N/A N/A N/A condition1_1d N/A N/A N/A 25 pseudoekp N/A N/A condition2_1d N/A N/A N/A 25 pseudoekp N/A condition1_2d N/A condition1_1d N/A N/A N/A N/A N/A np newaxis N/A condition2_2d N/A condition2_1d N/A N/A N/A N/A N/A np newaxis N/A N/A condition1_1d condition2_1d condition1_2d condition2_2d N/A test_cache_dir N/A N/A N/A N/A N/A Test use of cache dir
     N/A tempdir N/A _TempDir N/A orig_dir N/A N/A os getenv MNE_CACHE_DIR None N/A orig_size N/A N/A os getenv MNE_MEMMAP_MIN_SIZE None N/A rng N/A N/A N/A np random RandomState 0 N/A X N/A N/A rng randn 9 2 10 N/A N/A N/A N/A N/A os environ N/A MNE_MEMMAP_MIN_SIZE 1K N/A N/A N/A os environ N/A MNE_CACHE_DIR tempdir N/A N/A catch_logging log_file N/A N/A N/A permutation_cluster_1samp_test X buffer_size None n_jobs 2 n_permutations 1 seed 0 stat_fun ttest_1samp_no_p verbose False N/A stat_fun N/A partial ttest_1samp_no_p sigma 0.001 N/A N/A assert_true N/A independently N/A N/A log_file getvalue N/A N/A N/A warnings catch_warnings record True N/A N/A N/A permutation_cluster_1samp_test X buffer_size 10 n_jobs 2 n_permutations 1 seed 0 stat_fun stat_fun verbose False N/A N/A assert_true N/A independently N/A N/A log_file getvalue N/A N/A N/A orig_dir None N/A N/A N/A N/A os environ N/A MNE_CACHE_DIR orig_dir N/A N/A N/A N/A os environ N/A MNE_CACHE_DIR N/A N/A orig_size None N/A N/A N/A N/A os environ N/A MNE_MEMMAP_MIN_SIZE orig_size N/A N/A N/A N/A os environ N/A MNE_MEMMAP_MIN_SIZE N/A test_permutation_step_down_p N/A N/A N/A N/A N/A Test cluster level permutations with step_down_p
     N/A N/A N/A N/A sklearn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A scikits.learn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A N/A N/A rng N/A N/A N/A np random RandomState 0 N/A X N/A N/A rng randn 9 2 10 N/A N/A X N/A N/A N/A 0 2 N/A 0 2 2 N/A N/A X N/A N/A N/A 1 N/A 5 9 0.5 N/A thresh 2 N/A N/A t clusters p H0 N/A permutation_cluster_1samp_test X threshold thresh step_down_p 1.0 N/A N/A t clusters p_old H0 N/A permutation_cluster_1samp_test X threshold thresh step_down_p 0.0 N/A N/A assert_equal N/A N/A np sum N/A p_old 0.05 1 N/A N/A t clusters p_new H0 N/A permutation_cluster_1samp_test X threshold thresh step_down_p 0.05 N/A N/A assert_equal N/A N/A np sum N/A p_new 0.05 2 N/A N/A assert_true N/A N/A np all N/A p_old p_new N/A test_cluster_permutation_test N/A N/A N/A N/A N/A Test cluster level permutations tests
     N/A N/A condition1_1d condition2_1d condition1_2d condition2_2d N/A _get_conditions N/A N/A condition1 condition2 N/A zip N/A condition1_1d condition1_2d N/A condition2_1d condition2_2d N/A N/A N/A T_obs clusters cluster_p_values hist N/A permutation_cluster_test N/A condition1 condition2 n_permutations 100 tail 1 seed 1 buffer_size None N/A N/A assert_equal N/A N/A np sum N/A cluster_p_values 0.05 1 N/A N/A T_obs clusters cluster_p_values hist N/A permutation_cluster_test N/A condition1 condition2 n_permutations 100 tail 0 seed 1 buffer_size None N/A N/A assert_equal N/A N/A np sum N/A cluster_p_values 0.05 1 N/A buffer_size N/A N/A N/A condition1 shape N/A 1 10 N/A N/A T_obs clusters cluster_p_values_buff hist N/A permutation_cluster_test N/A condition1 condition2 n_permutations 100 tail 0 seed 1 n_jobs 2 buffer_size buffer_size N/A N/A assert_array_equal cluster_p_values cluster_p_values_buff N/A test_cluster_permutation_t_test N/A N/A N/A N/A N/A Test cluster level permutations T-test
     N/A N/A condition1_1d condition2_1d condition1_2d condition2_2d N/A _get_conditions N/A stat_funs N/A ttest_1samp_no_p N/A partial ttest_1samp_no_p sigma 0.1 N/A stat_fun stat_funs N/A N/A condition1 N/A condition1_1d condition1_2d N/A N/A N/A T_obs clusters cluster_p_values hist N/A permutation_cluster_1samp_test condition1 n_permutations 100 tail 0 seed 1 buffer_size None N/A N/A assert_equal N/A N/A np sum N/A cluster_p_values 0.05 1 N/A N/A T_obs_pos c_1 cluster_p_values_pos _ N/A permutation_cluster_1samp_test condition1 n_permutations 100 tail 1 threshold 1.67 seed 1 stat_fun stat_fun buffer_size None N/A N/A T_obs_neg _ cluster_p_values_neg _ N/A permutation_cluster_1samp_test N/A condition1 n_permutations 100 tail -1 threshold -1.67 seed 1 stat_fun stat_fun buffer_size None N/A N/A assert_array_equal T_obs_pos N/A T_obs_neg N/A N/A assert_array_equal N/A cluster_p_values_pos 0.05 N/A cluster_p_values_neg 0.05 N/A buffer_size N/A N/A N/A condition1 shape N/A 1 10 N/A N/A N/A warnings catch_warnings record True N/A N/A N/A T_obs_neg_buff _ cluster_p_values_neg_buff _ N/A permutation_cluster_1samp_test N/A condition1 n_permutations 100 tail -1 threshold -1.67 seed 1 n_jobs 2 stat_fun stat_fun buffer_size buffer_size N/A N/A assert_array_equal T_obs_neg T_obs_neg_buff N/A N/A assert_array_equal cluster_p_values_neg cluster_p_values_neg_buff N/A slow_test test_cluster_permutation_with_connectivity N/A N/A N/A N/A N/A Test cluster level permutations with connectivity matrix
     N/A N/A N/A N/A sklearn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A scikits.learn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A N/A N/A N/A condition1_1d condition2_1d condition1_2d condition2_2d N/A _get_conditions N/A n_pts N/A N/A condition1_1d shape N/A 1 N/A args N/A dict seed None max_step 1 exclude None step_down_p 0 t_power 1 threshold 1.67 check_disjoint False n_permutations 50 N/A did_warn False N/A N/A X1d X2d func spatio_temporal_func N/A N/A condition1_1d condition1_2d permutation_cluster_1samp_test spatio_temporal_cluster_1samp_test N/A N/A condition1_1d condition2_1d N/A condition1_2d condition2_2d permutation_cluster_test spatio_temporal_cluster_test N/A N/A out N/A func X1d args N/A connectivity N/A grid_to_graph 1 n_pts N/A out_connectivity N/A func X1d connectivity connectivity args N/A N/A assert_array_equal N/A out N/A 0 N/A out_connectivity N/A 0 N/A N/A a b N/A zip N/A out_connectivity N/A 1 N/A out N/A 1 N/A N/A N/A assert_array_equal N/A N/A out N/A 0 N/A a N/A N/A out N/A 0 N/A b N/A N/A assert_true N/A N/A np all N/A a N/A b N/A connectivity_2 N/A N/A sparse coo_matrix N/A N/A linalg block_diag N/A N/A N/A N/A connectivity asfptype todense N/A N/A N/A N/A connectivity asfptype todense N/A N/A isinstance X1d list N/A N/A X1d_2 N/A N/A N/A np concatenate N/A x x axis 1 N/A x X1d N/A N/A X1d_2 N/A N/A np concatenate N/A X1d X1d axis 1 N/A out_connectivity_2 N/A func X1d_2 connectivity connectivity_2 args N/A split N/A len N/A out N/A 0 N/A N/A assert_array_equal N/A out N/A 0 N/A N/A out_connectivity_2 N/A 0 N/A split N/A N/A assert_array_equal N/A out N/A 0 N/A N/A out_connectivity_2 N/A 0 N/A split N/A n_clust_orig N/A len N/A out N/A 1 N/A N/A assert_true N/A N/A len N/A out_connectivity_2 N/A 1 N/A 2 n_clust_orig N/A data_1 N/A set N/A N/A N/A np sum N/A N/A out N/A 0 N/A N/A b N/A n_pts N/A b N/A out N/A 1 N/A data_2 N/A set N/A N/A N/A np sum N/A N/A out_connectivity_2 N/A 0 N/A a N/A a N/A N/A out_connectivity_2 N/A 1 N/A N/A N/A assert_true N/A N/A len N/A N/A data_1 intersection data_2 N/A len data_1 N/A N/A isinstance X1d list N/A N/A X1d_3 N/A N/A N/A np reshape x N/A -1 2 n_space N/A x X1d_2 N/A N/A X1d_3 N/A N/A np reshape X1d_2 N/A -1 2 n_space N/A out_connectivity_3 N/A spatio_temporal_func X1d_3 n_permutations 50 connectivity connectivity max_step 0 threshold 1.67 check_disjoint True N/A split N/A len N/A out N/A 0 N/A N/A assert_array_equal N/A out N/A 0 N/A N/A out_connectivity_3 N/A 0 N/A 0 N/A N/A assert_array_equal N/A out N/A 0 N/A N/A out_connectivity_3 N/A 0 N/A 1 N/A N/A assert_true N/A N/A len N/A out_connectivity_3 N/A 1 N/A 2 n_clust_orig N/A data_1 N/A set N/A N/A N/A np sum N/A N/A out N/A 0 N/A N/A b N/A n_pts N/A b N/A out N/A 1 N/A data_2 N/A set N/A N/A N/A np sum N/A N/A out_connectivity_3 N/A 0 N/A N/A N/A a N/A 0 N/A a N/A 1 N/A a N/A out_connectivity_3 N/A 1 N/A N/A assert_true N/A N/A len N/A N/A data_1 intersection data_2 N/A len data_1 N/A out_connectivity_4 N/A spatio_temporal_func X1d_3 n_permutations 50 connectivity connectivity max_step 2 threshold 1.67 N/A out_connectivity_5 N/A spatio_temporal_func X1d_3 n_permutations 50 connectivity connectivity max_step 1 threshold 1.67 N/A sums_4 N/A N/A N/A np sum N/A N/A out_connectivity_4 N/A 0 N/A a N/A a N/A out_connectivity_4 N/A 1 N/A sums_5 N/A N/A N/A np sum N/A N/A out_connectivity_4 N/A 0 N/A a N/A a N/A out_connectivity_5 N/A 1 N/A sums_4 N/A N/A np sort sums_4 N/A sums_5 N/A N/A np sort sums_5 N/A N/A assert_array_almost_equal sums_4 sums_5 N/A N/A _force_serial N/A N/A N/A assert_raises ValueError spatio_temporal_func X1d_3 n_permutations 1 connectivity connectivity max_step 1 threshold 1.67 n_jobs -1000 N/A N/A assert_raises KeyError spatio_temporal_func X1d_3 connectivity connectivity threshold N/A dict me hello N/A N/A N/A warnings catch_warnings record True w N/A N/A N/A spatio_temporal_func X1d_3 connectivity connectivity threshold N/A dict start 10 step 1 N/A N/A did_warn N/A N/A N/A assert_true N/A N/A len w 1 N/A did_warn True N/A N/A assert_raises ValueError spatio_temporal_func X1d_3 connectivity connectivity tail -1 threshold N/A dict start 1 step -1 N/A N/A assert_raises ValueError spatio_temporal_func X1d_3 connectivity connectivity tail -1 threshold N/A dict start -1 step 1 N/A N/A assert_raises TypeError spatio_temporal_func X1d_3 connectivity connectivity threshold N/A N/A N/A assert_raises ValueError spatio_temporal_func X1d_3 connectivity connectivity tail 2 N/A out_connectivity_6 N/A spatio_temporal_func X1d_3 n_permutations 50 connectivity connectivity max_step 1 threshold N/A dict start 1 step 1 N/A N/A assert_true N/A N/A N/A np min N/A out_connectivity_6 N/A 2 0.05 N/A test_permutation_connectivity_equiv N/A N/A N/A N/A N/A Test cluster level permutations with and without connectivity
     N/A N/A N/A N/A sklearn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A scikits.learn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A N/A N/A rng N/A N/A N/A np random RandomState 0 N/A n_time 2 N/A n_space 4 N/A X N/A N/A rng randn 6 n_time n_space N/A N/A X N/A N/A N/A N/A 0 2 10 N/A N/A X N/A N/A N/A 1 N/A 3 20 N/A max_steps N/A 1 1 1 2 N/A conns N/A None N/A grid_to_graph n_time n_space N/A grid_to_graph 1 n_space N/A grid_to_graph 1 n_space N/A stat_map None N/A thresholds N/A 2 N/A dict start 1.5 step 1.0 N/A sig_counts N/A 2 5 N/A sdps N/A 0 0.05 0.05 N/A ots N/A mask mask indices N/A stat_fun N/A partial ttest_1samp_no_p sigma 0.001 N/A N/A thresh count N/A zip thresholds sig_counts N/A N/A cs None N/A ps None N/A N/A max_step conn N/A zip max_steps conns N/A N/A N/A sdp ot N/A zip sdps ots N/A N/A N/A t clusters p H0 N/A permutation_cluster_1samp_test X threshold thresh connectivity conn n_jobs 2 max_step max_step stat_fun stat_fun step_down_p sdp out_type ot N/A N/A ot mask N/A N/A N/A assert_true N/A isinstance N/A clusters N/A 0 N/A np ndarray N/A N/A assert_true N/A N/A N/A clusters N/A 0 dtype bool N/A N/A assert_array_equal N/A N/A clusters N/A 0 shape N/A N/A X shape N/A 1 N/A N/A N/A assert_true N/A isinstance N/A clusters N/A 0 tuple N/A N/A count 8 N/A N/A N/A assert_true N/A N/A N/A np any N/A H0 0 N/A inds N/A N/A N/A np where N/A p 0.05 N/A 0 N/A N/A assert_true N/A N/A len inds count N/A this_cs N/A N/A clusters N/A ii N/A ii inds N/A this_ps N/A p N/A inds N/A this_stat_map N/A N/A np zeros N/A n_time n_space dtype bool N/A N/A ci c N/A enumerate this_cs N/A N/A N/A isinstance c tuple N/A N/A this_c N/A N/A np zeros N/A n_time n_space bool N/A N/A x y N/A zip N/A c N/A 0 N/A c N/A 1 N/A N/A N/A this_stat_map N/A N/A x y True N/A N/A this_c N/A N/A x y True N/A N/A this_cs N/A ci this_c N/A c this_c N/A N/A this_stat_map N/A c True N/A N/A cs None N/A N/A ps this_ps N/A cs this_cs N/A N/A stat_map None N/A N/A stat_map this_stat_map N/A N/A assert_array_equal ps this_ps N/A N/A assert_true N/A N/A len cs N/A len this_cs N/A N/A c1 c2 N/A zip cs this_cs N/A N/A N/A assert_array_equal c1 c2 N/A N/A assert_array_equal stat_map this_stat_map N/A slow_test spatio_temporal_cluster_test_connectivity N/A N/A N/A N/A N/A Test spatio-temporal cluster permutations
     N/A N/A N/A N/A sklearn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A scikits.learn.feature_extraction.image grid_to_graph N/A N/A N/A ImportError N/A N/A N/A N/A condition1_1d condition2_1d condition1_2d condition2_2d N/A _get_conditions N/A rng N/A N/A N/A np random RandomState 0 N/A noise1_2d N/A N/A rng randn N/A N/A condition1_2d shape N/A 0 N/A N/A condition1_2d shape N/A 1 10 N/A data1_2d N/A N/A np transpose N/A N/A np dstack N/A condition1_2d noise1_2d N/A 0 2 1 N/A noise2_d2 N/A N/A rng randn N/A N/A condition2_2d shape N/A 0 N/A N/A condition2_2d shape N/A 1 10 N/A data2_2d N/A N/A np transpose N/A N/A np dstack N/A condition2_2d noise2_d2 N/A 0 2 1 N/A conn N/A grid_to_graph N/A N/A data1_2d shape N/A -1 1 N/A threshold N/A dict start 4.0 step 2 N/A N/A T_obs clusters p_values_conn hist N/A spatio_temporal_cluster_test N/A data1_2d data2_2d connectivity conn n_permutations 50 tail 1 seed 1 threshold threshold buffer_size None N/A buffer_size N/A N/A data1_2d size 10 N/A N/A T_obs clusters p_values_no_conn hist N/A spatio_temporal_cluster_test N/A data1_2d data2_2d n_permutations 50 tail 1 seed 1 threshold threshold n_jobs 2 buffer_size buffer_size N/A N/A assert_equal N/A N/A np sum N/A p_values_conn 0.05 N/A N/A np sum N/A p_values_no_conn 0.05 N/A N/A T_obs clusters p_values2 hist2 N/A spatio_temporal_cluster_test N/A data1_2d data2_2d n_permutations 50 tail 1 seed 1 threshold threshold n_jobs 2 buffer_size None N/A N/A assert_array_equal p_values_no_conn p_values2 N/A slow_test ttest_1samp N/A N/A X N/A N/A N/A Returns T-values
     N/A N/A N/A N/A stats ttest_1samp X 0 N/A 0 N/A test_summarize_clusters N/A N/A N/A N/A N/A Test cluster summary stcs
     N/A clu N/A N/A N/A N/A np random random N/A 1 20484 N/A N/A N/A N/A np array N/A 0 N/A N/A np array N/A 0 2 4 N/A N/A np array N/A 0.02 0.1 N/A N/A np array N/A 12 -14 30 N/A stc_sum N/A summarize_clusters_stc clu N/A N/A assert_true N/A N/A N/A N/A stc_sum data shape N/A 1 2 N/A N/A N/A clu N/A 2 N/A 0 0.3 N/A N/A assert_raises RuntimeError summarize_clusters_stc clu N/A N/A N/A run_tests_if_main