STIR 6.4.0
PlasmaSample.h
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2005 - 2011, Hammersmith Imanet Ltd
5 This file is part of STIR.
6
7 SPDX-License-Identifier: Apache-2.0
8
9 See STIR/LICENSE.txt for details
10*/
18
19#ifndef __stir_modelling_PlasmaSample_H__
20#define __stir_modelling_PlasmaSample_H__
21
22#include "stir/common.h"
23#include <vector>
24#include <fstream>
25
26START_NAMESPACE_STIR
27
38{
39public:
41 inline PlasmaSample();
42
48 inline PlasmaSample(const double sample_time, const float plasma_sample_counts, const float blood_sample_counts);
49
51 inline ~PlasmaSample();
52
54
55
56 inline double get_time_in_s() const;
58 inline float get_blood_counts_in_kBq() const;
60 inline float get_plasma_counts_in_kBq() const;
62
64
65
66 inline void set_time_in_s(const double time);
68 inline void set_blood_counts_in_kBq(const float blood_counts);
70 inline void set_plasma_counts_in_kBq(const float plasma_counts);
72
73private:
74 float _blood_counts;
75 float _plasma_counts;
76 double _time;
77};
78
79END_NAMESPACE_STIR
80
82
83#endif //__stir_modelling_PlasmaSample_H__
Implementations of inline functions of class stir::PlasmaData.
void set_blood_counts_in_kBq(const float blood_counts)
set the blood counts of the sample
Definition PlasmaSample.inl:53
void set_time_in_s(const double time)
set the time of the sample
Definition PlasmaSample.inl:39
PlasmaSample()
default constructor
Definition PlasmaSample.inl:23
double get_time_in_s() const
get the time of the sample
Definition PlasmaSample.inl:46
float get_plasma_counts_in_kBq() const
get the plasma counts of the sample
Definition PlasmaSample.inl:74
float get_blood_counts_in_kBq() const
get the blood counts of the sample
Definition PlasmaSample.inl:60
void set_plasma_counts_in_kBq(const float plasma_counts)
set the plasma counts of the sample
Definition PlasmaSample.inl:67
basic configuration include file