19#ifndef __stir_modelling_PlasmaData_H__
20#define __stir_modelling_PlasmaData_H__
35 typedef std::vector<PlasmaSample> plot_type;
39 inline PlasmaData(
const std::vector<PlasmaSample>& plasma_blood_plot);
43 typedef plot_type::const_iterator const_iterator;
67 inline void set_plot(
const std::vector<PlasmaSample>& plasma_blood_plot);
83 inline bool get_is_decay_corrected()
const;
93 inline void set_is_decay_corrected(
const bool is_decay_corrected);
95 inline void shift_time(
const double time_shift);
103 inline const_iterator
begin()
const;
104 inline const_iterator end()
const;
105 inline unsigned int size()
const;
117 bool _is_decay_corrected;
118 std::vector<PlasmaSample> _plasma_blood_plot;
120 double _isotope_halflife;
Implementations of inline functions of class stir::PlasmaData.
Declaration of class stir::PlasmaData.
Declaration of class stir::TimeFrameDefinitions.
double get_isotope_halflife() const
Function to get the isotope halflife.
Definition PlasmaData.inl:140
void set_time_frame_definitions(const TimeFrameDefinitions &plasma_fdef)
Definition PlasmaData.inl:153
double get_time_shift()
Function to get the time shift.
Definition PlasmaData.inl:133
void shift_time(const double time_shift)
Function to shift the time data.
Definition PlasmaData.inl:122
PlasmaData get_sample_data_in_frames(TimeFrameDefinitions time_frame_def)
Sorts the plasma_data into frames.
Definition PlasmaData.inl:200
void set_plot(const std::vector< PlasmaSample > &plasma_blood_plot)
Function to set the plasma_blood_plot.
Definition PlasmaData.inl:115
void read_plasma_data(const std::string input_string)
Implementation to read the input function from ONLY a 3-columns data file (Time-InputFunctionRadioact...
Definition PlasmaData.inl:50
void set_isotope_halflife(const double isotope_halflife)
Function to set the isotope halflife.
Definition PlasmaData.inl:147
PlasmaData(const std::vector< PlasmaSample > &plasma_blood_plot)
constructor giving a vector
Definition PlasmaData.inl:36
const_iterator begin() const
begin() and end() iterators for the plasma curve and the size() function
Definition PlasmaData.inl:287
void decay_correct_PlasmaData()
Function to decay correct the data.
Definition PlasmaData.inl:177
Class used for storing time frame durations.
Definition TimeFrameDefinitions.h:39