-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate_bin_EW.rec
More file actions
86 lines (70 loc) · 3.18 KB
/
template_bin_EW.rec
File metadata and controls
86 lines (70 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
###############################################################################
# PARAMETER FILE FOR THE PHG BINNING MODULE
# to be used with run_SimSET.sh
# It uses the following strings which will be replaced by run_SimSET.sh:
# OUTPUT_DIRECTORY
#
# The particular binning module is created for the Siemens HR+ scanner
#
# Author: Pablo Aguiar - University of Barcelona (Nov 2004)
# Updated and added to the archive by Charalampos Tsoumpas
#
#
###############################################################################
# BINNING OPTIONS
# Energy bins ####
# Note: e2 is ignored for (SPECT)
INT num_e1_bins = 1
INT num_e2_bins = 1
REAL min_e = ALPHA
REAL max_e = 600
# Scatter bin ####
# Scatter params = 0 for 1 scatter bin
# Scatter params = 1 for 2 scatter bins (primary vs all other [set min_s to 0])
# Scatter params = 2 for num scatter bins = (max_s - min_s + 1)
INT scatter_param = 1
INT min_s = 0
INT max_s = 1
# Z axis binning ####
# HR+ length is 15.52 with 32 rings
# Currently, z_Min has to start at -(ring_spacing)/2
INT num_z_bins = 12
REAL min_z = -0.654
REAL max_z = 14.388
# Azimuthal angle bins ####
INT num_aa_bins = 144
# Transaxial binning.####
# NOTE: Take note if you are setting min_td and max_td to any value less than the radius of your object cylinder.
# num_td_bins needs to be odd for STIR, and the range needs to be symmetric
INT num_td_bins = 101
REAL min_td = -29.16815
REAL max_td = 29.16815
#TOF info
INT num_tof_bins = 32
REAL min_tof = -2.541
REAL max_tof = 2.387
# Specification of output file data type ####
# Weight weight_image_type = 0 for two byte integers (1 byte= 0..255 numero)
# Weight weight_image_type = 1 for four byte integers
# Weight weight_image_type = 2 for four byte reals
# Weight weight_image_type = 3 for 8 byte reals
# Needs to be 2 for STIR conversion to work
INT weight_image_type = 2
# Specification of output file data type
# Weight weight_image_type = 0 for one byte integers
# Weight weight_image_type = 1 for two byte integers
# Weight weight_image_type = 2 for four byte integers
# Needs to be 2 for STIR conversion to work
INT count_image_type = 2
# Flag to indicate whether or not to add to existing images
BOOL add_to_existing_img = false
# Path to the binned values of photon weights
STR weight_image_path = "OUTPUT_DIRECTORY/rec_minALPHA.weight"
# Path to the binned values of photon weights squared.
STR weight_squared_image_path = "OUTPUT_DIRECTORY/rec_minALPHA.weight2"
# Path to the binned values of absolute photons count
STR count_image_path = "OUTPUT_DIRECTORY/rec_minALPHA.count"
# Specify history file name for photons reaching the binning parameter
STR history_file = ""
# Specify history file parameter name for histogram history file
STR history_params_file = ""