Skip to content

Commit 23e5663

Browse files
clean-up some unnecessary #includes
1 parent a971677 commit 23e5663

File tree

3 files changed

+7
-35
lines changed

3 files changed

+7
-35
lines changed

documentation/release_6.3.htm

+1
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ <h3>Changed functionality</h3>
101101
<ul>
102102
<li>
103103
Made 2 (deprecated) members of <code>ProjDataInfoBlocksOnCylindricalNoArcCorr</code> <code>private</code>
104+
and do some clean-up of which files to include.
104105
<br>
105106
<a href="https://github.com/UCL/STIR/pull/1556">PR #1556</a>
106107
</li>

src/buildblock/ProjDataInfoBlocksOnCylindricalNoArcCorr.cxx

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
#include "stir/LORCoordinates.h"
3030
#include "stir/round.h"
3131
#include "stir/DetectionPosition.h"
32+
#include "stir/DetectionPositionPair.h"
3233
#include "stir/error.h"
3334
#include <iostream>
3435
#include <fstream>

src/include/stir/ProjDataInfoBlocksOnCylindricalNoArcCorr.h

+5-35
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
2424
#define __stir_ProjDataInfoBlocksOnCylindricalNoArcCorr_H__
2525

2626
#include "stir/ProjDataInfoGenericNoArcCorr.h"
27-
#include "stir/ProjDataInfoBlocksOnCylindrical.h"
28-
#include "stir/GeometryBlocksOnCylindrical.h"
29-
#include "stir/DetectionPositionPair.h"
3027
#include "stir/VectorWithOffset.h"
3128
#include "stir/CartesianCoordinate3D.h"
3229

@@ -40,39 +37,12 @@ class BlocksTests;
4037
\ingroup projdata
4138
\brief Projection data info for data from a scanner with discrete dtectors organised by blocks
4239
43-
This class also contains some functions specific for (static) full-ring PET
40+
This class also contains 2 deprecated functions specific for (static) full-ring PET
4441
scanners. In this case, it is assumed that for 'raw' data (i.e. no mashing)
45-
sinogram space is 'interleaved': 2 adjacent LOR_angles are
46-
merged to 1 'view', while the corresponding bins are
47-
interleaved:
48-
49-
\verbatim
50-
before interleaving after interleaving
51-
a00 a01 a02 ... view 0: a00 a10 a01 a11 ...
52-
a10 a11 ...
53-
a20 a21 a22 ... view 1: a20 a30 a21 a31 ...
54-
a30 a31 ...
55-
\endverbatim
56-
This (standard) interleaving is done because for 'odd' LOR_angles there
57-
is no LOR which goes through the origin.
58-
59-
60-
\par Interchanging the 2 detectors
61-
62-
When the ring difference = 0 (i.e. a 2D - or direct - sinogram),
63-
interchanging the 2 detectors does not change the LOR. This is why
64-
(in 2D) one gets away with a full sinogram size of
65-
num_views * 2 * num_views, where the size of 'detector-space' is
66-
twice as large.
67-
However, in 3D, interchanging the detectors, also interchanges the
68-
rings. One has 2 options:
69-
- have 1 sinogram with twice as many views, together with the rings
70-
as 'unordered pair' (i.e. ring_difference is always >0)
71-
- have 2 sinograms of the same size as in 2D, together with the rings
72-
as 'ordered pair' (i.e. ring_difference can be positive and negative).
73-
In STIR, we use the second convention.
74-
75-
*/
42+
sinogram space is 'interleaved'. See documentation for ProjDataInfoCylindricalNoArcCorr.
43+
44+
\deprecated This class will be removed in v7.0.
45+
*/
7646
class ProjDataInfoBlocksOnCylindricalNoArcCorr : public ProjDataInfoGenericNoArcCorr
7747
{
7848
private:

0 commit comments

Comments
 (0)