[FieldTrip] Transforming freesurfer generated sourcemodel to CTF space

McColgan, Peter p.mccolgan at ucl.ac.uk
Fri May 1 14:22:02 CEST 2020

Dear Experts,

I am creating a sourcemodel using the output from the ft_postfreesurfer.sh script using the following:

%% Create source model
datapath = fullfile(data_dir.folder,'/raw/','workbench');
filename = fullfile(datapath,'raw.L.midthickness.8k_fs_LR.surf.gii');
sourcemodel = ft_read_headshape({filename, strrep(filename, '.L.', '.R.')});

I then want to transform the sourcemodel into my the space the CTF space to align with my headmodel.

Could anyone advise on the best way to generate this transform?

Thanks in advance.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20200501/0bd001c4/attachment.htm>

More information about the fieldtrip mailing list