From 4bff3ba6ce23ca14662abcbc6ab0564f0fc9eaae Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Mon, 18 Feb 2019 20:28:44 +0100 Subject: [PATCH] Add docopt string --- scripts/k40_calibration.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/scripts/k40_calibration.py b/scripts/k40_calibration.py index 0dcae54..566bcfa 100755 --- a/scripts/k40_calibration.py +++ b/scripts/k40_calibration.py @@ -6,7 +6,16 @@ K40 Intra-DOM Calibration ========================= -The following script calculates the PMT time offsets using K40 coincidences +Usage: + k40_calibration.py [options] + k40_calibration.py (-h | --help) + +Options: + -l LIGIER_IP The IP of the ligier [default: 127.0.0.1]. + -p LIGIER_PORT The port of the ligier [default: 5553]. + -d DET_ID Detector ID. + -o PLOT_DIR The directory to save the plot [default: plots]. + -h --help Show this screen. """ # Author: Jonas Reubelt <jreubelt@km3net.de> and Tamas Gal <tgal@km3net.de> -- GitLab