clear all;
fid = 'vivy21369F_10-12DIV_WaveletSort';
drug = 'CNQX';
binsize = 3*3600;

load([fid '.SS'],'-mat');

SS.ASDR(binsize,[ceil(min(SS.time)/binsize)*binsize floor(max(SS.time)/binsize)*binsize]);
SS.PlotUSDR([],1,[ceil(min(SS.time)/binsize)*binsize floor(max(SS.time)/binsize)*binsize]);
set(gca,'XTick',[-36:4:36]*3600/SS.asdr.dt,'XTickLabel',[-36:4:36],'TickDir','out')
xlim([-24 32]*3600/SS.asdr.dt)
xlabel('Time (hours)')
box off;
title([fid ' (' drug ')'],'Interpreter','none');

% export_fig([fid '_USDR-max3Hz_bin' num2str(binsize) 's_' drug],'-png','-transparent',gcf)