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

experience.c File Reference

#include "experience.h"

Go to the source code of this file.

Functions

EXPERIENCE3DAllocExperience ()
 Allocate a pointer on an EXPERIENCE3D structure.

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

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

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

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

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

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

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

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

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

void InitMagstateExperience (EXPERIENCE3D *expr)
 Magnetization state table initialization.

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

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

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

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

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

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

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

void SetAcqExperience (EXPERIENCE3D *expr, int ntx, int nty, int ntz, double tacq)
 Define the acquisition parameter of an experience.

EXPERIENCE3DAllocExperienceSgn (int ntx, int nty, int ntz)
 RF signal part allocation.

void SetFovExperience (EXPERIENCE3D *expr, double fovx, double fovy, double fovz, double obx, double oby, double obz)
 Definition of the EXPERIENCE3D FOV.

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

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

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

PPIMAGE_UCHAR GetkSpaceImage2DFromExperience (EXPERIENCE3D *expr, int haut, int dir)
 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 GetSignalRFModuleFromExperience (EXPERIENCE3D *expr)
 Get the module of the RF signal.

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

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

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

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


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