-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathW004.m
More file actions
34 lines (29 loc) · 828 Bytes
/
W004.m
File metadata and controls
34 lines (29 loc) · 828 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%% Configuration
% Wafer and sections
waferpath('/mnt/data0/ashwin/07122012/S2-W004')
info = get_path_info(waferpath);
wafer = info.wafer;
sec_nums = info.sec_nums;
%sec_nums(103) = []; % skip
% Load default parameters
default_params
%% Custom per-section parameters
% Note: The index of params corresponds to the actual section number.
%
% Example:
% => Change the NNR MaxRatio of section 38:
% params(38).z.NNR.MaxRatio = 0.8;
%
% => Set the max match error for sections 10 to 15 to 2000:
% params(10).z.max_match_error = 2000; % change section 10's parameters
% [params(11:15).z] = deal(params(10).z); % copy it to sections 11-15
% Or:
% for s=10:15; params(s).z.max_match_error = 2000; end
% S2-W004
%% Run alignment
try
align_stack_xy
align_stack_z
catch alignment_error
troubleshoot
end