MAGSI-based Magnetization Simulator.
More...
#include <seqsim.h>
List of all members.
Detailed Description
MAGSI-based Magnetization Simulator.
This is a simulator to calculate the time evolution of a magnetization grid in 4 dimension (frequency and three spatial dimensions). This simulation of the Bloch-Torrey equations is performed by means of the MAGSI algorith (c.f. Journal of Magnetic Resonance 180:29-38, 2006). Simulation usually involves the following steps:
Definition at line 113 of file seqsim.h.
Constructor & Destructor Documentation
| SeqSimMagsi::SeqSimMagsi |
( |
const STD_string & |
label = "unnamedSeqSimMagsi" |
) |
|
Constructs a simulator labeled 'object_label'.
| SeqSimMagsi::~SeqSimMagsi |
( |
|
) |
|
Member Function Documentation
| bool SeqSimMagsi::do_simulation |
( |
|
) |
|
Returns whether simulation should be performed, i.e. whether the 'online' flag is true or 'update' was activated.
| void SeqSimMagsi::finalize_simulation |
( |
|
) |
[virtual] |
| const farray& SeqSimMagsi::get_Mamp |
( |
|
) |
const [inline] |
Returns the amplitude of the transverse magnetisation
Definition at line 170 of file seqsim.h.
| const farray& SeqSimMagsi::get_Mpha |
( |
|
) |
const [inline] |
Returns the phase of the transverse magnetisation
Definition at line 175 of file seqsim.h.
| const farray& SeqSimMagsi::get_Mx |
( |
|
) |
const [inline] |
Returns the real part of the transverse magnetisation
Definition at line 155 of file seqsim.h.
| const farray& SeqSimMagsi::get_My |
( |
|
) |
const [inline] |
Returns the imaginary part of the transverse magnetisation
Definition at line 160 of file seqsim.h.
| const farray& SeqSimMagsi::get_Mz |
( |
|
) |
const [inline] |
Returns the longitudinal magnetisation
Definition at line 165 of file seqsim.h.
| unsigned int SeqSimMagsi::get_total_size |
( |
|
) |
const [inline] |
Returns the overall size of the array
Definition at line 140 of file seqsim.h.
Prepare a simulation (i.e. before successive calls to simulate() ) with the parameters:
- sample: The virtual sample
- transmit_coil: Transmitter coil, 0 for none
- receive_coil: Receiver coil, 0 for none
- progmeter: Status indicator to trace progress, 0 for none
Implements SeqSimAbstract.
Set each magnetization to initial state 'initial_vector', which is (0,0,1) by default
| SeqSimMagsi& SeqSimMagsi::set_initial_vector |
( |
float |
Mx, |
|
|
float |
My, |
|
|
float |
Mz | |
|
) |
| | |
Set the vector for the initial magnetization
| SeqSimMagsi& SeqSimMagsi::set_intravoxel_simulation |
( |
bool |
ivflag |
) |
[inline] |
Specifies whether intra-voxel magnetzation gradients are considered during simulation
Definition at line 192 of file seqsim.h.
| SeqSimMagsi& SeqSimMagsi::set_numof_threads |
( |
unsigned int |
n |
) |
[inline] |
Specifies the number of threads used during simulation
Definition at line 197 of file seqsim.h.
| SeqSimMagsi& SeqSimMagsi::set_online_simulation |
( |
bool |
onlineflag |
) |
[inline] |
Specifies whether simulation should be performed everytime update() is called
Definition at line 186 of file seqsim.h.
Specifies a rotation matrix for the spatial domain, i.e. the magnetization array will be rotated in space using the specified rotation matrix.
Simulation with
- simvals: The magnetic fields during a time interval
- gamma: Gyromagnetic ration of the nucleus observed Return value: Signal in each receiver channel
Implements SeqSimAbstract.
Updates all parameter relations
The documentation for this class was generated from the following file: