I am running 3dNLfim for the kinetic modeling (demri_3). I have a question regarding how to set T1 maps.
I got some results if AFNI_MODEL_D3_RIT environment variable is set to a typical constant value. However, the actual relaxation times at different tissues should be taken into account for a more accurate parameter estimation.
I computed T1 maps (msec) from multiple MR acquisitions and set AFNI_MODEL_D3_R1T_DSET environment variable with the name of the map. However, the code says that AFNI_MODEL_D3_RIT is missing. But, if I define both variables, I obtain the same result as if I had only defined AFNI_MODEL_D3_RIT.
Note that dset must contain the intrinsic relaxivity on a per voxel basis in inverse seconds. As Rick says, we haven’t thought or looked at this in quite some time, but I think it’s still a very useful analysis. Here is an example of how we computed the relaxivity map and used it with the DEMRI model.
% more calcR1Irat.script
#!/bin/tcsh
set highangle = rat_as+orig
set highbase = reg_ss_dynDTPA+orig
set highangledeg = 12
set high_nfirst = 4
set lowangle = rat_as_lo+orig
set lowangledeg = 3
set low_nfirst = 0
set TR = 0.0081
set maskdset = rat_man_mask+orig
#calculate mean / median of each dataset for first n timepoints
3dTstat -prefix high_mean -median $highangle"[0…$high_nfirst]"
if ($low_nfirst == 0) then
3dcalc -a $lowangle’[0]’ -prefix low_mean -expr ‘a’
else
3dTstat -median -prefix low_mean $lowangle"[0…$low_nfirst]"
endif
3dvolreg -base high_mean+orig. -prefix low_mean_vr low_mean+orig
3dcalc -a high_mean+orig -b low_mean_vr+orig -datum float
-prefix lowhigh_ratio -expr ‘b/a’
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.