[edit] implementing reassessment functions

This commit is contained in:
Sebastian Wehling-Benatelli 2016-05-02 14:10:11 +02:00
parent edd8920d54
commit 8cb4f11bf8
2 changed files with 11 additions and 5 deletions

View File

@ -938,6 +938,10 @@ def checkZ4S(X, pick, zfac, checkwin, iplot):
return returnflag return returnflag
def reassess_pilot_event():
pass
if __name__ == '__main__': if __name__ == '__main__':
import doctest import doctest

View File

@ -2,17 +2,19 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import argparse import argparse
from pylot.core.pick.utils import reassess_pilot_event
from pylot.core.util.version import get_git_version as _getVersionString from pylot.core.util.version import get_git_version as _getVersionString
from pylot.core.io.phases import reasses_pilot_event
__version__ = _getVersionString() __version__ = _getVersionString()
__author__ = 'sebastianw' __author__ = 'sebastianw'
def reassess_pilot_event():
pass
if __name__ == '__main__': if __name__ == '__main__':
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument(
'--TSNR', type=tuple, help='length of time windows around pick used to determine SNR \
[s] (Tnoise, Tgap, Tsignal)', action=store_value
)
args = parser.parse_args() args = parser.parse_args()
reasses_pilot_event(args.id) reassess_pilot_event(args.db, args.id, args.TSNR)