Merge remote-tracking branch 'origin/feature/refactor' into feature/refactor

This commit is contained in:
Darius Arnold 2017-11-15 11:36:14 +01:00
commit fc3a825e73

View File

@ -235,7 +235,9 @@ class AICPicker(AutoPicker):
if self.Pick is not None:
self.Data[0].data = check_counts_ms(self.Data[0].data)
# calculate SNR from CF
self.SNR = getSNR(self.Data, self.TSNR, self.Pick)[0] # TODO Check wether this yields similar results
# subtract beginning of Tcf to get sample index in self.Data, which
# is cut out off trace
self.SNR = getSNR(self.Data, self.TSNR, self.Pick-self.Tcf[0])[0] # TODO Check wether this yields similar results
# calculate slope from CF after initial pick
try:
self.slope, iislope, datafit = calcSlope(self.Data, self.aicsmooth, self.Tcf, self.Pick, self.TSNR)