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

SCM Repository

[diderot] View of /branches/pure-cfg/data/plane-probe-test.csh
ViewVC logotype

View of /branches/pure-cfg/data/plane-probe-test.csh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 477 - (download) (as text) (annotate)
Sat Nov 13 16:02:07 2010 UTC (9 years ago) by jhr
File size: 560 byte(s)
  Creating a branch to explore a pure CFG IL
#!/bin/csh

## generate list of linear positions to probe at
echo "2 6" \
 | unu convert -t double \
 | unu reshape -s 1 2 \
 | unu resample -s = 21 -k tent -c node \
 | unu pad -min 0 0 -max 2 M -b pad -v 4 -o plane-probe-pos-x.txt

unu shuffle -i plane-probe-pos-x.txt -a 0 -p 1 0 2 -o plane-probe-pos-y.txt
unu shuffle -i plane-probe-pos-x.txt -a 0 -p 1 2 0 -o plane-probe-pos-z.txt

foreach A ( x y z )

   gprobe -i plane-${A}9.nrrd -k scalar -q val -k00 bspln3 -pi plane-probe-pos-${A}.txt -v 0 \
     | unu save -f text >! plane-probe-val-${A}.txt

end

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