projects
/
pypiezo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55ec548
)
Oops, replace `n` with `config['samples']` in _run_wiggles().
author
W. Trevor King
<wking@drexel.edu>
Thu, 15 Mar 2012 03:35:58 +0000
(23:35 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 15 Mar 2012 03:35:58 +0000
(23:35 -0400)
pypiezo/wiggle.py
patch
|
blob
|
history
diff --git
a/pypiezo/wiggle.py
b/pypiezo/wiggle.py
index 08e66a4cb7d89f06593ca83774a3a9cfd92057b1..c1d16fee6101c582c2a2af608def6a94193261a8 100644
(file)
--- a/
pypiezo/wiggle.py
+++ b/
pypiezo/wiggle.py
@@
-149,7
+149,7
@@
def _update_plot(plot, cycle, data):
def _run_wiggles(piezo, config, plot, output, filename=None, group='/',
keypress_test_mode=False):
- scan_frequency = config['frequency'] *
n
+ scan_frequency = config['frequency'] *
config['samples']
cycle = 0
c = _CheckForKeypress(test_mode=keypress_test_mode)
while c.input() == None: