Skip to content

Commit

Permalink
pdq2: fix argparser
Browse files Browse the repository at this point in the history
jordens committed Mar 20, 2015
1 parent 222d0a9 commit 577754c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions artiq/frontend/pdq2_client.py
Original file line number Diff line number Diff line change
@@ -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",

0 comments on commit 577754c

Please sign in to comment.