Skip to content

Commit 6d0c262

Browse files
authored
deconvolution.py: Fix a dumb goof
1 parent cc602bd commit 6d0c262

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

caiman/source_extraction/cnmf/deconvolution.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,7 @@ def GetSn(fluor, range_ff=[0.25, 0.5], method='logmexp'):
10481048
return np.sqrt(np.median(Pxx_ind / 2))
10491049
elif method == 'logmexp':
10501050
return np.sqrt(np.exp(np.mean(np.log(Pxx_ind / 2))))
1051-
else
1051+
else:
10521052
raise Exception('Invalid method requested for GetSn')
10531053

10541054
def axcov(data, maxlag=5):

0 commit comments

Comments
 (0)