\hypertarget{class_ox_1_1_calculator_t2_truncation}{\section{Ox\-:\-:Calculator\-T2\-Truncation$<$ Measure\-Type $>$ Class Template Reference}
\label{class_ox_1_1_calculator_t2_truncation}\index{Ox\-::\-Calculator\-T2\-Truncation$<$ Measure\-Type $>$@{Ox\-::\-Calculator\-T2\-Truncation$<$ Measure\-Type $>$}}
}


{\ttfamily \#include $<$Ox\-Calculator\-T2\-Truncation.\-h$>$}



Inheritance diagram for Ox\-:\-:Calculator\-T2\-Truncation$<$ Measure\-Type $>$\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=236pt]{class_ox_1_1_calculator_t2_truncation__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for Ox\-:\-:Calculator\-T2\-Truncation$<$ Measure\-Type $>$\-:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=236pt]{class_ox_1_1_calculator_t2_truncation__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual int \hyperlink{class_ox_1_1_calculator_t2_truncation_a87a5d80163f3909658498c341c7c1a7a}{prepare\-To\-Calculate} ()
\item 
virtual int \hyperlink{class_ox_1_1_calculator_t2_truncation_a90077df2125150b62324c83da464b02b}{calculate} ()
\item 
Measure\-Type \hyperlink{class_ox_1_1_calculator_t2_truncation_a7dba06e66ae1dc710f9af18af68107db}{calculate\-R2\-Abs\-From\-Model} (int n\-Samples, const Measure\-Type $\ast$time, const Measure\-Type $\ast$signal, const Measure\-Type $\ast$parameters)
\item 
const Measure\-Type $\ast$ \hyperlink{class_ox_1_1_calculator_t2_truncation_ad433198801084c091bcea9430c47412f}{get\-Echo\-Times} () const 
\item 
\hyperlink{class_ox_1_1_calculator_t2_truncation_a3f9e6e96cebf84643a055aef0ffb3630}{Calculator\-T2\-Truncation} ()
\item 
virtual \hyperlink{class_ox_1_1_calculator_t2_truncation_a7f5dabe2ee97aae7b67941023d92fdd6}{$\sim$\-Calculator\-T2\-Truncation} ()
\item 
virtual \hyperlink{class_ox_1_1_calculator}{Calculator}$<$ Measure\-Type $>$ $\ast$ \hyperlink{class_ox_1_1_calculator_t2_truncation_a6accdab54ee98182f12707786a461c20}{new\-By\-Cloning} ()
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Measure\-Type$>$class Ox\-::\-Calculator\-T2\-Truncation$<$ Measure\-Type $>$}


