2016-05-01 21:10:30 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
import argparse
|
2016-05-02 14:10:11 +02:00
|
|
|
|
|
|
|
from pylot.core.pick.utils import reassess_pilot_event
|
2016-05-01 21:10:30 +02:00
|
|
|
from pylot.core.util.version import get_git_version as _getVersionString
|
|
|
|
|
|
|
|
__version__ = _getVersionString()
|
|
|
|
__author__ = 'sebastianw'
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
parser = argparse.ArgumentParser()
|
2016-05-02 14:10:11 +02:00
|
|
|
parser.add_argument(
|
|
|
|
'--TSNR', type=tuple, help='length of time windows around pick used to determine SNR \
|
|
|
|
[s] (Tnoise, Tgap, Tsignal)', action=store_value
|
|
|
|
)
|
2016-05-01 21:10:30 +02:00
|
|
|
|
|
|
|
args = parser.parse_args()
|
2016-05-02 14:10:11 +02:00
|
|
|
reassess_pilot_event(args.db, args.id, args.TSNR)
|