My Project
Data Fields
ecat7_mainheader Struct Reference

#include <ecat7.h>

Collaboration diagram for ecat7_mainheader:
Collaboration graph

Data Fields

char magic_number [14]
 
char original_file_name [32]
 
short int sw_version
 
short int system_type
 
short int file_type
 
char serial_number [10]
 
int scan_start_time
 
char isotope_name [8]
 
float isotope_halflife
 
char radiopharmaceutical [32]
 
float gantry_tilt
 
float gantry_rotation
 
float bed_elevation
 
float intrinsic_tilt
 
short int wobble_speed
 
short int transm_source_type
 
float distance_scanned
 
float transaxial_fov
 
short int angular_compression
 
short int coin_samp_mode
 
short int axial_samp_mode
 
float ecat_calibration_factor
 
short int calibration_units
 
short int calibration_units_label
 
short int compression_code
 
char study_type [12]
 
char patient_id [16]
 
char patient_name [32]
 
char patient_sex
 
char patient_dexterity
 
float patient_age
 
float patient_height
 
float patient_weight
 
int patient_birth_date
 
char physician_name [32]
 
char operator_name [32]
 
char study_description [32]
 
short int acquisition_type
 
short int patient_orientation
 
char facility_name [20]
 
short int num_planes
 
short int num_frames
 
short int num_gates
 
short int num_bed_pos
 
float init_bed_position
 
float bed_position [15]
 
float plane_separation
 
short int lwr_sctr_thres
 
short int lwr_true_thres
 
short int upr_true_thres
 
char user_process_code [10]
 
short int acquisition_mode
 
float bin_size
 
float branching_fraction
 
int dose_start_time
 
float dosage
 
float well_counter_corr_factor
 
char data_units [32]
 
short int septa_state
 
short int fill_cti [6]
 

Detailed Description

Definition at line 103 of file ecat7.h.

Field Documentation

◆ acquisition_mode

short int ecat7_mainheader::acquisition_mode

◆ acquisition_type

short int ecat7_mainheader::acquisition_type

0=Undefined; 1=Blank; 2=Transmission; 3=Static emission; 4=Dynamic emission; 5=Gated emission; 6=Transmission rectilinear; 7=Emission rectilinear

Definition at line 181 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ angular_compression

short int ecat7_mainheader::angular_compression

0=no mash, 1=mash of 2, 2=mash of 4

Definition at line 141 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ axial_samp_mode

short int ecat7_mainheader::axial_samp_mode

0=Normal, 1=2X, 2=3X

Definition at line 145 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ bed_elevation

float ecat7_mainheader::bed_elevation

Bed height from lowest point (cm)

Definition at line 129 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ bed_position

float ecat7_mainheader::bed_position[15]

◆ bin_size

float ecat7_mainheader::bin_size

◆ branching_fraction

float ecat7_mainheader::branching_fraction

Fraction of decay by positron emission

Definition at line 213 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ calibration_units

short int ecat7_mainheader::calibration_units

0=Uncalibrated; 1=Calibrated; 2=Processed

Definition at line 148 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgUnitFromEcat7(), and imgUnitToEcat7().

◆ calibration_units_label

short int ecat7_mainheader::calibration_units_label

Whether data_units[] is filled or not?

Definition at line 150 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgUnitFromEcat7(), and imgUnitToEcat7().

◆ coin_samp_mode

short int ecat7_mainheader::coin_samp_mode

0=Net trues, 1=Prompts and Delayed, 3=Prompts, Delayed, and Multiples

Definition at line 143 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ compression_code

short int ecat7_mainheader::compression_code

◆ data_units

char ecat7_mainheader::data_units[32]

Free text field; fixed strings: "ECAT counts/sec", "Bq/cc"

Definition at line 221 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgUnitFromEcat7(), and imgUnitToEcat7().

◆ distance_scanned

float ecat7_mainheader::distance_scanned

Total distance scanned (cm)

Definition at line 137 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgGetEcat7MHeader(), and imgSetEcat7MHeader().

◆ dosage

float ecat7_mainheader::dosage

Radiopharmaceutical dosage at time of injection (Bq/cc)

Definition at line 217 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ dose_start_time

int ecat7_mainheader::dose_start_time

Time of injection

Definition at line 215 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ ecat_calibration_factor

float ecat7_mainheader::ecat_calibration_factor

◆ facility_name

char ecat7_mainheader::facility_name[20]

