From 477aacbb4ae5eda8537ceb84215865a75d2fc8c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludger=20K=C3=BCperkoch?= Date: Wed, 21 Jun 2017 15:43:12 +0200 Subject: [PATCH] Preparation of flexible local magnitude estimation. --- pylot/core/io/default_parameters.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pylot/core/io/default_parameters.py b/pylot/core/io/default_parameters.py index 563476b8..93d55ae4 100644 --- a/pylot/core/io/default_parameters.py +++ b/pylot/core/io/default_parameters.py @@ -277,13 +277,13 @@ defaults = {'rootpath': {'type': str, 'tooltip': 'maximum allowed deviation from Wadati-diagram', 'value': 1.0}, - 'WAscaling': {'type': float, - 'tooltip': 'Scaling relation of Wood-Anderson amplitude [nm]', - 'value': 1.0}, + 'WAscaling': {'type': (float, float, float), + 'tooltip': 'Scaling relation (log(Ao)+Alog(r)+Br+C) of Wood-Anderson amplitude Ao [nm]', + 'value': (1.0, 1.0, 1.0)}, - 'magscaling': {'type': float, + 'magscaling': {'type': (float, float), 'tooltip': 'Scaling relation for derived local magnitude [a*Ml+b]', - 'value': 1.0} + 'value': (1.0, 1.0)} } settings_main={