From 406d3baf250571b26062af70d38d964536454ffc Mon Sep 17 00:00:00 2001 From: Sven Augustin Date: Thu, 29 Jun 2023 18:16:19 +0200 Subject: [PATCH] added usage --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 417718a..0d59310 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ # retro-stand -Retroactively produce a stand output hdf5 from the written data files \ No newline at end of file +``` +usage: retro-stand.py [-h] [-o OUTPUT] [-c CHANNELS] base + +Retroactively produce a stand output hdf5 from the written data files + +positional arguments: + base base folder (e.g., /sf/instrument/data/p12345/raw/) + +optional arguments: + -h, --help show this help message and exit + -o OUTPUT, --output OUTPUT + output file name, if not specified no output is written (default: None) + -c CHANNELS, --channels CHANNELS + channels file name, ascii file where each line is: column name = channel name (default: +channels.txt) +``` +