From e6f454505868ae5e320a323b17c0f5ac9ae33013 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 18 Jun 2019 15:38:05 +0200 Subject: [PATCH] [remove] restflag (unused) --- pylot/core/util/dataprocessing.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/pylot/core/util/dataprocessing.py b/pylot/core/util/dataprocessing.py index 74521975..f2ded63a 100644 --- a/pylot/core/util/dataprocessing.py +++ b/pylot/core/util/dataprocessing.py @@ -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):