Added snark14m distribution examples
[snark14.git] / examples / b2 / b2.in
1 **** EXAMPLE 2
2 *    Creation of a small test pattern and projection data with execution of
3 *    a user-defined reconstruction algorithm and analysis.
4 *    
5 CREATE
6 Example 2,  A simple test pattern and projection data
7 SPECTRUM MONOCHROMATIC with energy at 75 KeV
8 OBJECTS   cx    cy    u     v     ang   den
9 ELIP      0.00  0.00  0.90  0.90  0.00  2.50
10 ELIP      0.00  0.00  0.80  0.60  0.00 -1.25
11 ELIP      0.00  0.00  0.21  0.25  0.00  0.10
12 LAST  1.00
13 PHANTOM AVERAGE 1 point for estimating pixel density
14 number of elements is 31  Size of a pixel is 0.07
15 RAYSUM AVERAGE 1 line for estimation of ray sum with weight
16     1
17 GEOMETRY
18 PARALLEL UNIFORM LINE
19 RAYS USER-defined 63 rays per projection at spacing 0.05
20 ANGLES 30  EQUAL SPACING between the first and last angles which are
21     0.0    174.0
22 MEASUREMENT PERFECT
23 BACKGROUND absorption is 0.0
24 RUN
25 *
26 PICTURE TEST
27 *
28 PROJECTION REAL
29 *
30 MODE LOWER constraint set at 0.0  UPPER constraint set at 2.5
31 *
32 SELECT USER RAYSEQ
33 STEP projections by 10 and rays by 1
34 *
35 STOP TERMINATION VARIANCE at 0.01
36 *
37 EXECUTE AVERAGE ART SMOOTH
38 Example 2a  underrelaxed art4 with variable tolerance
39 smoothing threshold is 0.2  Weights are 2.25 1.5 1.0
40 111111111111111111111111111111111111111111111111111
41 ART4  RELAXATION CONSTANT = 0.025  TOLERANCE VARIABLE decreasing
42 CONSTRAINT BOUND CONRELAX CONSTANT = 0.5 NOMLIZE at each iteration
43 *
44 STOP ITERATIONS = 30
45 *
46 EXECUTE ALP1
47 Example 2b  underrelaxed art with extrapolation
48 *
49 * Reset mode to unconstrained
50 MODE
51 *
52 EVALUATE RESOLUTION
53 Example 2a  underrelaxed art4
54 WHOLEPIC
55 2222222222222222222222222222222222222222
56 *
57 LINES COLUMNS 15 and 18 are to be printed
58 1         1         1         1
59 *
60 END
61