From 6fc38afd2013f7f4b0021b89d05b5fbc06f829f5 Mon Sep 17 00:00:00 2001 From: Ben Date: Wed, 25 Apr 2018 17:11:56 -0400 Subject: [PATCH] Slight speedup of vignetting compensation: only 66% as many points in an X sweep, but I think that the data are pretty low-noise, as far as I've seen, so it should be ok. --- calibrate_vignetting_slide.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/calibrate_vignetting_slide.m b/calibrate_vignetting_slide.m index a121a64..b497471 100644 --- a/calibrate_vignetting_slide.m +++ b/calibrate_vignetting_slide.m @@ -47,7 +47,7 @@ n_sweeps = 17; how_much_to_include = 10; % How many microns +- perpendicular to the direction of the sliding motion FOV = 666; % microns - scanspeed_mms = 0.2; % mm/s of the sliding stage + scanspeed_mms = 0.3; % mm/s of the sliding stage frame_rate = 15.21; % Hz frame_spacing_um = scanspeed_mms * 1000 / frame_rate; @@ -159,7 +159,7 @@ break; end - move('hex', pos(1:2) + [-sweep_halfsize sweep_pos(sweep)], 5); + move('hex', pos(1:2) + [-sweep_halfsize sweep_pos(sweep)], 20); set(handles.messages, 'String', sprintf('Sliding along current view (%d/%d)...', sweep, n_sweeps)); % Time taken for the scan will be sweep_halfsize / 100 um/s; frame rate is