[update] autopicker - obspyDMT (WIP)
This commit is contained in:
@@ -283,6 +283,8 @@ def autopickstation(wfstream, pickparam, verbose=False,
|
||||
if use_taup is True:
|
||||
Lc = np.inf
|
||||
print('autopickstation: use_taup flag active.')
|
||||
if not metadata:
|
||||
metadata = [None, None]
|
||||
if not metadata[1]:
|
||||
print('Warning: Could not use TauPy to estimate onsets as there are no metadata given.')
|
||||
else:
|
||||
|
||||
@@ -78,7 +78,7 @@ class CharacteristicFunction(object):
|
||||
return self.cut
|
||||
|
||||
def setCut(self, cut):
|
||||
self.cut = cut
|
||||
self.cut = (int(cut[0]), int(cut[1]))
|
||||
|
||||
def getTime1(self):
|
||||
return self.t1
|
||||
|
||||
Reference in New Issue
Block a user