Back to the main page.

Bug 844 - if cfg.montage is specified in ft_preprocessing, it is only applied to the data

Reported 2011-07-25 11:19:00 +0200
Modified 2011-08-31 14:49:26 +0200
Product: FieldTrip
Component: core
Version: unspecified
Hardware: PC
Operating System: Mac OS
Importance: P1 normal
Assigned to: Jan-Mathijs Schoffelen
Depends on:
See also:

Jan-Mathijs Schoffelen - 2011-07-25 11:19:10 +0200

...and not to the .elec / .grad

Jan-Mathijs Schoffelen - 2011-07-28 09:05:20 +0200

In the function documentation it is stated that montage should be only applied to eeg. Yet, it is convenient to have functionality to also apply it to MEG-data. As such, the function does not prohibit it. I suggest to change the functionality, in that the montage is also applied to the grad-structure in the presence of data in the input.