cortex-lab / Suite2P

Tools for processing 2P recordings
Other
122 stars 66 forks source link

Minor: ops.sameKernel set 2x in a row. #127

Closed bradmonk closed 6 years ago

bradmonk commented 6 years ago

Potential typo (inconsequential, but for good housekeeping). The option ops.sameKernel is set 2x in a row...

    % set up options for deconvolution
    ops.imageRate    = getOr(ops0, {'imageRate'}, 30);
    ops.sensorTau    = getOr(ops0, {'sensorTau'}, 2); 
    ops.sameKernel   = getOr(ops0, {'sameKernel'}, 1); 
    ops.sameKernel   = getOr(ops0, {'sameKernel'}, 1);
    ops.maxNeurop    = getOr(ops0, {'maxNeurop'}, Inf);
    ops.recomputeKernel    = getOr(ops0, {'recomputeKernel'}, 0);    
    ops.deconvNeuropil = getOr(ops0, {'deconvNeuropil'}, 0); 

https://github.com/cortex-lab/Suite2P/blob/9f22f23438f131c3a8d335a65e4a7ec93dc4dec2/SpikeDetection/add_deconvolution.m#L48