Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

Tests


Functions

void TestFID1D (int objsize, int sigsize)
 Test function of a 1D FID on an homogeneous object.

void TestEchoSpin1D (int objsize, int sigsize)
 Test function of a 1D spin echo on an homogeneous object.

void TestEchoGradient1D (int objsize, int sigsize)
 Test function of a 1D gradient echo on an homogeneous object.

void TestTrainEchoSpin1D (int objsize, int sigsize, int nbecho)
 Test function of a spin echo train on an homogeneous object.

void TestTrainEchoGradient1D (int objsize, int sigsize, int nbecho)
 Test function of a gradient echo train on an homogeneous object Each echo has a decay in T2** and the train echo decays in T2*.

void TestSimulatedEcho (int objsize, int sigsize)
 Test function of siùmulated echo with 3 RF pulses.

void TestSequence2D (int obj, int objsize, int imasize, double tacq, double TE, double TR, double teta, double b0, double db0, double b0def, int flagres, int flagdech, int filter, char *fileout, char *seqname, int display)
 Generic 2D test function.

void TestSequence3D (int obj, int objsize, int imasize, double tacq, double TE, double TR, double teta, double b0, double db0, double b0def, int flagres, int flagdech, int filter, char *fileout, char *seqname, int display)
 Generic 3D test function.


Function Documentation

void TestEchoGradient1D int  objsize,
int  sigsize
 

Test function of a 1D gradient echo on an homogeneous object.

Warning:
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 229 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DisplayVolX(), DoAcqFrequenceX(), DoGradient(), DoPulseRect(), DoWaiting(), FreeExperience(), G_kHz_G, GetSignalRFComplexFromExperience(), GetSignalRFComponentFromExperience(), IdVolFree, _Experience3D::magstate, object, OBJECT3D, PLUS, PPPVOLUME, PPPVOLUME_FLOAT, RecVolIFFTModuleFromVol(), SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, WriteVolRecUchar(), and x.

void TestEchoSpin1D int  objsize,
int  sigsize
 

Test function of a 1D spin echo on an homogeneous object.

Warning:
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 146 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DisplayVolX(), DoAcqFrequenceX(), DoPulseRect(), DoWaiting(), FreeExperience(), GetSignalRFComplexFromExperience(), GetSignalRFComponentFromExperience(), IdVolFree, _Experience3D::magstate, MINUS, object, OBJECT3D, PPPVOLUME, PPPVOLUME_FLOAT, RecVolIFFTModuleFromVol(), SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, WriteVolRecUchar(), and x.

Referenced by main().

void TestFID1D int  objsize,
int  sigsize
 

Test function of a 1D FID on an homogeneous object.

Warning:
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 64 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DisplayVolX(), DoAcqFrequenceX(), DoPulseRect(), DoWaiting(), FreeExperience(), GetSignalRFComplexFromExperience(), GetSignalRFComponentFromExperience(), IdVolFree, object, OBJECT3D, PLUS, PPPVOLUME, PPPVOLUME_FLOAT, RecVolIFFTModuleFromVol(), SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, WriteVolRecUchar(), and x.

Referenced by main().

void TestSequence2D int  obj,
int  objsize,
int  imasize,
double  tacq,
double  TE,
double  TR,
double  teta,
double  b0,
double  db0,
double  b0def,
int  flagres,
int  flagdech,
int  filter,
char *  fileout,
char *  seqname,
int  display
 

Generic 2D test function.

Warning:
The object size must be equal or greater than the image size Both sizes should be power of 2 for the FFT reconstruction
Parameters:
obj Object choice given by an integer
objsize Object size (x=y)
imasize Image size (x=y)
tacq Readout time in ms
TE Echo time in ms
TR Repetition time in ms
teta RF pulse angle (used only for gradient echo sequence)
b0 Main static field value in T
db0 Intra voxel field default in T (T2* effect)
b0def Maximum value of the main satic field default (Parabolic form)
flagres On/Off resonance flag
filter =1 to activate Hamming filtering of the k space
fileout Reconstructed image name that will be saved
seqname Sequence name (Name list given in sequence.c)
display Display flag: 1 > display the reconstructed image

Definition at line 82 of file test-sequence.c.

