forked from rflrob/YildizLabCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProcessAll.m
More file actions
27 lines (25 loc) · 723 Bytes
/
ProcessAll.m
File metadata and controls
27 lines (25 loc) · 723 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
WHTrackDefaults('Method', 'Gauss2DJILA', 'PixelSize', 106.667, 'PixelPadding', 15)
spotlists = dir('Red*_spotlist.txt');
for i = 1:length(spotlists)
fn = spotlists(i).name
WHTrackHighRes(fn)
if isdir(fn(1:end-13))
delete([fn(1:end-13), '/*'])
rmdir(fn(1:end-13))
end
movefile('Traces', fn(1:end-13))
end
delete *xy_only.txt
%%
WHTrackDefaults('Method', 'Gauss2DJILA', 'PixelSize', 106.667, 'PixelPadding', 7)
spotlists = dir('Dyn*spotlist.txt');
for i = 1:length(spotlists)
fn = spotlists(i).name
WHTrackHighRes(fn)
if isdir(fn(1:end-13))
delete([fn(1:end-13), '/*'])
rmdir(fn(1:end-13))
end
movefile('Traces', fn(1:end-13))
end
delete *xy_only.txt