diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 6e7fe2f5..b8cf358d 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -938,6 +938,10 @@ def checkZ4S(X, pick, zfac, checkwin, iplot): return returnflag +def reassess_pilot_event(): + pass + + if __name__ == '__main__': import doctest diff --git a/scripts/pylot-reasses-pilot-event.py b/scripts/pylot-reasses-pilot-event.py index e76de3fa..14f12d76 100644 --- a/scripts/pylot-reasses-pilot-event.py +++ b/scripts/pylot-reasses-pilot-event.py @@ -2,17 +2,19 @@ # -*- coding: utf-8 -*- 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.io.phases import reasses_pilot_event __version__ = _getVersionString() __author__ = 'sebastianw' -def reassess_pilot_event(): - pass - if __name__ == '__main__': 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() - reasses_pilot_event(args.id) + reassess_pilot_event(args.db, args.id, args.TSNR)