remove variables which are attributes of classes

This commit is contained in:
Sebastian Wehling-Benatelli 2014-12-08 08:53:58 +01:00
parent 32eee12f25
commit 4bb75d17fb
2 changed files with 2 additions and 8 deletions

View File

@ -28,12 +28,6 @@ class AutoPicking(object):
:param: cf, characteristic function, on which the picking algorithm is applied :param: cf, characteristic function, on which the picking algorithm is applied
:type: `~pylot.core.pick.CharFuns.CharacteristicFunction` object :type: `~pylot.core.pick.CharFuns.CharacteristicFunction` object
:param: Tcf, corresponding time array
:type: array
:param: dt, sampling interval [s]
:type: float
:param: Tslope, length of time window after pick used to determine slope :param: Tslope, length of time window after pick used to determine slope
for quality estimation [s] for quality estimation [s]
:type: float :type: float

View File

@ -58,8 +58,8 @@ def run_makeCF(project, database, event, iplot, station=None):
############################################################## ##############################################################
#calculate HOS-CF using subclass HOScf of class CharacteristicFunction #calculate HOS-CF using subclass HOScf of class CharacteristicFunction
hoscf = HOScf(st_copy, cuttimes, t2, p) #instance of HOScf hoscf = HOScf(st_copy, cuttimes, t2, p) #instance of HOScf
#get corresponding time array #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] # 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 #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) #hospick = PragPicker(hoscf.getCF(), thoscf, 2, 70, [1, 0.5, 0.2], 2, 0.001, 0.2)