◆ file_type

short int ecat7_mainheader::file_type

◆ fill_cti

short int ecat7_mainheader::fill_cti[6]

Definition at line 225 of file ecat7.h.

Referenced by ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ gantry_rotation

float ecat7_mainheader::gantry_rotation

Angle (degrees)

Definition at line 127 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ gantry_tilt

float ecat7_mainheader::gantry_tilt

Angle (degrees)

Definition at line 125 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ init_bed_position

float ecat7_mainheader::init_bed_position

◆ intrinsic_tilt

float ecat7_mainheader::intrinsic_tilt

◆ isotope_halflife

float ecat7_mainheader::isotope_halflife

◆ isotope_name

char ecat7_mainheader::isotope_name[8]

String representation of the isotope

Definition at line 119 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), and imgSetEcat7MHeader().

◆ lwr_sctr_thres

short int ecat7_mainheader::lwr_sctr_thres

◆ lwr_true_thres

short int ecat7_mainheader::lwr_true_thres

◆ magic_number

char ecat7_mainheader::magic_number[14]

◆ num_bed_pos

short int ecat7_mainheader::num_bed_pos

◆ num_frames

short int ecat7_mainheader::num_frames

◆ num_gates

short int ecat7_mainheader::num_gates

◆ num_planes

short int ecat7_mainheader::num_planes

◆ operator_name

char ecat7_mainheader::operator_name[32]

◆ original_file_name

char ecat7_mainheader::original_file_name[32]

Scan file's creation number

Definition at line 107 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ patient_age

float ecat7_mainheader::patient_age

Patient age (years)

Definition at line 164 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ patient_birth_date

int ecat7_mainheader::patient_birth_date

YYYYMMDD. In HR+ files this field may contain birth date as seconds from time zero, thus negative number when born before 1970, but those are converted to YYYYMMDD when file is read

Definition at line 172 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ patient_dexterity

char ecat7_mainheader::patient_dexterity

◆ patient_height

float ecat7_mainheader::patient_height

Patient height (cm)

Definition at line 166 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ patient_id

char ecat7_mainheader::patient_id[16]

◆ patient_name

char ecat7_mainheader::patient_name[32]

◆ patient_orientation

short int ecat7_mainheader::patient_orientation

◆ patient_sex

char ecat7_mainheader::patient_sex

◆ patient_weight

float ecat7_mainheader::patient_weight

Patient weight (kg)

Definition at line 168 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ physician_name

char ecat7_mainheader::physician_name[32]

◆ plane_separation

float ecat7_mainheader::plane_separation

Physical distance between adjacent planes (cm)

Definition at line 199 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgGetEcat7MHeader(), and imgSetEcat7MHeader().

◆ radiopharmaceutical

char ecat7_mainheader::radiopharmaceutical[32]

String representation of the tracer name

Definition at line 123 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgGetEcat7MHeader(), and imgSetEcat7MHeader().

◆ scan_start_time

int ecat7_mainheader::scan_start_time

Date and time when acquisition was started (sec from base time)

Definition at line 117 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgGetEcat7MHeader(), imgSetEcat7MHeader(), and test_modules().

◆ septa_state

short int ecat7_mainheader::septa_state

◆ serial_number

char ecat7_mainheader::serial_number[10]

Serial number of the gantry

Definition at line 115 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), and ecat7WriteMainheader().

◆ study_description

char ecat7_mainheader::study_description[32]

◆ study_type

char ecat7_mainheader::study_type[12]

◆ sw_version

short int ecat7_mainheader::sw_version

◆ system_type

short int ecat7_mainheader::system_type

◆ transaxial_fov

float ecat7_mainheader::transaxial_fov

Diameter of transaxial view (cm)

Definition at line 139 of file ecat7.h.

Referenced by ecat7EditMHeader(), ecat7PrintMainheader(), ecat7ReadMainheader(), ecat7WriteMainheader(), imgGetEcat7MHeader(), and imgSetEcat7MHeader().

◆ transm_source_type

short int ecat7_mainheader::transm_source_type

◆ upr_true_thres

short int ecat7_mainheader::upr_true_thres

◆ user_process_code

char ecat7_mainheader::user_process_code[10]

◆ well_counter_corr_factor

float ecat7_mainheader::well_counter_corr_factor

◆ wobble_speed

short int ecat7_mainheader::wobble_speed

The documentation for this struct was generated from the following file: