[change] islope calculation with 2 samples
This commit is contained in:
parent
e0e0be48c7
commit
bdcb0ba649
@ -250,7 +250,7 @@ class AICPicker(AutoPicker):
|
|||||||
return
|
return
|
||||||
imax = np.argmax(dataslope)
|
imax = np.argmax(dataslope)
|
||||||
iislope = islope[0][0:imax+1]
|
iislope = islope[0][0:imax+1]
|
||||||
if len(iislope) <= 2:
|
if len(iislope) < 2:
|
||||||
# calculate slope from initial onset to maximum of AIC function
|
# calculate slope from initial onset to maximum of AIC function
|
||||||
print("AICPicker: Not enough data samples left for slope calculation!")
|
print("AICPicker: Not enough data samples left for slope calculation!")
|
||||||
print("Calculating slope from initial onset to maximum of AIC function ...")
|
print("Calculating slope from initial onset to maximum of AIC function ...")
|
||||||
|
Loading…
Reference in New Issue
Block a user