From c73435dec3c655577b892fac6446df50843d4428 Mon Sep 17 00:00:00 2001 From: Sebastianw Wehling-Benatelli Date: Tue, 20 Sep 2016 09:54:14 +0200 Subject: [PATCH] [fix] do not calculate moment magnitude for S phases --- QtPyLoT.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/QtPyLoT.py b/QtPyLoT.py index 1ff21462..d946de14 100755 --- a/QtPyLoT.py +++ b/QtPyLoT.py @@ -988,6 +988,8 @@ class MainWindow(QMainWindow): settings.setValue("inventoryFile", fninv) settings.sync() for a in o.arrivals: + if a.phase in 'sS': + continue pick = a.pick_id.get_referred_object() station = pick.waveform_id.station_code wf = self.get_data().getWFData().select(station=station)