Skip to content

Commit 1cd4654

Browse files
committed
No need to upsample at default frequencies, let user supply if desired
1 parent 6239c41 commit 1cd4654

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

@SplitMerge/SplitMerge.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ function saveAsSpikes(app,~)
459459
app.Settings.TreeWidth = 200;
460460
app.Settings.Colorful = true; % whether to plot different units in different colors
461461
app.Settings.ToScale = false; % whether to plot all unit waveforms to the same scale
462-
app.Settings.UpsampleRate = 4; % how much to upsample for FFT on spikes for noise detection
462+
app.Settings.UpsampleRate = 1; % how much to upsample for FFT on spikes for noise detection
463463
app.Settings.nFFT = 8192;
464464
app.Settings.DateSort = false;
465465
app.Settings.SizeSort = false;
@@ -508,7 +508,7 @@ function saveAsSpikes(app,~)
508508
% Create and configure components
509509
createComponents(app);
510510
positionComponents(app);
511-
511+
512512
app.ScaleCheck.Value = app.Settings.ToScale;
513513
app.ColorCheck.Value = app.Settings.Colorful;
514514

0 commit comments

Comments
 (0)