From 04e28943d5ca3e7e22e9158855dca2f450340853 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Mon, 8 Dec 2014 08:53:58 +0100 Subject: [PATCH] remove variables which are attributes of classes --- pylot/core/pick/run_makeCF.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/pick/run_makeCF.py b/pylot/core/pick/run_makeCF.py index 8d6d6aab..16cfbd93 100755 --- a/pylot/core/pick/run_makeCF.py +++ b/pylot/core/pick/run_makeCF.py @@ -58,8 +58,8 @@ def run_makeCF(project, database, event, iplot, station=None): ############################################################## #calculate HOS-CF using subclass HOScf of class CharacteristicFunction hoscf = HOScf(st_copy, cuttimes, t2, p) #instance of HOScf - #get corresponding time array - thoscf = np.arange(0, len(hoscf.getCF()) / tr_filt.stats.sampling_rate, tr_filt.stats.delta) + cuttimes[0] + #get corresponding time array -> unnecessary because implemented in CharacteristicFunction + # thoscf = np.arange(0, len(hoscf.getCF()) / tr_filt.stats.sampling_rate, tr_filt.stats.delta) + cuttimes[0] ############################################################## #get onset time from HOS-CF using class Picker #hospick = PragPicker(hoscf.getCF(), thoscf, 2, 70, [1, 0.5, 0.2], 2, 0.001, 0.2)