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

SCM Repository

[diderot] Annotation of /branches/opencl/data/txs-dvr-miter.csh
ViewVC logotype

Annotation of /branches/opencl/data/txs-dvr-miter.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 253 - (view) (download) (as text)
Original Path: trunk/data/txs-dvr-miter.csh

1 : glk 253 #!/bin/csh
2 :    
3 :     echo "0 1" \
4 :     | unu reshape -s 1 2 \
5 :     | unu resample -s = 500 -k tent \
6 :     | unu save -f text -o ramp.txt
7 :    
8 :     echo "0.0 0.0 0.15 0.0 0.35 1.0 1.0 1.0" \
9 :     | unu reshape -s 2 4 \
10 :     | unu imap -i ramp.txt -r -m - \
11 :     | unu axinfo -a 0 -l "A" \
12 :     | unu axinfo -a 1 -l "gage(scalar:v)" -mm 0.0 1.0 -o txf.nrrd
13 :    
14 :     foreach K ( tent bspln3 bspln5 )
15 :    
16 :     miter -i txs.nrrd -k00 ${K} -k11 ${K}d -step 0.02 -txf txf.nrrd \
17 :     -fr 25 15 10 -at 3 3 3 -up 0 0 1 -rh -ar \
18 :     -dn -6 -di -6 -df 4 -fv 18 -is 400 400 \
19 :     -ld 0 0 -1 -ads 0 1 0 -ss "phong:gage(scalar:n)" -ref 1 -o - \
20 :     | unu crop -min 0 0 0 -max 3 M M \
21 :     | overrgb -i - -b 0.2 0.3 0.4 -o txs-dvr-${K}.png
22 :    
23 :     end
24 :    
25 :     rm -f ramp.txt txf.nrrd

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