Re-implemented magnitude calculation within manual picking/location, yet on-going work

This commit is contained in:
Ludger Küperkoch committed 2019-06-04 12:29:53 +02:00
1 parent 102b7eafe3
commit bb313f0f49
3 files changed
+25 -18

No files matched your search

+5 -5
View File
@@ -644,11 +644,11 @@ def restitute_data(data, metadata, unit='VEL', force=False, ncores=0):
# better try restitution for smaller subsets of data (e.g. station by
# station)
# if len(restflag) > 0:
# restflag = bool(np.all(restflag))
# else:
# restflag = False
return data
if len(restflag) > 0:
restflag = bool(np.all(restflag))
else:
restflag = False
return data, restflag
def get_prefilt(trace, tlow=(0.5, 0.9), thi=(5., 2.), verbosity=0):