Back to the main page.

Bug 3302 - Dipole fitting of combined MEG/EEG data Tutorial needs some corrections

Status ASSIGNED
Reported 2017-06-06 16:47:00 +0200
Modified 2017-06-13 15:32:28 +0200
Product: FieldTrip
Component: documentation
Version: unspecified
Hardware: PC
Operating System: Windows
Importance: P5 normal
Assigned to:
URL:
Tags:
Depends on:
Blocks:
See also: http://bugzilla.fieldtriptoolbox.org/show_bug.cgi?id=3303

- 2017-06-06 16:47:36 +0200

Paragraph: Coregister the anatomical MRI to the MEG coordinate system cfg = []; cfg.method = 'interactive'; cfg.coordsys = 'neuromag'; [mri_realigned1] = ft_volumerealign(cfg, mri_orig); leads to the error: Error using ft_volumeralign (line 267) you should specify the desired head coordinate system in cfg.coordsys


Robert Oostenveld - 2017-06-07 09:17:45 +0200

I suppose this relates to http://www.fieldtriptoolbox.org/tutorial/natmeg/dipolefitting


Robert Oostenveld - 2017-06-07 09:23:51 +0200

Hi Jonny There are test scripts in fieldtrip/test for - test_tutorial_natmeg_preprocessing - test_tutorial_natmeg_statistics - test_tutorial_natmeg_timefrequency but not for the dipole fitting tutorial. Could you make a similar test script named "test_tutorial_natmeg_dipolefitting" that contains the (current!) code of said tutorial page? Such a test script can be checked against the code and discrepancies between the FT code and tutorial can be more easily detected. On the basis of failures of that test script, either wiki or code can be improved. If you are familiar with git, please use http://www.fieldtriptoolbox.org/development/git and submit it as pull request. If you are not familiar, please attach it here.


Robert Oostenveld - 2017-06-07 09:25:14 +0200

once you have created the test script, I will run it (with a local copy of the data) and look into the discrepancies and/or errors


- 2017-06-13 15:31:37 +0200

Created attachment 843 test_tutorial_natmeg_dipolefitting


- 2017-06-13 15:32:28 +0200

Hi Robert, we made a similar script and attached it here. We hope it is okay and you can use it.