Skip to content

Releases: branelab/SimMEEG

SimMEEG 2.1.1

09 Nov 17:51
a9141cf
Compare
Choose a tag to compare

Bug fix
bl_calc_SNR.m - line26
accidentally used "log" instead of "log10" thus SNR values were incorrect with respect to dB
original code: SNR_dB = 20log(std(mean(data(:,act_samps,:),3),[],2)./std(mean(data(:,ctrl_samps,:),3),[],2));
new code: SNR_dB = 20
log10(std(mean(data(:,act_samps,:),3),[],2)./std(mean(data(:,ctrl_samps,:),3),[],2));