MICA-MNI / BrainStat

A statistics and context decoding toolbox for neuroimaging.
https://brainstat.readthedocs.io
Other
93 stars 22 forks source link

[ENH] Optimisation of finding peaks and clusters #268

Closed lassemadsen closed 2 years ago

lassemadsen commented 2 years ago

Significantly faster way of finding cluster ids - especially when a large number of vertices are above thresh.

ReinderVosDeWael commented 2 years ago

Wow, that's a LOT faster. Thanks! There's a minor issue with the CI, so I took the liberty to make a new branch (see #269) and take care of those. Let me know there whether you think those modifications are appropriate and I'll merge it into our development branch to be included with the next release.

ReinderVosDeWael commented 2 years ago

Actually, just to keep the git history organized, I made the PR to your master instead.