|
STIR
6.3.0
|
A class for storing radionuclide information. More...
#include "stir/Radionuclide.h"
Public Member Functions | |
| Radionuclide () | |
| default constructor More... | |
| Radionuclide (const std::string &name, float energy, float branching_ratio, float half_life, ImagingModality modality) | |
| A constructor : constructs a radionuclide with all its information. | |
| std::string | get_name () const |
| get name (normally in DICOM format) | |
| float | get_energy (bool check=true) const |
| get energy (in keV) More... | |
| float | get_branching_ratio (bool check=true) const |
| get branching_ratio More... | |
| float | get_half_life (bool check=true) const |
| get half_life (in seconds) More... | |
| ImagingModality | get_modality (bool check=true) const |
| get modality More... | |
| std::string | parameter_info () const |
| Return a string with info on parameters. More... | |
| bool | operator== (const Radionuclide &r) const |
| comparison operators | |
A class for storing radionuclide information.
| stir::Radionuclide::Radionuclide | ( | ) |
default constructor
Set name to "Unknown" and other values to invalid numbers (e.g. -1)
| float stir::Radionuclide::get_energy | ( | bool | check = true | ) | const |
get energy (in keV)
if check=true, calls error() if value not set (i.e. is negative)
References stir::error().
| float stir::Radionuclide::get_branching_ratio | ( | bool | check = true | ) | const |
get branching_ratio
if check=true, calls error() if value not set (i.e. is negative)
References stir::error().
| float stir::Radionuclide::get_half_life | ( | bool | check = true | ) | const |
get half_life (in seconds)
if check=true, calls error() if value not set (i.e. is negative)
References stir::error().
Referenced by stir::randoms_from_singles().
| ImagingModality stir::Radionuclide::get_modality | ( | bool | check = true | ) | const |
get modality
if check=true, calls error() if value not set (i.e. is unknown)
References stir::error().
| std::string stir::Radionuclide::parameter_info | ( | ) | const |
Return a string with info on parameters.
the returned string is not intended for parsing.
1.8.13