~ubuntu-branches/ubuntu/raring/voxbo/raring

« back to all changes in this revision

Viewing changes to tests/README

  • Committer: Bazaar Package Importer
  • Author(s): Michael Hanke
  • Date: 2010-06-06 11:33:11 UTC
  • Revision ID: james.westby@ubuntu.com-20100606113311-v3c13imdkkd5n7ae
Tags: upstream-1.8.5~svn1172
ImportĀ upstreamĀ versionĀ 1.8.5~svn1172

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
This file contains some brief info about how to run various simple
 
3
VoxBo tests.  Over time, it will grow into a genuine testsuite.  Each
 
4
separate test is in its own directory.  In each directory, do the
 
5
following:
 
6
  sh setup.sh        # create files, etc.
 
7
  sh runtest_XXX.sh  # actually run the test, there may be several of these
 
8
  sh clean.sh
 
9
 
 
10
----------------------------------------------
 
11
ITEMS TO ADD
 
12
----------------------------------------------
 
13
--> big messy GLM with all kinds of filtering, mixed tes/nifti, etc.
 
14
--> several simple glms
 
15
--> use vbimagemunge with test data to show that manipulations of raw
 
16
    data have expected effect on results
 
17
--> script that invokes darned near every image processing algo on
 
18
    certain files
 
19
--> use vbconv/vbcmp/vbimagemunge to make sure file formats work as
 
20
    expected, including flip-flopping endianness
 
21
 
 
22
----------------------------------------------
 
23
TEST THE NEW SCRIPTING SYSTEM
 
24
----------------------------------------------
 
25
# edit testscript.ssd, change the working directory
 
26
submit-sequence -s testscript.sss -d testscript.ssd:test1
 
27
 
 
28
 
 
29
 
 
30
----------------------------------------------
 
31
TEST VBPREP
 
32
----------------------------------------------
 
33
# vbpreptest.vbp should touch files called a.cub and b.cub
 
34
# in the specified directory
 
35
vbprep vbpreptest.vbp
 
36
 
 
37
----------------------------------------------
 
38
GLM tests full, quick, random, etc.
 
39
----------------------------------------------
 
40
# in an empty directory:
 
41
vbsim -d 64 64 45 180 -o big1.tes
 
42
vbsim -d 64 64 45 180 -o big2.tes
 
43
vbsim -d 64 64 45 180 -o big3.tes
 
44
vbsim -d 12 12 4 20 -o small1.tes
 
45
vbsim -d 12 12 4 20 -o small2.tes
 
46
vbsim -d 12 12 4 20 -o small3.tes
 
47
cat > test.glm<< EOF
 
48
pieces 20
 
49
audit yes
 
50
email nobody@nowhere.com
 
51
 
 
52
glm big_glm1
 
53
gmatrix
 
54
kernel
 
55
noisemodel
 
56
meannorm
 
57
driftcorrect
 
58
highs 1
 
59
lows 4
 
60
orderg 720
 
61
scan big1.tes
 
62
scan big2.tes
 
63
scan big3.tes
 
64
end
 
65
 
 
66
glm small_glm1
 
67
gmatrix
 
68
kernel
 
69
noisemodel
 
70
meannorm
 
71
driftcorrect
 
72
highs 1
 
73
lows 4
 
74
orderg 720
 
75
scan small1.tes
 
76
scan small2.tes
 
77
scan small3.tes
 
78
end
 
79
 
 
80
EOF
 
81
 
 
82
----------------------------------------------
 
83
VBREGION
 
84
----------------------------------------------
 
85
vbsim -d 53 63 46 0 -n 0 50 8 -o region.cub
 
86
vbregion -t 3 region.cub
 
87
 
 
88
 
 
89
----------------------------------------------
 
90
----------------------------------------------
 
91
 
 
92
 
 
93
 
 
94
----------------------------------------------
 
95
----------------------------------------------