[bugfix] old parameter default values, especially min/max values remained from older pylot projects
This commit is contained in:
@@ -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', '', '', '')},
|
||||
|
||||
|
||||
@@ -194,6 +194,9 @@ class PylotParameter(object):
|
||||
all_names += self.get_special_para_names()['quality']
|
||||
return all_names
|
||||
|
||||
def reinit_default_parameters(self):
|
||||
self.__init_default_paras()
|
||||
|
||||
@staticmethod
|
||||
def check_range(value, max_value, min_value):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user