\begin{DoxyTemplParams}{Template Parameters}
{\em Measure\-Type} & \\
\hline
\end{DoxyTemplParams}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_ox_1_1_calculator_t2_truncation_a3f9e6e96cebf84643a055aef0ffb3630}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!Calculator\-T2\-Truncation@{Calculator\-T2\-Truncation}}
\index{Calculator\-T2\-Truncation@{Calculator\-T2\-Truncation}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{Calculator\-T2\-Truncation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type$>$ {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::{\bf Calculator\-T2\-Truncation} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}}\label{class_ox_1_1_calculator_t2_truncation_a3f9e6e96cebf84643a055aef0ffb3630}
constructor \hypertarget{class_ox_1_1_calculator_t2_truncation_a7f5dabe2ee97aae7b67941023d92fdd6}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!$\sim$\-Calculator\-T2\-Truncation@{$\sim$\-Calculator\-T2\-Truncation}}
\index{$\sim$\-Calculator\-T2\-Truncation@{$\sim$\-Calculator\-T2\-Truncation}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{$\sim$\-Calculator\-T2\-Truncation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type$>$ virtual {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::$\sim${\bf Calculator\-T2\-Truncation} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_ox_1_1_calculator_t2_truncation_a7f5dabe2ee97aae7b67941023d92fdd6}
destructor 

\subsection{Member Function Documentation}
\hypertarget{class_ox_1_1_calculator_t2_truncation_a90077df2125150b62324c83da464b02b}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!calculate@{calculate}}
\index{calculate@{calculate}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{calculate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type $>$ int {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::calculate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ox_1_1_calculator_t2_truncation_a90077df2125150b62324c83da464b02b}
calling calculate\-Molli(int n\-Samples, const Measure\-Type$\ast$ inv\-Times, Measure\-Type$\ast$ signal, Measure\-Type$\ast$ signs) \begin{DoxyReturn}{Returns}
success/failure 
\end{DoxyReturn}


Implements \hyperlink{class_ox_1_1_calculator_a9638894f2ec526b68f46f02122bae0c3}{Ox\-::\-Calculator$<$ Measure\-Type $>$}.

\hypertarget{class_ox_1_1_calculator_t2_truncation_a7dba06e66ae1dc710f9af18af68107db}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!calculate\-R2\-Abs\-From\-Model@{calculate\-R2\-Abs\-From\-Model}}
\index{calculate\-R2\-Abs\-From\-Model@{calculate\-R2\-Abs\-From\-Model}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{calculate\-R2\-Abs\-From\-Model}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type $>$ Measure\-Type {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::calculate\-R2\-Abs\-From\-Model (
\begin{DoxyParamCaption}
\item[{int}]{n\-Samples, }
\item[{const Measure\-Type $\ast$}]{time, }
\item[{const Measure\-Type $\ast$}]{signal, }
\item[{const Measure\-Type $\ast$}]{parameters}
\end{DoxyParamCaption}
)}}\label{class_ox_1_1_calculator_t2_truncation_a7dba06e66ae1dc710f9af18af68107db}
Calculate goodness of fit map 
\begin{DoxyParams}{Parameters}
{\em n\-Samples} & \\
\hline
{\em inv\-Times} & \\
\hline
{\em signal} & \\
\hline
{\em parameters} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\hypertarget{class_ox_1_1_calculator_t2_truncation_ad433198801084c091bcea9430c47412f}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!get\-Echo\-Times@{get\-Echo\-Times}}
\index{get\-Echo\-Times@{get\-Echo\-Times}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{get\-Echo\-Times}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type $>$ const Measure\-Type $\ast$ {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::get\-Echo\-Times (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ox_1_1_calculator_t2_truncation_ad433198801084c091bcea9430c47412f}
/throw exception if \-\_\-\-Echo\-Times == 0 \begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Reimplemented from \hyperlink{class_ox_1_1_calculator}{Ox\-::\-Calculator$<$ Measure\-Type $>$}.

\hypertarget{class_ox_1_1_calculator_t2_truncation_a6accdab54ee98182f12707786a461c20}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!new\-By\-Cloning@{new\-By\-Cloning}}
\index{new\-By\-Cloning@{new\-By\-Cloning}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{new\-By\-Cloning}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type$>$ virtual {\bf Calculator}$<$Measure\-Type$>$$\ast$ {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::new\-By\-Cloning (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}}\label{class_ox_1_1_calculator_t2_truncation_a6accdab54ee98182f12707786a461c20}
cloning \begin{DoxyReturn}{Returns}

\end{DoxyReturn}


Implements \hyperlink{class_ox_1_1_calculator_aaec48f39f9b0ea1b622485cf25fba484}{Ox\-::\-Calculator$<$ Measure\-Type $>$}.

\hypertarget{class_ox_1_1_calculator_t2_truncation_a87a5d80163f3909658498c341c7c1a7a}{\index{Ox\-::\-Calculator\-T2\-Truncation@{Ox\-::\-Calculator\-T2\-Truncation}!prepare\-To\-Calculate@{prepare\-To\-Calculate}}
\index{prepare\-To\-Calculate@{prepare\-To\-Calculate}!Ox::CalculatorT2Truncation@{Ox\-::\-Calculator\-T2\-Truncation}}
\subsubsection[{prepare\-To\-Calculate}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Measure\-Type $>$ int {\bf Ox\-::\-Calculator\-T2\-Truncation}$<$ Measure\-Type $>$\-::prepare\-To\-Calculate (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{class_ox_1_1_calculator_t2_truncation_a87a5d80163f3909658498c341c7c1a7a}
do all the checks and prepare to do the calculation, for example calc signal/signs and \-\_\-\-T\-R\-Raverage\-H\-B \begin{DoxyReturn}{Returns}
success/failure 
\end{DoxyReturn}


Implements \hyperlink{class_ox_1_1_calculator_a01267c4e842b35f7eacaa9aacdd7e766}{Ox\-::\-Calculator$<$ Measure\-Type $>$}.



The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
lib/\hyperlink{_ox_calculator_t2_truncation_8h}{Ox\-Calculator\-T2\-Truncation.\-h}\item 
lib/\hyperlink{_ox_calculator_t2_truncation_8hxx}{Ox\-Calculator\-T2\-Truncation.\-hxx}\end{DoxyCompactItemize}
