mmagnuski / borsar

Various tools for EEG/MEG data analysis.
https://mmagnuski.github.io/borsar.github.io/index.html
BSD 3-Clause "New" or "Revised" License
8 stars 1 forks source link

1d clustering, allow thresholds defined with permutation tests (permutation ttest for example) #95

Closed mmagnuski closed 2 years ago

mmagnuski commented 2 years ago

Adds 1d clustering function (only for adjacency=None now) and allows _find_clusters_borsar to get a list of thresholds ([pos_threshold, neg_threshold], this is useful for efficient permutation ttest as stat_fun).

mmagnuski commented 2 years ago

this will have to be tested soon, but I need it merged now.