|
STIR
6.3.0
|
a class for storing information about 1 exam (or scan) More...
#include "stir/ExamInfo.h"
Public Member Functions | |
| ExamInfo (const ImagingModality modality=ImagingModality::Unknown) | |
| Default constructor. More... | |
| const TimeFrameDefinitions & | get_time_frame_definitions () const |
| TimeFrameDefinitions & | get_time_frame_definitions () |
| bool | has_energy_information () const |
| ExamInfo * | clone () const |
| Standard trick for a 'virtual copy-constructor'. | |
| shared_ptr< ExamInfo > | create_shared_clone () const |
| Like clone() but return a shared_ptr. | |
| void | set_time_frame_definitions (const TimeFrameDefinitions &new_time_frame_definitions) |
| bool | operator== (const ExamInfo &p1) const |
| Warning: the operator == does not check that originating system is consistent! | |
| shared_ptr< ExamInfo > | create_shared_clone () |
| Clone and create shared_ptr of the copy. | |
| std::string | parameter_info () const |
| Return a string with info on parameters. More... | |
Functions that return info related on the acquisition settings | |
| float | get_low_energy_thres () const |
| Get the low energy boundary. | |
| float | get_high_energy_thres () const |
| Get the high energy boundary. | |
| float | get_calibration_factor () const |
| Get the calibration factor. | |
| Radionuclide | get_radionuclide () const |
| Get the radionuclide name. | |
Functions that set values related on the acquisition settings | |
| void | set_low_energy_thres (float new_val) |
| Set the low energy boundary. | |
| void | set_high_energy_thres (float new_val) |
| Set the high energy boundary. | |
| void | set_calibration_factor (const float cal_val) |
| Set the Calibration factor. | |
| void | set_radionuclide (const Radionuclide &arg) |
| Set the radionuclide. | |
| void | set_energy_information_from (const ExamInfo &) |
| Copy energy information from another ExamInfo. | |
Public Attributes | |
| std::string | originating_system |
| ImagingModality | imaging_modality |
| PatientPosition | patient_position |
| TimeFrameDefinitions | time_frame_definitions |
| Radionuclide | radionuclide |
| double | start_time_in_secs_since_1970 |
Protected Attributes | |
| float | calibration_factor |
a class for storing information about 1 exam (or scan)
|
inlineexplicit |
Default constructor.
Most fields take their default values (which might be invalid). start_time_in_secs_since_1970 is set to zero, energy window info to -1, to indicate that it is not initialised.
| std::string stir::ExamInfo::parameter_info | ( | ) | const |
Return a string with info on parameters.
the returned string is not intended for parsing.
References stir::secs_since_Unix_epoch_to_Interfile_datetime().
Referenced by stir::BinNormalisation::check().
1.8.13