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

SCM Repository

[diderot] View of /branches/charisee/ertest/vispaper/iso3d/go-fsamp.sh
ViewVC logotype

View of /branches/charisee/ertest/vispaper/iso3d/go-fsamp.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2932 - (download) (as text) (annotate)
Wed Mar 4 07:47:16 2015 UTC (4 years, 8 months ago) by glk
File size: 832 byte(s)
adding test for flowline curvature
#!/bin/bash

DDRO="$DDRO_HOME/branches/vis12/bin/diderotc --target=c"

set -o errexit
set -o nounset

JUNK=""
function junk {
  JUNK="$JUNK $@"
}
function cleanup {
  rm -rf $JUNK
}
trap cleanup err exit int term

$DDRO --exec fsamp.diderot; junk fsamp{,.c,.o,.h}

./fsamp -which 1 -pp 0 0 0        -sz0 25 -sz1 30 -sz2 35 &> vv.nhdr; junk vv.{nrrd,nhdr}
unu save -f nrrd -i vv.nhdr -o parab0.nrrd

./fsamp -which 1 -pp 0.2 0.1 -0.3 -sz0 25 -sz1 30 -sz2 35 &> vv.nhdr; junk vv.{nrrd,nhdr}
unu save -f nrrd -i vv.nhdr | unu 2op / - 2 -o parab1.nrrd

./fsamp -which 2 -pp 0.05 0.1 0.15        -sz0 40 -sz1 40 -sz2 40 &> vv.nhdr; junk vv.{nrrd,nhdr}
unu save -f nrrd -i vv.nhdr -o gauss0.nrrd

./fsamp -which 3 -pp 0.05 0.1 0.15        -sz0 40 -sz1 40 -sz2 40 &> vv.nhdr; junk vv.{nrrd,nhdr}
unu save -f nrrd -i vv.nhdr -o twist0.nrrd

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