|
STIR 6.5.0
|
A class for storing plasma and blood samples of a single study. More...
#include "stir/modelling/PlasmaData.h"
Public Types | |
| typedef plot_type::const_iterator | const_iterator |
Public Member Functions | |
| PlasmaData (const std::vector< PlasmaSample > &plasma_blood_plot) | |
| constructor giving a vector | |
| PlasmaData () | |
| default constructor | |
| ~PlasmaData () | |
| default constructor | |
| void | read_plasma_data (const std::string input_string) |
| Implementation to read the input function from ONLY a 3-columns data file (Time-InputFunctionRadioactivity-WholeBloodRadioactivity). | |
| void | set_plot (const std::vector< PlasmaSample > &plasma_blood_plot) |
| Function to set the plasma_blood_plot. | |
| PlasmaData | get_sample_data_in_frames (TimeFrameDefinitions time_frame_def) |
| Sorts the plasma_data into frames. | |
| void | decay_correct_PlasmaData () |
| Function to decay correct the data. | |
Functions to get parameters | |
Function to shift the time data This is useful if the start time of the scan and the start time of the plasma are not precisely correct. This can be measured by the plasma peak and the very first frames of the dynamic images.
| |
| double | get_time_shift () |
| Function to get the time shift. | |
| bool | get_is_decay_corrected () const |
| double | get_isotope_halflife () const |
| Function to get the isotope halflife. | |
| TimeFrameDefinitions | get_time_frame_definitions () const |
Functions to set parameters | |
| void | set_time_frame_definitions (const TimeFrameDefinitions &plasma_fdef) |
| void | set_is_decay_corrected (const bool is_decay_corrected) |
| void | set_isotope_halflife (const double isotope_halflife) |
| Function to set the isotope halflife. | |
| void | shift_time (const double time_shift) |
| Function to shift the time data. | |
| const_iterator | begin () const |
| begin() and end() iterators for the plasma curve and the size() function | |
| const_iterator | end () const |
| unsigned int | size () const |
A class for storing plasma and blood samples of a single study.
|
inline |
constructor giving a vector
References PlasmaData().
Referenced by get_sample_data_in_frames(), PlasmaData(), and PlasmaData().
|
inline |
default constructor
References PlasmaData().
|
inline |
|
inline |
Implementation to read the input function from ONLY a 3-columns data file (Time-InputFunctionRadioactivity-WholeBloodRadioactivity).
Implementation to read the input function from ONLY a 3-columns data file (Time-InputFunctionRadioactivity-TotalBloodRadioactivity).
References stir::error(), and read_plasma_data().
Referenced by read_plasma_data(), and stir::modellingTests::run_tests().
|
inline |
Function to set the plasma_blood_plot.
References set_plot().
Referenced by stir::modellingTests::run_tests(), and set_plot().
|
inline |
Sorts the plasma_data into frames.
Sorts the plasma_data into frames
References begin(), decay_correct_PlasmaData(), stir::TimeFrameDefinitions::get_num_frames(), get_sample_data_in_frames(), stir::integrate_discrete_function(), PlasmaData(), set_isotope_halflife(), set_time_frame_definitions(), and stir::warning().
Referenced by get_sample_data_in_frames(), and stir::modellingTests::run_tests().
|
inline |
|
inline |
Function to get the isotope halflife.
References get_isotope_halflife().
Referenced by get_isotope_halflife().
|
inline |
References set_time_frame_definitions().
Referenced by get_sample_data_in_frames(), and set_time_frame_definitions().
|
inline |
Function to set the isotope halflife.
References set_isotope_halflife().
Referenced by get_sample_data_in_frames(), stir::modellingTests::run_tests(), and set_isotope_halflife().
|
inline |
|
inline |
Function to decay correct the data.
References decay_correct_PlasmaData(), stir::decay_correction_factor(), and stir::warning().
Referenced by decay_correct_PlasmaData(), get_sample_data_in_frames(), and stir::modellingTests::run_tests().
|
inline |
begin() and end() iterators for the plasma curve and the size() function
References begin().
Referenced by begin(), get_sample_data_in_frames(), and stir::modellingTests::run_tests().