Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Annotation of /branches/opencl/data/plane-probe-test.csh
ViewVC logotype

Annotation of /branches/opencl/data/plane-probe-test.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 224 - (view) (download) (as text)
Original Path: trunk/data/plane-probe-test.csh

1 : glk 224 #!/bin/csh
2 :    
3 :     ## generate list of linear positions to probe at
4 :     echo "2 6" \
5 :     | unu convert -t double \
6 :     | unu reshape -s 1 2 \
7 :     | unu resample -s = 21 -k tent -c node \
8 :     | unu pad -min 0 0 -max 2 M -b pad -v 4 -o plane-probe-pos-x.txt
9 :    
10 :     unu shuffle -i plane-probe-pos-x.txt -a 0 -p 1 0 2 -o plane-probe-pos-y.txt
11 :     unu shuffle -i plane-probe-pos-x.txt -a 0 -p 1 2 0 -o plane-probe-pos-z.txt
12 :    
13 :     foreach A ( x y z )
14 :    
15 :     gprobe -i plane-${A}9.nrrd -k scalar -q val -k00 bspln3 -pi plane-probe-pos-${A}.txt -v 0 \
16 :     | unu save -f text >! plane-probe-val-${A}.txt
17 :    
18 :     end

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0