Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
example:use_independent_component_analysis_ica_to_remove_ecg_artifacts [2015/08/05 14:18]
192.87.23.66 Alligned equal signs. Ps.: I included "cfg.artfctdef.ecg.inspect = {'ECG'};" because ft_artifact_ecg had a big crash at some 'fixme' in the function. Debugging that would have take me too long, but specifying 'cfg.artfctdef.ecg.inspect' to be ECG instead of MLT (which appeared to be the default) fixed it. If you are unhappy with my edits mail me at p(dot)toffanin(at)umcg(dot)nl.
example:use_independent_component_analysis_ica_to_remove_ecg_artifacts [2017/08/17 11:21] (current)
Line 41: Line 41:
 % 1 - ECG dataset % 1 - ECG dataset
 cfg              = []; cfg              = [];
-cfg.channel ​     = {'EEG058'};+cfg.channel ​     = {'EEG'};
 ecg              = ft_selectdata(cfg,​ data); ​ ecg              = ft_selectdata(cfg,​ data); ​
 ecg.label{:​} ​    = '​ECG';​ % for clarity and consistency rename the label of the ECG channel ecg.label{:​} ​    = '​ECG';​ % for clarity and consistency rename the label of the ECG channel