-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
I'm trying to do ICA denoising on my EEG data using OSL's AFRICA. I'm following the preprocessing commands from the online practical:
https://ohba-analysis.github.io/osl-docs/matlab/osl_example_preprocessing_manual.html#39
The relevant command from this practical is:
D = osl_africa(D,'used_maxfilter',1,'do_ident','manual');
The equivalent command that I'm using for my data is:
D = osl_africa(D,'modality','EEG','do_ident','manual');
When I run this, the script gets as far as "Precomputing sensor topographies for modality EEG", then gives the following error messages:
Warning: EEG not currently supported, using development EEG layout
In component_topoplot (line 40)
In osl_africa (line 59)
Error using ft_read_sens (line 68)
file '/Users/lukebaxter/Documents/MATLAB/osl/layouts/EEG60.mat' does not exist
Error in ft_prepare_layout (line 409)
layout = sens2lay(ft_read_sens(cfg.layout), cfg.rotate, cfg.projection, cfg.style, cfg.overlap);
Error in ft_prepare_layout (line 402)
layout = ft_prepare_layout(cfg);
Error in ft_topoplotIC (line 137)
cfg.layout = ft_prepare_layout(cfg, comp);
Error in component_topoplot (line 64)
[~] = evalc('ft_topoplotIC(cfg,data);');
Error in osl_africa (line 59)
topos = [topos component_topoplot(D,D.ica.sm,D.ica.modalities(m))];
It appears to be looking for a layout file (EEG60.mat) that didn't come with the OSL download. Is it possible to get this file? Or alternatively, can I make a bespoke layout file for my data? I would need info on how exactly to make one though. I'm working nearby OHBA, so can call in with data and laptop if necessary.
Thanks,
Luke.