Implemented new function for writing phase files for various kinds of location tools.
This commit is contained in:
parent
69a023e048
commit
b96f81553d
@ -13,6 +13,7 @@ from pylot.core.read.data import Data
|
||||
from pylot.core.read.inputs import AutoPickParameter
|
||||
from pylot.core.util.structure import DATASTRUCTURE
|
||||
from pylot.core.pick.autopick import autopickevent
|
||||
from pylot.core.pick.utils import writephases
|
||||
|
||||
__version__ = _getVersionString()
|
||||
|
||||
@ -85,6 +86,9 @@ def autoPyLoT(inputfile):
|
||||
# !automated picking starts here!
|
||||
picks = autopickevent(wfdat, parameter)
|
||||
|
||||
# write phases to NLLoc-phase file
|
||||
writephases(wd_checked_onsets, 'NLLoc', phasefile)
|
||||
|
||||
print '------------------------------------------'
|
||||
print '-----Finished event %s!-----' % event
|
||||
print '------------------------------------------'
|
||||
@ -100,6 +104,9 @@ def autoPyLoT(inputfile):
|
||||
# !automated picking starts here!
|
||||
picks = autopickevent(wfdat, parameter)
|
||||
|
||||
# write phases to NLLoc-phase file
|
||||
writephases(wd_checked_onsets, 'NLLoc', phasefile)
|
||||
|
||||
print '------------------------------------------'
|
||||
print '-------Finished event %s!-------' % parameter.getParam('eventID')
|
||||
print '------------------------------------------'
|
||||
|
Loading…
Reference in New Issue
Block a user