Skip to content

Commit

Permalink
revert gSiz default value
Browse files Browse the repository at this point in the history
  • Loading branch information
epnev committed Aug 21, 2019
1 parent f353fda commit ee6de84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caiman/source_extraction/cnmf/params.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def __init__(self, fnames=None, dims=None, dxy=(1, 1),
if self.init['gSig'] is None:
self.init['gSig'] = [-1, -1]
if self.init['gSiz'] is None:
self.init['gSiz'] = [2*gs + 3 for gs in self.init['gSig']]
self.init['gSiz'] = [2*gs + 1 for gs in self.init['gSig']]
self.init['gSiz'] = [gz if gz % 2 else gz + 1 for gz in self.init['gSiz']]

if gnb <= 0:
Expand Down

0 comments on commit ee6de84

Please sign in to comment.