Skip to content
Snippets Groups Projects
Commit 8071d19e authored by LeCam Steven's avatar LeCam Steven
Browse files

Affichage après seuillage haut

parent 6783e34b
Branches main
No related tags found
No related merge requests found
......@@ -51,14 +51,7 @@ if sum(xb_spkband(ideltas)>0)<50
ideltas(xb_spkband(ideltas)>0)=[];
end
if display
figure, plot(xb_spkband); hold,
plot(ideltas,xb_spkband(ideltas),'r*');
title('Filtered data with detected spikes as *')
figure, plot(xb); hold,
plot(ideltas,xb(ideltas),'r*');
title('Raw data with detected spikes as *')
end
%%
%extract spike waveforms
......@@ -92,6 +85,15 @@ paramVBDS.ideltas=ideltas;
if display
figure, plot(spkband')
title('Superimposed extracted spike waveforms (from filtered data)')
figure, plot(xb_spkband); hold,
plot(ideltas,xb_spkband(ideltas),'r*');
title('Filtered data with detected spikes as *')
figure, plot(xb); hold,
plot(ideltas,xb(ideltas),'r*');
title('Raw data with detected spikes as *')
end
if verb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment