STIR 6.4.0
Sinogram.inl
Go to the documentation of this file.
1//
2//
3/*
4 Copyright (C) 2023, University College London
5 This file is part of STIR.
6
7 SPDX-License-Identifier: Apache-2.0 AND License-ref-PARAPET-license
8
9 See STIR/LICENSE.txt for details
10*/
22
23START_NAMESPACE_STIR
24
25template <typename elemT>
26SinogramIndices
28{
29 return this->_indices;
30}
31
32template <typename elemT>
33int
35{
36 return this->_indices.segment_num();
37}
38
39template <typename elemT>
40int
42{
43 return this->_indices.axial_pos_num();
44}
45
46template <typename elemT>
47int
49{
50 return this->_indices.timing_pos_num();
51}
52
53END_NAMESPACE_STIR
SinogramIndices get_sinogram_indices() const
Get indices.
Definition Sinogram.inl:27
int get_timing_pos_num() const
Get timing position index.
Definition Sinogram.inl:48
int get_segment_num() const
Get segment number.
Definition Sinogram.inl:34
int get_axial_pos_num() const
Get number of axial positions.
Definition Sinogram.inl:41