JEMRIS 2.9.1
open-source MRI simulations
Loading...
Searching...
No Matches
List of all members | Public Member Functions | Public Attributes | Protected Attributes
TrajectoryRespiration Class Reference
+ Inheritance diagram for TrajectoryRespiration:
+ Collaboration diagram for TrajectoryRespiration:

Public Member Functions

virtual void GetValueDerived (double time, double *value)
 retrieve value at given time-point More...
 
virtual void LoadFile (string filename)
 load trajectory from file More...
 
- Public Member Functions inherited from TrajectoryInterface
void GetValue (double time, double *value)
 
virtual void GetValueDerived (double time, double *value)=0
 retrieve value at given time-point More...
 
virtual void LoadFile (string filename)=0
 load trajectory from file More...
 
virtual void UpdateTrajectory (bool init=false)
 
bool spinActivation (long currentSpin)
 get spin current state : true=active, false=unactive
 
void setCurrentTraj (long currentTraj)
 set trajectory number associated to current spin
 
long getCurrentTraj ()
 get trajectory number associated to current spin
 
void setLoop (double loopDuration, long loopTrajNumber)
 set loop parameters for periodic flow
 

Public Attributes

double dx
 
size_t xi
 
double dy
 
size_t yi
 
double dz
 
size_t zi
 
size_t xip
 
size_t yip
 
size_t zip
 
double int_part
 
double store_x
 
double store_y
 
double store_z
 
double m_ap_interpolated [3]
 
double m_si_interpolated [3]
 
double m_model_offset_interpolated [3]
 

Protected Attributes

vector< double > m_res
 
vector< double > m_offset
 
NDData< double > m_field
 
NDData< double > m_ap
 
NDData< double > m_si
 
NDData< double > m_model_offset
 
NDData< double > m_breathing_trace
 
- Protected Attributes inherited from TrajectoryInterface
int m_LastHuntIndex
 
vector< double > m_time
 
vector< vector< double > > m_time_full
 
long m_currentSpinIndex
 
long m_trajLoopNumber
 
double m_trajLoopDuration
 
bool m_spinActive
 

Additional Inherited Members

- Protected Member Functions inherited from TrajectoryInterface
int GetLowerIndex (double time)
 find data index for interpolation get lower index for given timepoint using hunt search algorithm.
 

Member Function Documentation

◆ GetValueDerived()

void TrajectoryRespiration::GetValueDerived ( double  time,
double *  value 
)
virtual

retrieve value at given time-point

Implements TrajectoryInterface.

◆ LoadFile()

void TrajectoryRespiration::LoadFile ( string  filename)
virtual

load trajectory from file

Implements TrajectoryInterface.

+ Here is the call graph for this function:

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

-- last change 03.10.2023 | Tony Stoecker | Imprint | Data Protection --