[new] add extent option "active" to pick high frequency active seismic data

This commit is contained in:
2020-10-06 10:44:27 +02:00
parent e4cfebe989
commit f8f4e6789c
3 changed files with 6 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ defaults = {'rootpath': {'type': str,
'namestring': 'Event ID'},
'extent': {'type': str,
'tooltip': 'extent of array ("local", "regional" or "global")',
'tooltip': 'extent of array ("active", "local", "regional" or "global")',
'value': 'local',
'namestring': 'Array extent'},

View File

@@ -548,13 +548,14 @@ def getResolutionWindow(snr, extent):
see also Diehl et al. 2009
:param snr: Signal to noise ration which decides the witdth of the resolution window
:type snr: float
:param extent: can be 'local', 'regional', 'global'
:param extent: can be 'active', 'local', 'regional', 'global'
:type extent: str
:return: half width of the resolution window
:rtype: float
"""
res_wins = {
'active': {'HRW': .02, 'MRW': .05, 'LRW': .1, 'VLRW': .15},
'regional': {'HRW': 2., 'MRW': 5., 'LRW': 10., 'VLRW': 15.},
'local': {'HRW': 2., 'MRW': 5., 'LRW': 10., 'VLRW': 15.},
'global': {'HRW': 40., 'MRW': 100., 'LRW': 200., 'VLRW': 300.}