tierneytim / OPM

Tools for OPM processing using SPM
GNU General Public License v2.0
17 stars 7 forks source link

ICA for SPM #4

Closed neurofractal closed 1 year ago

neurofractal commented 2 years ago

Let's get some ICA working for SPM:

Example Fieldtrip Code for OPMs

https://gist.github.com/neurofractal/146823ec8c9105a7287ad3bb8b5babc1

Currently finding it best to provide a TAN-only layout for easier interpretation of components

fastica

runica

Plotting

For simple plotting of independent components:

cfg.viewmode = 'component';
ft_databrowser(cfg, comp)

For fancier plotting see: i) ft_icabrowser (though I found this buggy) ii) Rob's tutorial script 2 for custom code

neurofractal commented 2 years ago

CC @RCTimms

neurofractal commented 2 years ago

https://github.com/OHBA-analysis/osl-core/blob/master/africa/osl_africa.m

tierneytim commented 1 year ago

First implementation done