File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,16 @@ function ks2_5_compiled(fpath)
1313
1414 % NEW STEP TO DO DATA REGISTRATION
1515 if isfield(ops , ' do_correction' )
16- fprintf(" Drift correction ENABLED" )
1716 do_correction = ops .do_correction ;
1817 else
1918 do_correction = 1 ;
2019 end
20+
21+ if do_correction
22+ fprintf(" Drift correction ENABLED\n" );
23+ else
24+ fprintf(" Drift correction DISABLED\n" );
25+ end
2126 rez = datashift2(rez , do_correction ); % last input is for shifting data
2227
2328 % ORDER OF BATCHES IS NOW RANDOM, controlled by random number generator
Original file line number Diff line number Diff line change @@ -13,11 +13,16 @@ function ks3_compiled(fpath)
1313
1414 % run data registration
1515 if isfield(ops , ' do_correction' )
16- fprintf(" Drift correction ENABLED" )
1716 do_correction = ops .do_correction ;
1817 else
1918 do_correction = 1 ;
2019 end
20+
21+ if do_correction
22+ fprintf(" Drift correction ENABLED\n" );
23+ else
24+ fprintf(" Drift correction DISABLED\n" );
25+ end
2126 rez = datashift2(rez , do_correction ); % last input is for shifting data
2227
2328 [rez , st3 , tF ] = extract_spikes(rez );
You can’t perform that action at this time.
0 commit comments