Back to the main page.

Bug 3473 - Extent ft_prepare_mesh to create individualised meshes on the basis of templates and measurements

Status ASSIGNED
Reported 2019-02-13 17:26:00 +0100
Modified 2019-04-01 09:56:05 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to: Simon
URL:
Tags:
Depends on:
Blocks:
See also:

Simon - 2019-02-13 17:26:49 +0100

As discussed with Robert, extend the functionality of ft_prepare mesh, with a script which look like this: polhemus = ft_read_headshape(filename); template = ft_read_vol(template.mat) %% % for MEG, polhemus is in MEG coordinates, template is not relevant cfg.template.headshape = polhemus cfg.individual.headmodel = template % for EEG, polhemus can be arbitrary, template is well-behaved cfg.template.headmodel = template cfg.individual.headshape = polhemus [cfg] = ft_interactiverealign(cfg) % or ft_meshrealign %% cfg = []; cfg.headshape = polhemus; cfg.method = ‘fittemplate’; fitted = ft_prepare_mesh(cfg, template)


Robert Oostenveld - 2019-04-01 09:55:56 +0200

For reference, https://github.com/fieldtrip/website/pull/92 relates to this.


Robert Oostenveld - 2019-04-01 09:56:05 +0200

mac011> git commit -a [master ca4b4bf70] renamed failing test script, Simon is still working on it. See also https://github.com/fieldtrip/website/pull/92 1 file changed, 0 insertions(+), 0 deletions(-) rename test/{test_bug3473.m => failed_bug3473.m} (100%)