fidlist = {'smellyI2643_TTX_5Hz-0V_salpa_fixedRMS','smellyI2643_TTX_5Hz-0V_fixedRMS',...
    'smellyI2643_TTX_5Hz-0V_salpa','smellyI2643_TTX_5Hz-5V'};

for i = 1:4
    x = loadspike([fidlist{i} '.spk']);
    c = x.channel;
    n_badspk = length(find(c==1 | c==8 | c==25 | c==33 | c==57 | c==64));
    n{i} = length(c) - n_badspk;
end

% n{1}; % falsely detected spikes w/ SALPA
% n{2}; % falsely detected spikes w/o SALPA
% n{3}; % total detected spikes w/ SALPA before adding TTX
% n{4}; % total detected spikes w/o SALPA before adding TTX
% n{5}; % total detected spikes w/ SALPA after wash
% n{6}; % total detected spikes w/o SALPA after wash

dDR_TTX = (n{2}-n{1})/n{2}
dDR_pre = (n{4}-n{3})/n{4}
%dDR_post = (n{6}-n{5})/n{6}

