diff --git a/src/qt3utils/datagenerators/piezoscanner.py b/src/qt3utils/datagenerators/piezoscanner.py index 40c758e2..c23e8aca 100644 --- a/src/qt3utils/datagenerators/piezoscanner.py +++ b/src/qt3utils/datagenerators/piezoscanner.py @@ -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`.