Skip to content

Commit

Permalink
updates to documentation for 6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisThielemans committed Jul 23, 2024
1 parent e29c3c1 commit ba0d04b
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 13 deletions.
19 changes: 13 additions & 6 deletions documentation/STIR-UsersGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
\\[3cm]

\textbf{{\huge User's Guide\\
Version 6.1}}
Version 6.2}}
\end{center}

\end{spacing}
Expand Down Expand Up @@ -1092,17 +1092,18 @@ \subsubsection{
the same idea while still allowing preserving some of the obliqueness.
For instance, for a dataset with 9 segments, \textbf{SSRB} can produce
a new dataset with only 3 segments. This essentially increases
the axial compression (or \textit{span} in CTI terminology), see the
the axial compression (or \textit{span} in CTI/Siemens terminology), see the
\textit{STIR} Glossary on axial compression. In addition, \textbf{SSRB} can
introduce extra \textit{mashing} (see the \textit{STIR} Glossary) of the data,
i.e. add views together.
i.e. add views and/or TOF bins together.


\textit{Usage:}

\cmdline{SSRB output\_filename input\_projdata\_name {\textbackslash} \\
num\_segments\_to\_combine [num\_views\_to\_combine {\textbackslash}\\
{[}do\_normalisation [max\_in\_segment\_num\_to\_process ]]]}
{[}do\_normalisation [max\_in\_segment\_num\_to\_process {\textbackslash}\\
{[}num\_tof\_bins\_to\_combine ]]]]}
or
\cmdline{SSRB --template template\_filename output\_filename input\_projdata\_name [do\_normalisation]}

Expand All @@ -1116,8 +1117,8 @@ \subsubsection{
the result is normalised, i.e. divided by \textit{num\_segments\_to\_combine*num\_views\_to\_combine}.
This is appropriate for rebinning data where normalisation has
already been applied, but inappropriate otherwise.

\item[template\_filename] inicated by the \textit{--template} flag,
\item[num\_tof\_bins\_to\_combine] defaults to 1, so TOF bins are not combined.
\item[template\_filename] indicated by the \textit{--template} flag,
is the sinogram type that the \textit{input\_projdata\_name} will
be mapped to. This allows for the effective use of
\textit{num\_segments\_to\_combine} to be an even number,
Expand Down Expand Up @@ -4446,6 +4447,12 @@ \subsubsection{
END Relative Difference Prior Parameters:=
\end{verbatim}

Note that if you have the \em{CUDA} drivers (and toolkit when building), setting
\begin{verbatim}
prior type := Cuda Relative Difference Prior
\end{verbatim}
will enable a \em{CUDA} implementation (with some restrictions). Other parameter
settings are identical.

{ \subsubsubsection{Logcosh} \label{sec:priors:Logcosh}
}
Expand Down
14 changes: 10 additions & 4 deletions documentation/STIR-developers-overview.tex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
\textbf{{\huge STIR \\
Overview for developers}}\\
\textbf{Kris Thielemans}\\
\textbf{\textit{version 6.0}}
\textbf{\textit{version 6.2}}

\end{center}

Expand Down Expand Up @@ -60,8 +60,8 @@ \section{
doxygen on the source files that come in the STIR distribution).

\subsection{Language support}
STIR is written in C++ and currently requires C++-14, but it is compatible with newer versions of the C++ standard.
We will enforce C++-16 from STIR 6.2.
STIR is written in C++ and currently requires C++-17, but it is compatible with newer versions of the C++ standard.
We will enforce C++-20 from STIR 7.0 (possibly earlier).

Python and MATLAB support is provided via \R2Lurl{http://www.swig.org/}{SWIG}. This means that Python/MATLAB interfaces follow
the C++ classes closely, although some differences are required as these languages do not support templates for instance.
Expand Down Expand Up @@ -392,7 +392,7 @@ \subsection{
with info on the file and line number where the assertion failed.

\subsection{C++ conventions}
STIR uses C++-14 and is compatible with C++-20 to the best of our knowledge.
STIR uses C++-17 and is compatible with C++-20 to the best of our knowledge.
For legacy reasons, we have some preprocessor
macros (see \textit{stir/common.h}) to define the stir namespace (see below).
These should disappear at a
Expand Down Expand Up @@ -622,6 +622,12 @@ \subsubsection{typedefs}
};
\end{verbatim}

\section{CUDA support}
STIR 6.2 introduced first versions of some CUDA code. The include file
\texttt{cuda\_utilities.h} contains some helpers classes to copy
arrays to/from the device. This is still work-in-progress as objects
cannot remain on the device.

\section{
Overview of classes}

Expand Down
4 changes: 2 additions & 2 deletions documentation/STIR-glossary.tex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
\end{center}

\begin{center}
\textit{Version 6.0}\\
\textit{Version 6.2}\\
Originally based on PARAPET Deliverable 4.1,
Extended for Quantitative Reconstruction and motion compensation

Expand Down Expand Up @@ -207,7 +207,7 @@ \section*{Different (lossy) data compressions used}
by the scanner (in list-mode) over the actual number of TOF bins. Currently in STIR, this
ratio has to be an integer. The size of a TOF bin is computed by multiplying the
\textbf{TOF mashing factor} with the \textbf{size of unmashed TOF time bins}, with the latter
defined as a scanner property.\\
defined as a scanner property. \texttt{SSRB} can be used to increase the TOF mashing factor.\\
Note that many PET scanners use a \textbf{TOF mashing factor} greater than 1
for their standard histogrammed projection data.

Expand Down
1 change: 1 addition & 0 deletions documentation/history.htm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ <h1>History of public releases of the STIR software</h1>
The following links give you a summary what has changed. However,
the ChangeLog is the definite (but tedious) information.
<ul >
<li><a href="release_6.2.htm">version 6.2.0 (dated 23 July 2024)</a></li>
<li><a href="release_6.1.htm">version 6.1.0 (dated 16 May 2024)</a></li>
<li><a href="release_6.0.htm">version 6.0.0 (dated 07 February 2024)</a></li>
<li><a href="release_5.2.htm">version 5.2.0 (dated 30 October 2023)</a></li>
Expand Down
2 changes: 1 addition & 1 deletion documentation/release_6.2.htm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h3>Bug fixes</h3>
</ul>

<h3>Build system</h3>
<ul
<ul>
<li>
C++-17 is now required.
</li>
Expand Down

0 comments on commit ba0d04b

Please sign in to comment.