this is for holding javascript data
Antti Rantala edited The_following_script_was_used__.tex
about 8 years ago
Commit id: 95c3ffc23155dd9589cdd88ebd2678b757d71c76
deletions | additions
diff --git a/The_following_script_was_used__.tex b/The_following_script_was_used__.tex
index ad700a2..fa96e24 100644
--- a/The_following_script_was_used__.tex
+++ b/The_following_script_was_used__.tex
...
TFRS = TFRS / epochs.ns_ep;
%%
plotTFR(freqVec,timeVec,permute(TFRS,[2 1 3]),'layout','NM306planar.lay','labels','on',...
'ylimits', [3,20],
'zlimits',[0 0.2373e-23]) 'baseline', [-0.3 0])
%% Plot single channel
figure();
channel = 'MEG2043';
TFRtmp = TFRbaseline(timeVec,freqVec,permute(TFRS,[2 1 3]),[-0.3 0]);
imagesc(timeVec, freqVec,
TFRS(:,:,ismember(epochs.chan_names, channel))',[0 0.2373e-23]) TFRtmp(:,:,ismember(epochs.chan_names, channel)))
set(gca,'YDir','normal')
xlabel('Time [s]'); ylabel('Frequency [Hz]'); title(channel);
colorbar();