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

experience.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <idseq.h>
#include <idvol.h>
#include "simri3d.h"
#include "object.h"

Go to the source code of this file.

Data Structures

struct  _Experience3D

Defines

#define ATT_INIT
#define ON   1
#define OFF   0

Typedefs

typedef _Experience3D EXPERIENCE3D

Functions

EXPERIENCE3DAllocExperience ()
 Allocate a pointer on an EXPERIENCE3D structure.

EXPERIENCE3DAllocExperienceSgn (int, int, int)
 RF signal part allocation.

void FreeExperience (EXPERIENCE3D *)
 Free the EXPERIENCE3D structure pointer.

void FreeExperienceSgn (EXPERIENCE3D *)
 Free the RF signal table of the EXPERIENCE3D structure.

void SetNameExperience (EXPERIENCE3D *, char *)
 Give a name to a given EXPERIENCE3D structure.

void ResetToExperience (EXPERIENCE3D *)
 Zero setting of the 'To' value for the T2* effect.

void InitToExperience (EXPERIENCE3D *)
 'To' table creation for the T2* management

void SetT1Experience (EXPERIENCE3D *, OBJECT3D *, int)
 T1 table creation.

void SetT2Experience (EXPERIENCE3D *, OBJECT3D *, int)
 T2 table creation.

void SetRoExperience (EXPERIENCE3D *, OBJECT3D *, int)
 Ro table creation.

void InitMagstateExperience (EXPERIENCE3D *)
 Magnetization state table initialization.

void SetB0Experience (EXPERIENCE3D *, double)
 Static field definition.

void SetB0DefExperience (EXPERIENCE3D *, double)
 Static field default definition.

void SetDeltaB0Experience (EXPERIENCE3D *, OBJECT3D *)
 Creation of the DeltaB0 table that allows T2* weigthing DeltaB0 is given in Tesla and weigthed by B0.

void SetGdechExperience (EXPERIENCE3D *, OBJECT3D *)
 Creation of the field inhomogeneity table It is scaled by B0 and will localy modify the resonance frequency of the spin.

void SetResonanceExperience (EXPERIENCE3D *, int)
 Setting of the RESONANCE FLAG that affects the taking into account of the frequency shift during pulse application.

void SetFlagdechExperience (EXPERIENCE3D *, int)
 Setting of the FLAG DECH that affects the taking into account of the field inhomogeneity.

void SetObjectExperienceComponent (EXPERIENCE3D *, OBJECT3D *, int, int)
 Copy the (Ro,T1,T2) values of one object componentinto the EXPERIENCE3D structure.

void SetFovExperience (EXPERIENCE3D *, double, double, double, double, double, double)
 Definition of the EXPERIENCE3D FOV.

void InitRFSigExperience (EXPERIENCE3D *)
 Creation of the RF signal table.

void SetAcqExperience (EXPERIENCE3D *, int, int, int, double)
 Define the acquisition parameter of an experience.

void NormalizeRFSignal (EXPERIENCE3D *)
 RF Signal normalisation taking into account the object discretisation (number of voxels and size).

PPIMAGE_UCHAR GetkSpaceImage2DFromExperience (EXPERIENCE3D *, int, int)
 Get an image (in unsigned char) of the RF signals (X or Y) stored in the k space. Useful for a quick visualization.

PPPVOLUME_FLOAT GetSignalRFComponentFromExperience (EXPERIENCE3D *, int)
 Get one one of the RF component obtained after an experience.

PPPVOLUME_COMPLEX_DOUBLE GetSignalRFComplexFromExperience (EXPERIENCE3D *)
 Get the RF volume from the EXPERIENCE3D structure.

PPPVOLUME_FLOAT GetSignalRFModuleFromExperience (EXPERIENCE3D *)
 Get the module of the RF signal.

PPPVOLUME_FLOAT GetSignalRFPhaseFromExperience (EXPERIENCE3D *)
 Get the phase of the RF signal.

EXPERIENCE3DGetSumSignalRFComplex (PPPVOLUME_COMPLEX_DOUBLE, PPPVOLUME_COMPLEX_DOUBLE)
 Do the summation of two complex RF volume and put it in an EXPERIENCE3D structure.

EXPERIENCE3DGetDiffSignalRFComplex (PPPVOLUME_COMPLEX_DOUBLE, PPPVOLUME_COMPLEX_DOUBLE)
 Do the difference of two complex RF volume and put it in an EXPERIENCE3D structure.

void AddComplexVolRF (PPPVOLUME_COMPLEX_DOUBLE, PPPVOLUME_COMPLEX_DOUBLE)
 Accumulation of two complex volumes.


Define Documentation

#define ATT_INIT
 

Value:

1000000 /* Temps d'attente en debut de sequence pour laisser remonter l'aimantation en z */

Definition at line 48 of file experience.h.

Referenced by SeqFreeInduction1D_0(), SeqGradientEcho1D_0(), SeqGradientEcho2D_0(), SeqGradientEcho3D_0(), SeqInversionRecuperation1D_0(), SeqInversionRecuperation2D_0(), SeqInversionRecuperation3D_0(), SeqSpinEcho1D_0(), SeqSpinEcho2D_0(), SeqSpinEcho3D_0(), SeqTrueFisp1D_0(), SeqTrueFisp2D_0(), SeqTrueFisp3D_0(), SeqTurboSpinEcho2D_0(), SequenceSE2D_sel(), TestEchoGradient1D(), TestEchoSpin1D(), TestFID1D(), TestSimulatedEcho(), TestTrainEchoGradient1D(), and TestTrainEchoSpin1D().

#define OFF   0
 

Definition at line 51 of file experience.h.

#define ON   1
 

Definition at line 50 of file experience.h.

Referenced by AllocExperience(), and KernelPulse().


Typedef Documentation

typedef struct _Experience3D EXPERIENCE3D
 

Referenced by DoAcqFrequenceX().


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