History of AFNI updates
Suggested reading for beginners
Add yourself to the AFNI map!
|
Author: Daniel Glen (---.nimh.nih.gov)
Date: 09-29-09 17:24
Thanks for the suggestion. I've added a new option to the Opt structure in RetroTS.m that allows slice order to be set in different ways:
SliceOrder: ['alt+z']/'alt-z'/'seq+z'/'seq-z'/'Custom'/filename.1D
Slice timing information in seconds. The default is
alt+z. See 3dTshift help for more info. 'Custom' allows
the program to use the values stored in the
Opt.SliceOffset array (this would have to be set also on the
command line for compiled versions). If a value is placed into the
SliceOrder field other than these, it is assumed to be
the name of a 1D / text file containing the times for
each slice (also in seconds).
This option can also be applied now using the McRetroTS compiled Matlab program because options are now handled differently to allow all the options available to RetroTS.m to also be applied using the command line.
Two usage modes:
Usage mode 1 (Provide Options via Opt structure
as in Matlab with RetroTS.m)
McRetroTS Opt.Respfile=Resp_epiRT_scan_14.dat \
Opt.Cardfile=ECG_epiRT_scan_14.dat \
Opt.VolTR=2 Opt.Nslices=34, Opt.PhysFS=50 \
Opt.SliceOrder=alt-z ....
Usage mode 2 (Provide 6 fixed parameters)
This is the original implementation.
McRetroTS Respfile Cardfile VolTR Nslices PhysFS Graph
Example:
McRetroTS Resp_epiRT_scan_14.dat ECG_epiRT_scan_14.dat 2 20 50 0
The second method still allows for other options to be
passed on the command line in the method of the first
usage, but they must follow the first 6 parameters.
The changes to the compiled versions are available here:
http://afni.nimh.nih.gov/sscc/staff/glend/matlab_compiler/
http://afni.nimh.nih.gov/sscc/staff/glend/matlab_compiler/
Updates to the matlab code will be available in our next distribution after now.
Try this out and let me know if these changes work for you. So now I'm sure there won't be any more difficulties with this....
|
|
|
John |
09-21-09 11:41 |
|
Daniel Glen |
09-23-09 10:40 |
|
John |
09-23-09 11:44 |
|
Daniel Glen |
09-29-09 17:24 |
|
John |
11-06-09 16:17 |
|
Daniel Glen |
11-06-09 16:43 |