[remove] restflag (unused)

This commit is contained in:
Marcel Paffrath 2019-06-18 15:38:05 +02:00
parent f51fdd01d5
commit e6f4545058

View File

@ -622,8 +622,6 @@ def restitute_data(data, metadata, unit='VEL', force=False, ncores=0):
:return: corrected data stream
"""
restflag = list()
# data = remove_underscores(data)
# loop over traces
@ -644,11 +642,7 @@ 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, restflag
return data
def get_prefilt(trace, tlow=(0.5, 0.9), thi=(5., 2.), verbosity=0):