Skip to content

Commit

Permalink
removeNoise to false, lfp gpu false
Browse files Browse the repository at this point in the history
removeNoise has been reported to cause a lot of issues so setting to false until it can be fully tested. Also, lfp gpu false was faster than true in testing so turning false
  • Loading branch information
ryanharvey1 committed Oct 31, 2024
1 parent 5a0f74b commit d8acfaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions preProcessing/preprocessSession.m
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function preprocessSession(varargin)
addParameter(p,'spikeSort',true,@islogical);
addParameter(p,'cleanRez',true,@islogical);
addParameter(p,'getPos',false,@islogical);
addParameter(p,'removeNoise',true,@islogical); % denoising method removing the first PCA component
addParameter(p,'removeNoise',false,@islogical); % denoising method removing the first PCA component
addParameter(p,'runSummary',false,@islogical);
addParameter(p,'SSD_path','D:\KiloSort',@ischar) % Path to SSD disk. Make it empty to disable SSD
addParameter(p,'path_to_dlc_bat_file','',@isfile)
Expand Down Expand Up @@ -197,7 +197,7 @@ function preprocessSession(varargin)
%% Make LFP
try
try
LFPfromDat(basepath,'outFs',1250,'useGPU',true);
LFPfromDat(basepath,'outFs',1250,'useGPU',false);
catch
if (exist([basepath '\' basename '.lfp'])~=0)
fclose([basepath '\' basename '.lfp']); %if the above run failed after starting the file
Expand Down

0 comments on commit d8acfaf

Please sign in to comment.