Skip to content

Commit

Permalink
Script: tutorial_ephys, close unused figures
Browse files Browse the repository at this point in the history
  • Loading branch information
rcassani committed Sep 23, 2024
1 parent c646168 commit c8f4c02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion toolbox/script/tutorial_ephys.m
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ function tutorial_ephys(tutorial_dir)
hFig = view_surface(CortexFile{1}, 0.8, [1 0 0], hFig);
figure_3d('SetStandardView', hFig, 'right');
bst_report('Snapshot', hFig, [], 'Anatomy');
close(hFig);
% Unload everything
bst_memory('UnloadAll', 'Forced');


%% ===== SPIKE SORTING =====
Expand Down Expand Up @@ -176,6 +177,7 @@ function tutorial_ephys(tutorial_dir)
'eventsel', {'Stim On 1', 'Stim On 2', 'Stim On 3', 'Stim On 4', 'Stim On 5', 'Stim On 6', 'Stim On 7', 'Stim On 8', 'Stim On 9'}, ...
'spikesel', {'Spikes Channel AD06', 'Spikes Channel AD08 |1|'}, ...
'timewindow', [0.05, 0.12]);
close(findobj('Type','figure'));


%% ===== NOISE CORRELATION =====
Expand Down

0 comments on commit c8f4c02

Please sign in to comment.