Consistent calculation of SNR, using maximum (not mean) of signal window, more stable!
This commit is contained in:
parent
88ddbc1efc
commit
f43478d0c0
@ -239,7 +239,7 @@ class AICPicker(AutoPicker):
|
||||
print(msg)
|
||||
return
|
||||
# calculate SNR from CF
|
||||
self.SNR = max(abs(self.Data[0].data[isignal] - np.mean(self.Data[0].data[isignal]))) / \
|
||||
self.SNR = max(abs(self.Data[0].data[isignal])) / \
|
||||
max(abs(self.Data[0].data[inoise] - np.mean(self.Data[0].data[inoise])))
|
||||
# calculate slope from CF after initial pick
|
||||
# get slope window
|
||||
|
Loading…
Reference in New Issue
Block a user