STIR
6.2.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 More... | |
PlasmaData () | |
default constructor | |
~PlasmaData () | |
default constructor More... | |
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). More... | |
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. More... | |
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
|
inline |
default constructor
default destructor
|
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().
Referenced by stir::PatlakPlot::get_time_frame_definitions(), and stir::modellingTests::run_tests().
|
inline |
Sorts the plasma_data into frames.
Sorts the plasma_data into frames
References stir::TimeFrameDefinitions::get_num_frames(), stir::integrate_discrete_function(), set_isotope_halflife(), set_time_frame_definitions(), and stir::warning().
Referenced by stir::PatlakPlot::get_time_frame_definitions(), and stir::modellingTests::run_tests().
|
inline |
Referenced by get_sample_data_in_frames().