You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: make out_type default to 'indices' for permutation tests #7779
Permutation tests may crash when datasets are large (50 time points, oct6, 13 subjects in my case). mne.stats.permutation_cluster_1samp_test with out_type='mask' caused memory overflow and the process was killed on a machine with 64GB RAM and 16GB swap. With out_type='indices', the process only used about 4GB RAM.
Since out_type is default to 'indices' for mne.stats.spatio_temporal_cluster_1samp_test and mne.stats.spatio_temporal_cluster_test, it would be nice that out_type in mne.stats.permutation_cluster_1samp_test, mne.stats.permutation_cluster_test also defaults to 'indices' to prevent the memory error.
+1 for this proposal. Another reason: just yesterday I noticed that the default results of permutation_cluster_test are not compatible with summarize_clusters_stc because it requires out_type='indices' in order to work.
Activity
drammock commentedon May 13, 2020
+1 for this proposal. Another reason: just yesterday I noticed that the default results of
permutation_cluster_testare not compatible withsummarize_clusters_stcbecause it requiresout_type='indices'in order to work.larsoner commentedon May 13, 2020
I can live with a deprecation cycle to get
out_typeto be consistent across these functionsagramfort commentedon May 13, 2020
change out_type default; closes mne-tools#7779