Skip to content

Commit

Permalink
Slight speedup of vignetting compensation: only 66% as many points in…
Browse files Browse the repository at this point in the history
… an X

sweep, but I think that the data are pretty low-noise, as far as I've
seen, so it should be ok.
  • Loading branch information
bwpearre committed Apr 25, 2018
1 parent 7dbcdbf commit 6fc38af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions calibrate_vignetting_slide.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 6fc38af

Please sign in to comment.