Cosmetics

This commit is contained in:
Ludger Küperkoch 2018-06-25 15:59:52 +02:00
parent 3845e7291e
commit 8487d696c6

View File

@ -300,7 +300,6 @@ class AICPicker(AutoPicker):
datafit = np.polyval(P, xslope) datafit = np.polyval(P, xslope)
if datafit[0] >= datafit[-1]: if datafit[0] >= datafit[-1]:
print('AICPicker: Negative slope, bad onset skipped!') print('AICPicker: Negative slope, bad onset skipped!')
#return
else: else:
self.slope = 1 / (len(dataslope) * self.Data[0].stats.delta) * (datafit[-1] - datafit[0]) self.slope = 1 / (len(dataslope) * self.Data[0].stats.delta) * (datafit[-1] - datafit[0])