From d8acfaf71f5f60141adc3a078e7800a5b35a83c0 Mon Sep 17 00:00:00 2001 From: Ryan Harvey Date: Thu, 31 Oct 2024 11:33:09 -0400 Subject: [PATCH] removeNoise to false, lfp gpu false 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 --- preProcessing/preprocessSession.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preProcessing/preprocessSession.m b/preProcessing/preprocessSession.m index dca134a..10117d7 100644 --- a/preProcessing/preprocessSession.m +++ b/preProcessing/preprocessSession.m @@ -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) @@ -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