TPCCLIB
Toggle main menu visibility
Loading...
Searching...
No Matches
libtpcimgio
ecat63h.c
Go to the documentation of this file.
1
5
/*****************************************************************************/
6
int
ECAT63_TEST
=0;
7
char
ecat63errmsg
[128];
8
/*****************************************************************************/
9
#include "
libtpcimgio.h
"
10
/*****************************************************************************/
11
12
/*****************************************************************************/
16
int
ecat63CopyMainheader
(
18
ECAT63_mainheader
*h1,
20
ECAT63_mainheader
*h2
21
) {
22
int
i;
23
24
if
(h1==NULL || h2==NULL)
return
(1);
25
memset(h2, 0,
sizeof
(
ECAT63_mainheader
));
26
27
for
(i=0; i<14; i++) h2->
ecat_format
[i]=h1->
ecat_format
[i];
28
for
(i=0; i<14; i++) h2->
fill1
[i]=h1->
fill1
[i];
29
for
(i=0; i<20; i++) h2->
original_file_name
[i]=h1->
original_file_name
[i];
30
h2->
sw_version
=h1->
sw_version
;
31
h2->
data_type
=h1->
data_type
;
32
h2->
system_type
=h1->
system_type
;
33
h2->
file_type
=h1->
file_type
;
34
for
(i=0; i<10; i++) h2->
node_id
[i]=h1->
node_id
[i];
35
h2->
scan_start_day
=h1->
scan_start_day
;
36
h2->
scan_start_month
=h1->
scan_start_month
;
37
h2->
scan_start_year
=h1->
scan_start_year
;
38
h2->
scan_start_hour
=h1->
scan_start_hour
;
39
h2->
scan_start_minute
=h1->
scan_start_minute
;
40
h2->
scan_start_second
=h1->
scan_start_second
;
41
for
(i=0; i<8; i++) h2->
isotope_code
[i]=h1->
isotope_code
[i];
42
h2->
isotope_halflife
=h1->
isotope_halflife
;
43
for
(i=0; i<32; i++) h2->
radiopharmaceutical
[i]=h1->
radiopharmaceutical
[i];
44
h2->
gantry_tilt
=h1->
gantry_tilt
;
45
h2->
gantry_rotation
=h1->
gantry_rotation
;
46
h2->
bed_elevation
=h1->
bed_elevation
;
47
h2->
rot_source_speed
=h1->
rot_source_speed
;
48
h2->
wobble_speed
=h1->
wobble_speed
;
49
h2->
transm_source_type
=h1->
transm_source_type
;
50
h2->
axial_fov
=h1->
axial_fov
;
51
h2->
transaxial_fov
=h1->
transaxial_fov
;
52
h2->
transaxial_samp_mode
=h1->
transaxial_samp_mode
;
53
h2->
coin_samp_mode
=h1->
coin_samp_mode
;
54
h2->
axial_samp_mode
=h1->
axial_samp_mode
;
55
h2->
calibration_factor
=h1->
calibration_factor
;
56
h2->
calibration_units
=h1->
calibration_units
;
57
h2->
compression_code
=h1->
compression_code
;
58
for
(i=0; i<12; i++) h2->
study_name
[i]=h1->
study_name
[i];
59
for
(i=0; i<16; i++) h2->
patient_id
[i]=h1->
patient_id
[i];
60
for
(i=0; i<32; i++) h2->
patient_name
[i]=h1->
patient_name
[i];
61
h2->
patient_sex
=h1->
patient_sex
;
62
for
(i=0; i<10; i++) h2->
patient_age
[i]=h1->
patient_age
[i];
63
for
(i=0; i<10; i++) h2->
patient_height
[i]=h1->
patient_height
[i];
64
for
(i=0; i<10; i++) h2->
patient_weight
[i]=h1->
patient_weight
[i];
65
h2->
patient_dexterity
=h1->
patient_dexterity
;
66
for
(i=0; i<32; i++) h2->
physician_name
[i]=h1->
physician_name
[i];
67
for
(i=0; i<32; i++) h2->
operator_name
[i]=h1->
operator_name
[i];
68
for
(i=0; i<32; i++) h2->
study_description
[i]=h1->
study_description
[i];
69
h2->
acquisition_type
=h1->
acquisition_type
;
70
h2->
bed_type
=h1->
bed_type
;
71
h2->
septa_type
=h1->
septa_type
;
72
for
(i=0; i<20; i++) h2->
facility_name
[i]=h1->
facility_name
[i];
73
h2->
num_planes
=h1->
num_planes
;
74
h2->
num_frames
=h1->
num_frames
;
75
h2->
num_gates
=h1->
num_gates
;
76
h2->
num_bed_pos
=h1->
num_bed_pos
;
77
h2->
init_bed_position
=h1->
init_bed_position
;
78
for
(i=0; i<15; i++) h2->
bed_offset
[i]=h1->
bed_offset
[i];
79
h2->
plane_separation
=h1->
plane_separation
;
80
h2->
lwr_sctr_thres
=h1->
lwr_sctr_thres
;
81
h2->
lwr_true_thres
=h1->
lwr_true_thres
;
82
h2->
upr_true_thres
=h1->
upr_true_thres
;
83
h2->
collimator
=h1->
collimator
;
84
for
(i=0; i<10; i++) h2->
user_process_code
[i]=h1->
user_process_code
[i];
85
for
(i=0; i<20; i++) h2->
fill2
[i]=h1->
fill2
[i];
86
return
(0);
87
}
88
/*****************************************************************************/
89
90
/*****************************************************************************/
94
int
ecat63CopyScanheader
(
96
ECAT63_scanheader
*h1,
98
ECAT63_scanheader
*h2
99
) {
100
int
i;
101
102
if
(h1==NULL || h2==NULL)
return
(1);
103
memset(h2, 0,
sizeof
(
ECAT63_scanheader
));
104
105
for
(i=0; i<126; i++) h2->
fill1
[i]=h1->
fill1
[i];
106
h2->
data_type
=h1->
data_type
;
107
h2->
dimension_1
=h1->
dimension_1
;
108
h2->
dimension_2
=h1->
dimension_2
;
109
h2->
smoothing
=h1->
smoothing
;
110
h2->
processing_code
=h1->
processing_code
;
111
h2->
sample_distance
=h1->
sample_distance
;
112
h2->
isotope_halflife
=h1->
isotope_halflife
;
113
h2->
frame_duration_sec
=h1->
frame_duration_sec
;
114
h2->
gate_duration
=h1->
gate_duration
;
115
h2->
r_wave_offset
=h1->
r_wave_offset
;
116
h2->
scale_factor
=h1->
scale_factor
;
117
h2->
scan_min
=h1->
scan_min
;
118
h2->
scan_max
=h1->
scan_max
;
119
h2->
prompts
=h1->
prompts
;
120
h2->
delayed
=h1->
delayed
;
121
h2->
multiples
=h1->
multiples
;
122
h2->
net_trues
=h1->
net_trues
;
123
for
(i=0; i<16; i++) h2->
cor_singles
[i]=h1->
cor_singles
[i];
124
for
(i=0; i<16; i++) h2->
uncor_singles
[i]=h1->
uncor_singles
[i];
125
h2->
tot_avg_cor
=h1->
tot_avg_cor
;
126
h2->
tot_avg_uncor
=h1->
tot_avg_uncor
;
127
h2->
total_coin_rate
=h1->
total_coin_rate
;
128
h2->
frame_start_time
=h1->
frame_start_time
;
129
h2->
frame_duration
=h1->
frame_duration
;
130
h2->
loss_correction_fctr
=h1->
loss_correction_fctr
;
131
for
(i=0; i<22; i++) h2->
fill2
[i]=h1->
fill2
[i];
132
return
(0);
133
}
134
/*****************************************************************************/
135
136
/*****************************************************************************/
140
int
ecat63EditMHeader
(
142
ECAT63_mainheader
*h,
144
char
*field,
146
char
*value,
148
int
verbose
149
) {
150
// int yy, mm, dd;
151
short
int
si;
152
float
f;
153
154
if
(verbose>0) printf(
"ecat63EditMHeader('%s', '%s')\n"
, field, value);
155
si=atoi(value); f=atof(value);
156
157
if
(strcmp(field,
"ecat_format"
)==0 || strcmp(field,
"magic_number"
)==0) {
158
strlcpy
(h->
ecat_format
, value, 14);
159
}
else
if
(strcmp(field,
"fill1"
)==0) {
160
strlcpy
(h->
fill1
, value, 14);
161
}
else
if
(strcmp(field,
"original_file_name"
)==0) {
162
strlcpy
(h->
original_file_name
, value, 20);
163
}
else
if
(strcmp(field,
"sw_version"
)==0) {
164
if
(si<=0)
return
(2);
else
h->
sw_version
=si;
165
}
else
if
(strcmp(field,
"data_type"
)==0) {
166
if
(si<0)
return
(2);
else
h->
data_type
=si;
167
}
else
if
(strcmp(field,
"system_type"
)==0) {
168
if
(si<0)
return
(2);
else
h->
system_type
=si;
169
}
else
if
(strcmp(field,
"file_type"
)==0) {
170
if
(si<0)
return
(2);
else
h->
file_type
=si;
171
}
else
if
(strcmp(field,
"node_id"
)==0 || strcmp(field,
"serial_number"
)==0) {
172
strlcpy
(h->
node_id
, value, 10);
173
}
else
if
(strcmp(field,
"scan_start_day"
)==0) {
174
if
(si<0)
return
(2);
else
h->
scan_start_day
=si;
175
}
else
if
(strcmp(field,
"scan_start_month"
)==0) {
176
if
(si<0)
return
(2);
else
h->
scan_start_month
=si;
177
}
else
if
(strcmp(field,
"scan_start_year"
)==0) {
178
if
(si<0)
return
(2);
else
h->
scan_start_year
=si;
179
}
else
if
(strcmp(field,
"scan_start_hour"
)==0) {
180
if
(si<0)
return
(2);
else
h->
scan_start_hour
=si;
181
}
else
if
(strcmp(field,
"scan_start_minute"
)==0) {
182
if
(si<0)
return
(2);
else
h->
scan_start_minute
=si;
183
}
else
if
(strcmp(field,
"scan_start_second"
)==0) {
184
if
(si<0)
return
(2);
else
h->
scan_start_second
=si;
185
}
else
if
(strcmp(field,
"scan_start_time"
)==0) {
186
int
YYYY, MM, DD, hh, mm, ss, n;
187
n=sscanf(value,
"%d-%d-%d %d:%d:%d"
, &YYYY, &MM, &DD, &hh, &mm, &ss);
188
if
(n!=6 && n!=3)
return
(2);
189
h->
scan_start_year
=YYYY;
190
h->
scan_start_month
=MM;
191
h->
scan_start_day
=DD;
192
if
(n==6) {
193
h->
scan_start_hour
=hh;
194
h->
scan_start_minute
=mm;
195
h->
scan_start_second
=ss;
196
}
197
}
else
if
(strcmp(field,
"isotope_code"
)==0 || strcmp(field,
"isotope_name"
)==0) {
198
strlcpy
(h->
isotope_code
, value, 8);
199
}
else
if
(strcmp(field,
"isotope_halflife"
)==0) {
200
if
(f<=1.0E-3)
return
(2);
else
h->
isotope_halflife
=f;
201
}
else
if
(strcmp(field,
"radiopharmaceutical"
)==0) {
202
strlcpy
(h->
radiopharmaceutical
, value, 32);
203
}
else
if
(strcmp(field,
"gantry_tilt"
)==0) {
204
h->
gantry_tilt
=f;
205
}
else
if
(strcmp(field,
"gantry_rotation"
)==0) {
206
h->
gantry_rotation
=f;
207
}
else
if
(strcmp(field,
"bed_elevation"
)==0) {
208
h->
bed_elevation
=f;
209
}
else
if
(strcmp(field,
"rot_source_speed"
)==0) {
210
h->
rot_source_speed
=si;
211
}
else
if
(strcmp(field,
"wobble_speed"
)==0) {
212
h->
wobble_speed
=si;
213
}
else
if
(strcmp(field,
"transm_source_type"
)==0) {
214
h->
transm_source_type
=si;
215
}
else
if
(strcmp(field,
"axial_fov"
)==0) {
216
h->
axial_fov
=f;
217
}
else
if
(strcmp(field,
"transaxial_fov"
)==0) {
218
h->
transaxial_fov
=f;
219
}
else
if
(strcmp(field,
"transaxial_samp_mode"
)==0) {
220
h->
transaxial_samp_mode
=si;
221
}
else
if
(strcmp(field,
"coin_samp_mode"
)==0) {
222
h->
coin_samp_mode
=si;
223
}
else
if
(strcmp(field,
"axial_samp_mode"
)==0) {
224
h->
axial_samp_mode
=si;
225
}
else
if
(strcmp(field,
"calibration_factor"
)==0) {
226
h->
calibration_factor
=f;
227
}
else
if
(strcmp(field,
"calibration_units"
)==0) {
228
h->
calibration_units
=si;
229
}
else
if
(strcmp(field,
"compression_code"
)==0) {
230
h->
compression_code
=si;
231
}
else
if
(strcmp(field,
"study_name"
)==0) {
232
strlcpy
(h->
study_name
, value, 12);
233
}
else
if
(strcmp(field,
"patient_id"
)==0) {
234
strlcpy
(h->
patient_id
, value, 16);
235
}
else
if
(strcmp(field,
"patient_name"
)==0) {
236
strlcpy
(h->
patient_name
, value, 32);
237
}
else
if
(strcmp(field,
"patient_sex"
)==0) {
238
h->
patient_sex
=value[0];
239
}
else
if
(strcmp(field,
"patient_age"
)==0) {
240
strlcpy
(h->
patient_name
, value, 10);
241
}
else
if
(strcmp(field,
"patient_height"
)==0) {
242
strlcpy
(h->
patient_height
, value, 10);
243
}
else
if
(strcmp(field,
"patient_weight"
)==0) {
244
strlcpy
(h->
patient_weight
, value, 10);
245
}
else
if
(strcmp(field,
"patient_dexterity"
)==0) {
246
h->
patient_dexterity
=value[0];
247
}
else
if
(strcmp(field,
"physician_name"
)==0) {
248
strlcpy
(h->
physician_name
, value, 32);
249
}
else
if
(strcmp(field,
"operator_name"
)==0) {
250
strlcpy
(h->
operator_name
, value, 32);
251
}
else
if
(strcmp(field,
"study_description"
)==0) {
252
strlcpy
(h->
study_description
, value, 32);
253
}
else
if
(strcmp(field,
"acquisition_type"
)==0) {
254
h->
acquisition_type
=si;
255
}
else
if
(strcmp(field,
"bed_type"
)==0) {
256
h->
bed_type
=si;
257
}
else
if
(strcmp(field,
"septa_type"
)==0) {
258
h->
septa_type
=si;
259
}
else
if
(strcmp(field,
"facility_name"
)==0) {
260
strlcpy
(h->
facility_name
, value, 20);
261
}
else
if
(strcmp(field,
"num_planes"
)==0) {
262
h->
num_planes
=si;
263
}
else
if
(strcmp(field,
"num_frames"
)==0) {
264
h->
num_frames
=si;
265
}
else
if
(strcmp(field,
"num_gates"
)==0) {
266
h->
num_gates
=si;
267
}
else
if
(strcmp(field,
"num_bed_pos"
)==0) {
268
h->
num_bed_pos
=si;
269
}
else
if
(strcmp(field,
"init_bed_position"
)==0) {
270
h->
init_bed_position
=f;
271
}
else
if
(strcmp(field,
"bed_offset"
)==0) {
272
sscanf(value,
"%f %f %f %f %f %f %f %f %f %f %f %f %f %f %f"
,
273
h->
bed_offset
+0, h->
bed_offset
+1, h->
bed_offset
+2,
274
h->
bed_offset
+3, h->
bed_offset
+4, h->
bed_offset
+5,
275
h->
bed_offset
+6, h->
bed_offset
+7, h->
bed_offset
+8,
276
h->
bed_offset
+9, h->
bed_offset
+10, h->
bed_offset
+11,
277
h->
bed_offset
+12, h->
bed_offset
+13, h->
bed_offset
+14
278
);
279
}
else
if
(strcmp(field,
"plane_separation"
)==0) {
280
h->
plane_separation
=f;
281
}
else
if
(strcmp(field,
"lwr_sctr_thres"
)==0) {
282
h->
lwr_sctr_thres
=si;
283
}
else
if
(strcmp(field,
"lwr_true_thres"
)==0) {
284
h->
lwr_true_thres
=si;
285
}
else
if
(strcmp(field,
"upr_true_thres"
)==0) {
286
h->
upr_true_thres
=si;
287
}
else
if
(strcmp(field,
"collimator"
)==0) {
288
h->
collimator
=f;
289
}
else
if
(strcmp(field,
"user_process_code"
)==0) {
290
strlcpy
(h->
user_process_code
, value, 10);
291
}
else
if
(strcasecmp(field,
"FILL2"
)==0) {
292
char
*cptr;
293
cptr=strtok(value,
" \t,;\n\r"
);
294
for
(
int
i=0; i<20; i++) {
295
if
(cptr==NULL)
break
;
296
h->
fill2
[i]=(
short
int)atoi(cptr);
297
cptr=strtok(NULL,
" \t,;\n\r"
);
298
}
299
}
else
300
return
(1);
301
302
return
(0);
303
}
304
/*****************************************************************************/
305
306
/*****************************************************************************/
ecat63errmsg
char ecat63errmsg[128]
Definition
ecat63h.c:7
ecat63EditMHeader
int ecat63EditMHeader(ECAT63_mainheader *h, char *field, char *value, int verbose)
Definition
ecat63h.c:140
ECAT63_TEST
int ECAT63_TEST
Definition
ecat63h.c:6
ecat63CopyMainheader
int ecat63CopyMainheader(ECAT63_mainheader *h1, ECAT63_mainheader *h2)
Definition
ecat63h.c:16
ecat63CopyScanheader
int ecat63CopyScanheader(ECAT63_scanheader *h1, ECAT63_scanheader *h2)
Definition
ecat63h.c:94
libtpcimgio.h
Header file for libtpcimgio.
strlcpy
size_t strlcpy(char *dst, const char *src, size_t dstsize)
Definition
strext.c:244
ECAT63_mainheader
Definition
libtpcimgio.h:1002
ECAT63_mainheader::axial_fov
float axial_fov
Definition
libtpcimgio.h:1050
ECAT63_mainheader::collimator
float collimator
Definition
libtpcimgio.h:1121
ECAT63_mainheader::bed_elevation
float bed_elevation
Definition
libtpcimgio.h:1042
ECAT63_mainheader::gantry_rotation
float gantry_rotation
Definition
libtpcimgio.h:1040
ECAT63_mainheader::plane_separation
float plane_separation
Definition
libtpcimgio.h:1113
ECAT63_mainheader::isotope_halflife
float isotope_halflife
Definition
libtpcimgio.h:1034
ECAT63_mainheader::radiopharmaceutical
char radiopharmaceutical[32]
Definition
libtpcimgio.h:1036
ECAT63_mainheader::patient_id
char patient_id[16]
Definition
libtpcimgio.h:1069
ECAT63_mainheader::operator_name
char operator_name[32]
Definition
libtpcimgio.h:1085
ECAT63_mainheader::scan_start_month
short int scan_start_month
Definition
libtpcimgio.h:1022
ECAT63_mainheader::sw_version
short int sw_version
Definition
libtpcimgio.h:1010
ECAT63_mainheader::bed_offset
float bed_offset[15]
Definition
libtpcimgio.h:1111
ECAT63_mainheader::coin_samp_mode
short int coin_samp_mode
Definition
libtpcimgio.h:1057
ECAT63_mainheader::lwr_true_thres
short int lwr_true_thres
Definition
libtpcimgio.h:1117
ECAT63_mainheader::compression_code
short int compression_code
Definition
libtpcimgio.h:1065
ECAT63_mainheader::bed_type
short int bed_type
Definition
libtpcimgio.h:1091
ECAT63_mainheader::patient_sex
char patient_sex
Definition
libtpcimgio.h:1073
ECAT63_mainheader::patient_height
char patient_height[10]
Definition
libtpcimgio.h:1077
ECAT63_mainheader::calibration_factor
float calibration_factor
Definition
libtpcimgio.h:1061
ECAT63_mainheader::fill2
short int fill2[20]
Definition
libtpcimgio.h:1125
ECAT63_mainheader::wobble_speed
short int wobble_speed
Definition
libtpcimgio.h:1046
ECAT63_mainheader::patient_dexterity
char patient_dexterity
Definition
libtpcimgio.h:1081
ECAT63_mainheader::scan_start_second
short int scan_start_second
Definition
libtpcimgio.h:1030
ECAT63_mainheader::num_bed_pos
short int num_bed_pos
Definition
libtpcimgio.h:1107
ECAT63_mainheader::ecat_format
char ecat_format[14]
Definition
libtpcimgio.h:1004
ECAT63_mainheader::transaxial_samp_mode
short int transaxial_samp_mode
Definition
libtpcimgio.h:1055
ECAT63_mainheader::rot_source_speed
short int rot_source_speed
Definition
libtpcimgio.h:1044
ECAT63_mainheader::acquisition_type
short int acquisition_type
Definition
libtpcimgio.h:1089
ECAT63_mainheader::calibration_units
short int calibration_units
Definition
libtpcimgio.h:1063
ECAT63_mainheader::isotope_code
char isotope_code[8]
Definition
libtpcimgio.h:1032
ECAT63_mainheader::scan_start_year
short int scan_start_year
Definition
libtpcimgio.h:1024
ECAT63_mainheader::original_file_name
char original_file_name[20]
Definition
libtpcimgio.h:1008
ECAT63_mainheader::study_name
char study_name[12]
Definition
libtpcimgio.h:1067
ECAT63_mainheader::patient_age
char patient_age[10]
Definition
libtpcimgio.h:1075
ECAT63_mainheader::study_description
char study_description[32]
Definition
libtpcimgio.h:1087
ECAT63_mainheader::fill1
char fill1[14]
Definition
libtpcimgio.h:1006
ECAT63_mainheader::num_gates
short int num_gates
Definition
libtpcimgio.h:1104
ECAT63_mainheader::num_planes
short int num_planes
Definition
libtpcimgio.h:1098
ECAT63_mainheader::transaxial_fov
float transaxial_fov
Definition
libtpcimgio.h:1052
ECAT63_mainheader::scan_start_day
short int scan_start_day
Definition
libtpcimgio.h:1020
ECAT63_mainheader::gantry_tilt
float gantry_tilt
Definition
libtpcimgio.h:1038
ECAT63_mainheader::septa_type
short int septa_type
Definition
libtpcimgio.h:1093
ECAT63_mainheader::transm_source_type
short int transm_source_type
Definition
libtpcimgio.h:1048
ECAT63_mainheader::scan_start_minute
short int scan_start_minute
Definition
libtpcimgio.h:1028
ECAT63_mainheader::user_process_code
char user_process_code[10]
Definition
libtpcimgio.h:1123
ECAT63_mainheader::num_frames
short int num_frames
Definition
libtpcimgio.h:1101
ECAT63_mainheader::patient_name
char patient_name[32]
Definition
libtpcimgio.h:1071
ECAT63_mainheader::node_id
char node_id[10]
Definition
libtpcimgio.h:1018
ECAT63_mainheader::patient_weight
char patient_weight[10]
Definition
libtpcimgio.h:1079
ECAT63_mainheader::file_type
short int file_type
Definition
libtpcimgio.h:1016
ECAT63_mainheader::data_type
short int data_type
Definition
libtpcimgio.h:1012
ECAT63_mainheader::lwr_sctr_thres
short int lwr_sctr_thres
Definition
libtpcimgio.h:1115
ECAT63_mainheader::axial_samp_mode
short int axial_samp_mode
Definition
libtpcimgio.h:1059
ECAT63_mainheader::init_bed_position
float init_bed_position
Definition
libtpcimgio.h:1109
ECAT63_mainheader::scan_start_hour
short int scan_start_hour
Definition
libtpcimgio.h:1026
ECAT63_mainheader::upr_true_thres
short int upr_true_thres
Definition
libtpcimgio.h:1119
ECAT63_mainheader::physician_name
char physician_name[32]
Definition
libtpcimgio.h:1083
ECAT63_mainheader::facility_name
char facility_name[20]
Definition
libtpcimgio.h:1095
ECAT63_mainheader::system_type
short int system_type
Definition
libtpcimgio.h:1014
ECAT63_scanheader
Definition
libtpcimgio.h:1225
ECAT63_scanheader::smoothing
short int smoothing
Definition
libtpcimgio.h:1237
ECAT63_scanheader::scan_min
short int scan_min
Definition
libtpcimgio.h:1261
ECAT63_scanheader::dimension_2
short int dimension_2
Definition
libtpcimgio.h:1235
ECAT63_scanheader::delayed
int delayed
Definition
libtpcimgio.h:1267
ECAT63_scanheader::tot_avg_cor
float tot_avg_cor
Definition
libtpcimgio.h:1279
ECAT63_scanheader::gate_duration
int gate_duration
Definition
libtpcimgio.h:1251
ECAT63_scanheader::sample_distance
float sample_distance
Definition
libtpcimgio.h:1243
ECAT63_scanheader::uncor_singles
float uncor_singles[16]
Definition
libtpcimgio.h:1277
ECAT63_scanheader::processing_code
short int processing_code
Definition
libtpcimgio.h:1239
ECAT63_scanheader::prompts
int prompts
Definition
libtpcimgio.h:1265
ECAT63_scanheader::r_wave_offset
int r_wave_offset
Definition
libtpcimgio.h:1253
ECAT63_scanheader::tot_avg_uncor
float tot_avg_uncor
Definition
libtpcimgio.h:1281
ECAT63_scanheader::isotope_halflife
float isotope_halflife
Definition
libtpcimgio.h:1247
ECAT63_scanheader::fill2
short int fill2[22]
Definition
libtpcimgio.h:1291
ECAT63_scanheader::multiples
int multiples
Definition
libtpcimgio.h:1269
ECAT63_scanheader::frame_duration
int frame_duration
Definition
libtpcimgio.h:1287
ECAT63_scanheader::total_coin_rate
int total_coin_rate
Definition
libtpcimgio.h:1283
ECAT63_scanheader::scan_max
short int scan_max
Definition
libtpcimgio.h:1263
ECAT63_scanheader::loss_correction_fctr
float loss_correction_fctr
Definition
libtpcimgio.h:1289
ECAT63_scanheader::net_trues
int net_trues
Definition
libtpcimgio.h:1271
ECAT63_scanheader::frame_start_time
int frame_start_time
Definition
libtpcimgio.h:1285
ECAT63_scanheader::dimension_1
short int dimension_1
Definition
libtpcimgio.h:1233
ECAT63_scanheader::fill1
char fill1[126]
Definition
libtpcimgio.h:1227
ECAT63_scanheader::scale_factor
float scale_factor
Definition
libtpcimgio.h:1257
ECAT63_scanheader::frame_duration_sec
short int frame_duration_sec
Definition
libtpcimgio.h:1249
ECAT63_scanheader::data_type
short int data_type
Definition
libtpcimgio.h:1229
ECAT63_scanheader::cor_singles
float cor_singles[16]
Definition
libtpcimgio.h:1275
Generated on
for TPCCLIB by
1.17.0