Skip to content

Commit 577754c

Browse files
committedMar 20, 2015
pdq2: fix argparser
1 parent 222d0a9 commit 577754c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎artiq/frontend/pdq2_client.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_argparser():
2525
help="frame [%(default)s]")
2626
parser.add_argument("-t", "--times", default="np.arange(5)*1e-6",
2727
help="sample times (s) [%(default)s]")
28-
parser.add_argument("-v", "--voltages",
28+
parser.add_argument("-u", "--voltages",
2929
default="(1-np.cos(t/t[-1]*2*np.pi))/2",
3030
help="sample voltages (V) [%(default)s]")
3131
parser.add_argument("-a", "--aux", default=False, action="store_true",
@@ -34,7 +34,6 @@ def get_argparser():
3434
help="interpolation (0: const, 1: lin, 2: quad,"
3535
" 3: cubic) [%(default)s]")
3636
parser.add_argument("-p", "--plot", help="plot to file [%(default)s]")
37-
parser.add_argument("-u", "--dump", help="dump to file [%(default)s]")
3837
parser.add_argument("-r", "--reset", default=False,
3938
action="store_true", help="do reset before")
4039
parser.add_argument("-m", "--dcm", default=False, action="store_true",

0 commit comments

Comments
 (0)
Please sign in to comment.