Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
faq:fiducial [2018/10/21 14:56] 42.49.180.224 [How should I specify the fiducials for electrode realignment?] |
faq:fiducial [2017/08/17 11:21] (current) 127.0.0.1 external edit |
||
---|---|---|---|
Line 7: | Line 7: | ||
In **[[:reference:ft_electroderealign]]** the fiducials are never obtained from the elec structure, but they always have to be explicitly specified in the cfg: | In **[[:reference:ft_electroderealign]]** the fiducials are never obtained from the elec structure, but they always have to be explicitly specified in the cfg: | ||
- | <code> | + | <code> |
fid.chanpos = [nas; lpa; rpa]; % ctf-coordinates of fiducials | fid.chanpos = [nas; lpa; rpa]; % ctf-coordinates of fiducials | ||
fid.elecpos = [nas; lpa; rpa]; % Nx3, where N includes the fiducials | fid.elecpos = [nas; lpa; rpa]; % Nx3, where N includes the fiducials | ||
Line 19: | Line 19: | ||
cfg.fiducial = {'Nz', 'LPA', 'RPA'}; % labels of fiducials in fid and in elec | cfg.fiducial = {'Nz', 'LPA', 'RPA'}; % labels of fiducials in fid and in elec | ||
elec_aligned = ft_electroderealign(cfg); | elec_aligned = ft_electroderealign(cfg); | ||
- | </code> | + | </code> |
In case fiducials are present in the elec structure, they will simply be removed at the time of forward modelling. Just like channels such as “trigger” and “EOG” are removed from the data prior to forward modelling. | In case fiducials are present in the elec structure, they will simply be removed at the time of forward modelling. Just like channels such as “trigger” and “EOG” are removed from the data prior to forward modelling. | ||
See also the FAQ about [[how_are_electrodes_magnetometers_or_gradiometers_described|how are electrodes, magnetometers or gradiometers described?]]. | See also the FAQ about [[how_are_electrodes_magnetometers_or_gradiometers_described|how are electrodes, magnetometers or gradiometers described?]]. |