From 30183b2a4c37c1a178f28615e317d2cde0af2874 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 7 Feb 2013 01:07:34 -0500 Subject: [PATCH] scan: Approach the surface with stepper_approach() before looping This makes the initial approach much faster if you are starting far from the surface (e.g. after a calibcant calibration). --- unfold_protein/scan.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/unfold_protein/scan.py b/unfold_protein/scan.py index de1edda..e511dfd 100644 --- a/unfold_protein/scan.py +++ b/unfold_protein/scan.py @@ -34,6 +34,8 @@ class UnfoldScanner (object): def run(self): self._stop = False _signal.signal(_signal.SIGTERM, self._handle_stop_signal) + self.unfolder.afm.move_away_from_surface() + self.stepper_approach() for i in range(self.config['velocity']['num loops']): _LOG.info('on loop {} of {}'.format( i, self.config['velocity']['num loops'])) -- 2.26.2