[Camino-users] schemefile generation

Ferizi, Uran uran.ferizi.10 at ucl.ac.uk
Mon Mar 24 01:39:47 PDT 2014


Hello Stefania,


If you asked about how to write a Stejskal-Tanner scheme file, which is a text file, you could use Matlab.


After constructing the matrix, e.g.:

ST_scheme=[directions; |G|;  DELTA; delta TE];

you can write it out via:


scheme_str=strcat('data.scheme');
dlmwrite(scheme_str, ST_scheme, 'delimiter', ' ', 'precision', '%.6f');
% write first line
dlmwrite('output.txt', 'VERSION: STEJSKALTANNER', 'delimiter', '');
% append rest of file
dlmwrite('output.txt', fileread(scheme_str), '-append', 'delimiter', '');
% overwrite on original file
movefile('output.txt', scheme_str);



________________________________
From: camino-users-bounces at www.nitrc.org <camino-users-bounces at www.nitrc.org> on behalf of stefania oliviero <stefania.oliviero at hotmail.it>
Sent: 24 March 2014 7:35 AM
To: camino-users at www.nitrc.org
Subject: [Camino-users] schemefile generation

Hi All,
I have a question about the generation of a schemefile. I have an acquisition scheme like this:

nx ny nz  delta  DELTA  G      TE

0   0   0     0       0          0     30
5   10 0     8       20        80   50
...

with nx, ny and nz as gradient directions.
How can I report all these information in a scheme file? I would like to explicit in the file.scheme the values of delta, DELTA, G and TE. Which schemefile version can I use, please?
The only scheme file version explained in the DTI tutorial is the BVECTOR one.

VERSION: BVECTOR
nx_1 ny_1 nz_1 b1

Thanks a lot
Cheers

Stefania Oliviero
Universit? degli Studi di Napoli Federico II
ITAB, Universit? degli Studi G. d'Annunzio di Chieti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.nitrc.org/pipermail/camino-users/attachments/20140324/7b34bfb9/attachment.html>


More information about the Camino-users mailing list