From f28ee2bb59b0cb00d4881796e15aacec0ad0972c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Mon, 28 Oct 2019 16:41:48 +0100 Subject: [PATCH] New default parameters (min-, max-values) for magnitude scaling. --- pylot/core/io/default_parameters.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pylot/core/io/default_parameters.py b/pylot/core/io/default_parameters.py index 026c69c2..de23471b 100644 --- a/pylot/core/io/default_parameters.py +++ b/pylot/core/io/default_parameters.py @@ -466,7 +466,7 @@ defaults = {'rootpath': {'type': str, 'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm] \ If zeros are set, original Richter magnitude is calculated!', 'value': (0., 0., 0.), - 'min': (0., 0., 0.), + 'min': (-np.inf, -np.inf, -np.inf), 'max': (np.inf, np.inf, np.inf), 'namestring': ('Wood-Anderson scaling', '', '', '')}, @@ -474,7 +474,7 @@ defaults = {'rootpath': {'type': str, 'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]. \ If zeros are set, no scaling of network magnitude is applied!', 'value': (0., 0.), - 'min': (0., 0.), + 'min': (0., -np.inf), 'max': (np.inf, np.inf), 'namestring': ('Local mag. scaling', '', '')},