-
Notifications
You must be signed in to change notification settings - Fork 1
/
smooth_sigmoid.sh
33 lines (25 loc) · 1.62 KB
/
smooth_sigmoid.sh
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
#!/bin/bash
for file in ./sigmoid_fit/unsmoothed/*c_left_log.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_c_left_log.txt)_GM_50_surface_left.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done > ./methods/joblist_smoothed
for file in ./sigmoid_fit/unsmoothed/*c_right_log.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_c_right_log.txt)_GM_50_surface_right.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done >> ./methods/joblist_smoothed
for file in ./sigmoid_fit/unsmoothed/*c_left.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_c_left.txt)_GM_50_surface_left.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done >> ./methods/joblist_smoothed
for file in ./sigmoid_fit/unsmoothed/*c_right.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_c_right.txt)_GM_50_surface_right.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done >> ./methods/joblist_smoothed
for file in ./sigmoid_fit/unsmoothed/*ratio_left.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_ratio_left.txt)_GM_50_surface_left.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done >> ./methods/joblist_smoothed
for file in ./sigmoid_fit/unsmoothed/*ratio_right.txt
do
echo depth_potential -smooth 20 $file ./surfaces/GM_50_surfaces/$(basename $file _model_ratio_right.txt)_GM_50_surface_right.obj ./sigmoid_fit/smoothed/$(basename $file .txt)_20mm.txt
done >> ./methods/joblist_smoothed