References AllocExperience(), DisplayVolXY(), FreeObject(), GetTestObject2D(), HANNING, IdVolFree, IdVolMaxima(), IdVolMinima(), object, OBJECT3D, PPPVOLUME, PPPVOLUME_FLOAT, RecVolIFFTModuleFromVol(), RunSequence(), SEQPARAM, SetAcqExperience(), SetB0DefExperience(), SetB0Experience(), SetFlagdechExperience(), SetFovExperience(), SetResonanceExperience(), SetSeqParamTE(), SetSeqParamTeta(), SetSeqParamTR(), VolRFFiltering(), and WriteVolRecUchar().

Referenced by main().

void TestSequence3D int  obj,
int  objsize,
int  imasize,
double  tacq,
double  TE,
double  TR,
double  teta,
double  b0,
double  db0,
double  b0def,
int  flagres,
int  flagdech,
int  filter,
char *  fileout,
char *  seqname,
int  display
 

Generic 3D test function.

Warning:
The object size must be equal or greater than the image size Both sizes should be power of 2 for the FFT reconstruction
Parameters:
obj Object choice given by an integer
objsize Object size (x=y=z)
imasize Image size (x=y=z)
tacq Readout time in ms
TE Echo time in ms
TR Repetition time in ms
teta RF pulse angle (used only for gradient echo sequence)
b0 Main static field value in T
db0 Intra voxel field default in T (T2* effect)
b0def Maximum value of the main satic field default (Parabolic form)
flagres On/Off resonance flag
filter =1 to activate Hamming filtering of the k space
fileout Reconstructed image name that will be saved
seqname Sequence name (Name list given in sequence.c)
display Display flag: 1 > display the reconstructed image

Definition at line 176 of file test-sequence.c.

References AllocExperience(), DisplayVolXY(), FreeObject(), GetTestObject3D(), HANNING, IdVolFree, object, OBJECT3D, PPPVOLUME, PPPVOLUME_FLOAT, RecVolIFFTModuleFromVol(), RunSequence(), SEQPARAM, SetAcqExperience(), SetB0DefExperience(), SetB0Experience(), SetFlagdechExperience(), SetFovExperience(), SetResonanceExperience(), SetSeqParamTE(), SetSeqParamTeta(), SetSeqParamTR(), VolRFFiltering(), and WriteVolRecUchar().

Referenced by main().

void TestSimulatedEcho int  objsize,
int  sigsize
 

Test function of siùmulated echo with 3 RF pulses.

Warning:
The actual model doesn't enable simulated echo simulation
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 457 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DoAcqFrequenceX(), DoPulseRect(), DoWaiting(), GetSignalRFComponentFromExperience(), IdVolFree, MINUS, object, OBJECT3D, PPPVOLUME_FLOAT, SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, and x.

void TestTrainEchoGradient1D int  objsize,
int  sigsize,
int  nbecho
 

Test function of a gradient echo train on an homogeneous object Each echo has a decay in T2** and the train echo decays in T2*.

Warning:
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 382 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DoAcqFrequenceX(), DoGradient(), DoPulseRect(), DoWaiting(), G_kHz_G, GetSignalRFComponentFromExperience(), IdVolFree, _Experience3D::magstate, object, OBJECT3D, PLUS, PPPVOLUME_FLOAT, SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, and x.

void TestTrainEchoSpin1D int  objsize,
int  sigsize,
int  nbecho
 

Test function of a spin echo train on an homogeneous object.

Warning:
Parameters:
objsize Object size
sigsize Reconstructed signal size (should be < object size)

Definition at line 313 of file test-rmn.c.

References AllocExperience(), ATT_INIT, CreateHomogeneousObject(), DoAcqFrequenceX(), DoPulseRect(), DoWaiting(), GetSignalRFComponentFromExperience(), IdVolFree, MINUS, object, OBJECT3D, PPPVOLUME_FLOAT, SetAcqExperience(), SetB0Experience(), SetFovExperience(), SetObjectDeltaB0(), SetObjectExperienceComponent(), SetObjectSize(), WATER, and x.

Referenced by main().


Generated on Wed Oct 19 09:28:38 2005 for SIMRI3D by doxygen 1.3.7