Removed former changes, made it worse!

This commit is contained in:
Ludger Küperkoch 2017-05-31 12:21:40 +02:00
parent c540cd0f81
commit 33e34ef194

View File

@ -242,13 +242,6 @@ class AICPicker(AutoPicker):
return
islope = islope[0][0:imax]
if len(islope) < 2:
# get local maximum of AIC function to calculate properly slope
islope = np.where((self.Tcf <= min([self.Pick + tslope, len(self.Data[0].data)])) \
& (self.Tcf >= self.Pick))
imax = np.argmax(aicsmooth[islope])
islope = islope[0][0:imax]
dataslope = self.Data[0].data[islope]
# calculate slope as polynomal fit of order 1
xslope = np.arange(0, len(dataslope), 1)