From 6caa3ee9ce40b4afcd7b750702d126ff124a5754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 19 Jun 2019 17:32:57 +0200 Subject: [PATCH] Additional screen output. --- pylot/core/analysis/magnitude.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pylot/core/analysis/magnitude.py b/pylot/core/analysis/magnitude.py index cc45a977..1d0d1235 100644 --- a/pylot/core/analysis/magnitude.py +++ b/pylot/core/analysis/magnitude.py @@ -314,6 +314,10 @@ class LocalMagnitude(Magnitude): + self.wascaling[0] * np.log10(delta) + self.wascaling[1] * delta + self.wascaling[ 2]) + if self.verbose: + print( + "Local Magnitude for station {0}: ML = {1:3.1f}".format( + station, magnitude.mag)) magnitude.origin_id = self.origin_id magnitude.waveform_id = pick.waveform_id magnitude.amplitude_id = amplitude.resource_id