From 577754c38ff75216ac8f96b79c26f7b52d9b589e Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 19 Mar 2015 22:26:12 -0600 Subject: [PATCH] pdq2: fix argparser --- artiq/frontend/pdq2_client.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/artiq/frontend/pdq2_client.py b/artiq/frontend/pdq2_client.py index f301cef89..6a6d68ec1 100755 --- a/artiq/frontend/pdq2_client.py +++ b/artiq/frontend/pdq2_client.py @@ -25,7 +25,7 @@ def get_argparser(): help="frame [%(default)s]") parser.add_argument("-t", "--times", default="np.arange(5)*1e-6", help="sample times (s) [%(default)s]") - parser.add_argument("-v", "--voltages", + parser.add_argument("-u", "--voltages", default="(1-np.cos(t/t[-1]*2*np.pi))/2", help="sample voltages (V) [%(default)s]") parser.add_argument("-a", "--aux", default=False, action="store_true", @@ -34,7 +34,6 @@ def get_argparser(): help="interpolation (0: const, 1: lin, 2: quad," " 3: cubic) [%(default)s]") parser.add_argument("-p", "--plot", help="plot to file [%(default)s]") - parser.add_argument("-u", "--dump", help="dump to file [%(default)s]") parser.add_argument("-r", "--reset", default=False, action="store_true", help="do reset before") parser.add_argument("-m", "--dcm", default=False, action="store_true",