Skip to content

Commit

Permalink
updated test scripts for name change in natmeg EEG layout
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoostenveld committed Feb 18, 2019
1 parent a4f325d commit 427dbe9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions test/failed_tutorial_natmeg_dipolefitting.m
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@
clear data_eeg_reref

cfg = [];
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
ft_multiplotER(cfg, timelock_eeg_std, timelock_eeg_dev);

cfg = [];
Expand All @@ -513,7 +513,7 @@
timelock_eeg_dif = ft_math(cfg, timelock_eeg_dev, timelock_eeg_std);

cfg = [];
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
ft_multiplotER(cfg, timelock_eeg_dif);

cfg = [];
Expand Down
10 changes: 5 additions & 5 deletions test/test_tutorial_natmeg_preprocessing.m
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@
% skip the interactive section
cfg = [];
cfg.metric = 'zvalue';
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
data_EEG_clean = ft_rejectvisual(cfg,data_EEG);
else
% simply copy the data over
Expand All @@ -251,7 +251,7 @@

cfg = [];
cfg.fontsize = 6;
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
cfg.ylim = [-3e-6 3e-6];
cfg.xlim = [-0.2 0.6];

Expand All @@ -261,7 +261,7 @@
cfg = [];
cfg.showlabels = 'yes';
cfg.fontsize = 6;
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
cfg.xlim = [-0.2 0.6];
cfg.ylim = [-8e-6 8e-6];
cfg.channel = 'EEG020';
Expand All @@ -272,7 +272,7 @@

% Topo
cfg = [];
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';
cfg.zlim = [-3e-6 3e-6];
cfg.xlim = [0.08 0.15];
cfg.style = 'straight';
Expand Down Expand Up @@ -305,7 +305,7 @@
scd_ERP_diff = ft_scalpcurrentdensity(cfg, ERP_diff);

cfg = [];
cfg.layout = 'neuromag306eeg1005_natmeg.lay'; % name will change
cfg.layout = 'natmeg_customized_eeg1005.lay'; % name will change
cfg.zlim = 'maxabs';
cfg.xlim = [0.08 0.15];
cfg.style = 'straight';
Expand Down
6 changes: 3 additions & 3 deletions test/test_tutorial_natmeg_timefrequency.m
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
cfg.zlim = [-4e-12 4e-12];
cfg.ylim = [15 25];
cfg.marker = 'on';
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';

figure;
ft_topoplotTFR(cfg, TFR_left_EEG);
Expand All @@ -222,7 +222,7 @@
cfg.ylim = [15 25];
cfg.xlim = [0.5 1.0];
cfg.zlim = [-1.2 1.2];
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';

figure;
ft_topoplotTFR(cfg, TFR_left_EEG);
Expand All @@ -244,7 +244,7 @@
cfg.ylim = [15 25];
cfg.zlim = [-0.2 0.2];
cfg.marker = 'on';
cfg.layout = 'neuromag306eeg1005_natmeg.lay';
cfg.layout = 'natmeg_customized_eeg1005.lay';

figure;
ft_topoplotTFR(cfg, TFR_diff_EEG);
Expand Down

0 comments on commit 427dbe9

Please sign in to comment.