JEMRIS  2.8.1
open-source MRI simulations
List of all members | Public Member Functions | Static Public Member Functions | Protected Attributes
TxRxPhase Class Reference

Phase physics super class. More...

#include <TxRxPhase.h>

+ Inheritance diagram for TxRxPhase:

Public Member Functions

 TxRxPhase ()
 Constructor.
 
virtual ~TxRxPhase ()
 Default destructor.
 
void SetInitialPhase (double val)
 Get phase of this pulse. More...
 
bool GetPhaseLock ()
 Get phase lock of this pulse.
 
void SetPhaseLock (bool bval)
 Set phase lock of this pulse. More...
 
double GetInitialPhase ()
 Get initial phase of this pulse.
 
double GetFrequency ()
 Get constant frequency for linear phase terms. More...
 
void SetFrequency (double val)
 Set constant frequency for linear phase terms. More...
 

Static Public Member Functions

static double getLinearPhase (Module *mod, double time)
 A general purpose linear additive phase term. More...
 

Protected Attributes

double m_initial_phase
 Initial Phase of this phase event.
 
bool m_phase_lock
 Phase lock of this phase event.
 
double m_frequency
 A constant frequency to set linear phase terms.
 

Detailed Description

Phase physics super class.

Member Function Documentation

double TxRxPhase::GetFrequency ( )
inline

Get constant frequency for linear phase terms.

Returns
The frequency of the puls.

+ Here is the caller graph for this function:

double TxRxPhase::getLinearPhase ( Module mod,
double  time 
)
static

A general purpose linear additive phase term.

Rx case: A pointer to this function can be added to the list RFPulse::m_GetPhaseFunPtrs .

Parameters
timeThe time at which the phase is requested.
modA pointer to a Module.
Returns
The linear phase term.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TxRxPhase::SetFrequency ( double  val)
inline

Set constant frequency for linear phase terms.

Parameters
valThe new frequency of the puls.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void TxRxPhase::SetInitialPhase ( double  val)
inline

Get phase of this pulse.

Set phase of this pulse.

Parameters
valThe phase as double.

+ Here is the caller graph for this function:

void TxRxPhase::SetPhaseLock ( bool  bval)
inline

Set phase lock of this pulse.

Parameters
bvalSet phase lock {true|false}.

The documentation for this class was generated from the following files:

-- last change 17.06.2016 | Tony Stoecker | Imprint --