19 #ifndef __stir_ExamInfo_H__ 20 #define __stir_ExamInfo_H__ 52 : imaging_modality(modality),
53 start_time_in_secs_since_1970(0.),
54 calibration_factor(-1.F),
55 low_energy_thres(-1.F),
60 std::string originating_system;
72 const TimeFrameDefinitions& get_time_frame_definitions()
const {
return time_frame_definitions; }
75 double start_time_in_secs_since_1970;
79 inline float get_low_energy_thres()
const;
82 inline float get_high_energy_thres()
const;
84 inline float get_calibration_factor()
const;
91 inline void set_low_energy_thres(
float new_val);
94 inline void set_high_energy_thres(
float new_val);
97 inline void set_calibration_factor(
const float cal_val);
101 inline void set_energy_information_from(
const ExamInfo&);
104 inline bool has_energy_information()
const {
return (low_energy_thres > 0.f) && (up_energy_thres > 0.f); }
109 inline shared_ptr<ExamInfo> create_shared_clone()
const;
113 time_frame_definitions = new_time_frame_definitions;
117 bool operator==(
const ExamInfo& p1)
const;
124 std::string parameter_info()
const;
127 float calibration_factor;
137 float low_energy_thres;
146 float up_energy_thres;
153 #endif // __stir_ExamInfo_H__ Definition: PatientPosition.h:28
Class used for storing time frame durations.
Definition: TimeFrameDefinitions.h:38
ExamInfo(const ImagingModality modality=ImagingModality::Unknown)
Default constructor.
Definition: ExamInfo.h:51
Declaration of class stir::PatientPosition.
Declaration of class stir::TimeFrameDefinitions.
Declaration of class stir::Radionuclide.
Declaration of class stir::ImagingModality.
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
A class for storing radionuclide information.
Definition: Radionuclide.h:33
shared_ptr< ExamInfo > create_shared_clone()
Clone and create shared_ptr of the copy.
Definition: ExamInfo.h:120
This file declares the class stir::ExamInfo.
Class for encoding the modality.
Definition: ImagingModality.h:34
a class for storing information about 1 exam (or scan)
Definition: ExamInfo.h:41