KSFoundation  [October2024]
A platform for structured EPIC programming on GE MR systems
ksepi_implementation_diffusion.e File Reference

Macros

#define MAX_DIFFSCHEME_LENGTH   512
 
#define KSEPI_DIFFUSION_MAXBVALS   10
 
#define KSEPI_DIFFUSION_MAXBVALUE   20000
 

Enumerations

enum  ksepi_diffusion_return {
  DIFFRETURN_ALL = 0, DIFFRETURN_ACQUIRED = 1, DIFFRETURN_B0 = 2, DIFFRETURN_MEANDWI = 4,
  DIFFRETURN_MEANADC = 8, DIFFRETURN_EXPATT = 16, DIFFRETURN_FA = 32, DIFFRETURN_CFA = 64
}
 

Functions

STATUS ksepi_diffusion_init_UI ()
 
void SolveCubic (double a, double b, double c, double d, int *nsol, double *x)
 
STATUS ksepi_diffusion_calcTE (double *TE_s, int exciso2end, int crsh1_half180, int half180_crsh2, int readout2echo, int ramptime, float G, int bval_desired)
 
STATUS ksepi_diffusion_eval_gradients_TE (KSEPI_SEQUENCE *epi, const KSDIFF_CONTROL *diff_ctrl)
 
STATUS ksepi_eval_diffusion (KSDIFF_CONTROL *diff_ctrl)
 
STATUS ksepi_diffusion_pg (KSEPI_SEQUENCE *epi, int TE)
 

Variables

float ksepi_diffusion_amp_scale = 1.0 with {0.0, 1.0, 1.0, VIS, "Cap for scaling factor of diffusion gradient amplitude", }
 
int ksepi_diffusion_heat_avg = 1 with {0, 1, 1, VIS, "Root mean sqared averaging diffusion amplitudes heat calculations", }
 
float ksepi_diffusion_scaleX_heatcal = 1 with {0, 1, 1, VIS, "View-only: x diffusion gradient amplitude for heating calculations", }
 
float ksepi_diffusion_scaleY_heatcal = 1 with {0, 1, 1, VIS, "View-only: y diffusion gradient amplitude for heating calculations", }
 
float ksepi_diffusion_scaleZ_heatcal = 1 with {0, 1, 1, VIS, "View-only: z diffusion gradient amplitude for heating calculations", }
 
int ksepi_diffusion_echotime = 0 with {0, , 0, VIS, "View-only: Echo time necessary to meet the desired b-value", }
 
int ksepi_diffusion_returnmode = DIFFRETURN_ALL with {DIFFRETURN_ALL, 128, DIFFRETURN_ALL, VIS, "Diff maps All:0 Acq:1 b0:2 DWI:4 ADC:8 Exp:16 FA:32 cFA:64",}
 
int ksepi_diffusion_minramptime = 1ms with {0, 20ms, 1ms, VIS, "Minimum diffusion ramp time. If 0: syslimits used",}
 

Detailed Description

This file contains the implementation details for the diffusion part of the ksepi psd