The Neurophysiological Biomarker Toolbox (NBT)



Computing Coherence creating an nbt_runBiomarker function

function nbt_runCoher(Signal, SignalInfo, SaveDir)
% compute biomarker for alpha band
Coherence8_13Hz = nbt_doCoher(Signal,SignalInfo,[8 13],[0 5]);
% save biomarker
nbt_SaveClearObject('Coherence8_13Hz',SignalInfo,SaveDir);
% compute biomarker for beta band
Coherence13_30Hz = nbt_doCoher(Signal,SignalInfo,[13 30],[0 5]);
% save biomarker
nbt_SaveClearObject('Coherence13_30Hz',SignalInfo,SaveDir);
% compute biomarker for gamma band
Coherence30_80Hz = nbt_doCoher(Signal,SignalInfo,[30 80],[0 5]);
% save biomarker
nbt_SaveClearObject('Coherence30_80Hz',SignalInfo,SaveDir);
end
tutorial/coherence/cohercode4.txt · Last modified: 2012/01/09 15:37 by Giusi Schiavone
The NBTwiki platform - version 2.8 - 9 May 2013
Copyright (C) 2008-2015