diff --git a/pylot/core/io/phases.py b/pylot/core/io/phases.py index 54a42030..2355be13 100644 --- a/pylot/core/io/phases.py +++ b/pylot/core/io/phases.py @@ -879,7 +879,7 @@ def getQualitiesfromxml(xmlnames, ErrorsP, ErrorsS, plotflag=1): Ludger Küperkoch, BESTEC GmbH, 07/2017 """ - from pylot.core.pick.utils import getQualityfromUncertainty + from pylot.core.pick.utils import getQualityFromUncertainty from pylot.core.util.utils import loopIdentifyPhase, identifyPhase # read all onset weights @@ -927,7 +927,7 @@ def getQualitiesfromxml(xmlnames, ErrorsP, ErrorsS, plotflag=1): for Pick in arrivals_copy: phase = identifyPhase(loopIdentifyPhase(Pick.phase_hint))) if phase == 'P': - Pqual = getQualitiesfromxml(Pick.time_errors.uncertainty, ErrorsP) + Pqual = getQualityFromUncertainty(Pick.time_errors.uncertainty, ErrorsP) if Pqual == 0: Pw0.append(Pick.time_errors.uncertainty) elif Pqual == 1: @@ -939,7 +939,7 @@ def getQualitiesfromxml(xmlnames, ErrorsP, ErrorsS, plotflag=1): elif Pqual == 4 Pw4.append(Pick.time_errors.uncertainty) elif phase == 'S': - Squal = getQualitiesfromxml(Pick.time_errors.uncertainty, ErrorsS) + Squal = getQualityFromUncertainty(Pick.time_errors.uncertainty, ErrorsS) if Squal == 0: Sw0.append(Pick.time_errors.uncertainty) elif Squal == 1: