[Camino-users] schemefile generation -problem is solved
stefania oliviero
stefania.oliviero at hotmail.it
Mon Mar 24 02:35:24 PDT 2014
Hi Uran,
Thank you so much!
I did not know Stejskal-Tanner version of schemefile and now the problem is solved.
Cheers
Stefania Oliviero
From: uran.ferizi.10 at ucl.ac.uk
To: stefania.oliviero at hotmail.it; camino-users at www.nitrc.org
Subject: RE: [Camino-users] schemefile generation
Date: Mon, 24 Mar 2014 08:39:47 +0000
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/5fbae3dc/attachment.html>
More information about the Camino-users
mailing list