Skip to content

Commit

Permalink
resets count_rate array
Browse files Browse the repository at this point in the history
  • Loading branch information
gadamc committed Feb 7, 2023
1 parent 2b79eca commit 0cef9db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt3utils/datagenerators/piezoscanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ def scan_axis(self, axis, min, max, step_size):

def reset(self):
self.scanned_raw_counts = []

self.scanned_count_rate = []

def optimize_position(self, axis, center_position, width = 2, step_size = 0.25):
'''
Performs a scan over a particular axis about `center_position`.
Expand Down

0 comments on commit 0cef9db

Please sign in to comment.