Commit 11c64994 authored by matecellab's avatar matecellab
Browse files

added MRIroot-scripts as promised in the manual

parent 808642c8
function bas_MRItoMat(basil,bruker,overwrite)
function bas_MRItoMat(basil,overwrite)
% bas_MRItoMat(basil,bruker,overwrite)
%
if nargin < 3, overwrite = 1; end
if nargin < 2, bruker = '~/BrukerData'; end
if nargin < 2, overwrite = 1; end
if nargin < 1, basil = 0; end
bruker = bas_getMRIroot;
[scans, paths] = bas_getMeta(basil);
savenames = {''; '_preload'; '_loading'; '_postload'; '_flash'};
......
function bruker = bas_getMRIroot
% bruker = bas_getMRIroot
%
% The root folder where the raw MRI-data is to be found.
% Currently: bruker = '~/BrukerData';
%
% See also, bas_setMRIroot, bas_MRItoMat, bas_prepFEM
%
bruker = '~/BrukerData';
end
function bruker = bas_setMRIroot(folder)
% bruker = bas_setMRIroot(folder)
%
% Sets the root folder <MRI-root> where the raw MRI-data is to be found in
% bas_getMRIroot
%
% See also, bas_getMRIroot, bas_MRItoMat, bas_prepFEM
getRoot = which('bas_getMRIroot');
fid = fopen(getRoot,'w+');
fprintf(fid,'function bruker = bas_getMRIroot\n');
fprintf(fid,'%% bruker = bas_getMRIroot\n%%\n');
fprintf(fid,'%% The root folder where the raw MRI-data is to be found.\n');
fprintf(fid,'%% Currently: bruker = ''%s'';\n%%\n', folder);
fprintf(fid,'%% See also, bas_setMRIroot, bas_MRItoMat, bas_prepFEM\n%%\n');
fprintf(fid,'bruker = ''%s'';\n\n',folder);
fprintf(fid,'end\n');
fclose(fid);
bruker = bas_getMRIroot;
end
\ No newline at end of file
......@@ -151,7 +151,7 @@ All spatial dimensions of the FE model are in mm, both for input and output. Thu
E = 15.6\,\text{kPa} = 15600\,{\text{N}}/{\text{m}^2} = 0.0156\,{\text{N}}/{\text{mm}^2}
\end{equation}
And if you read the element volume from the Abaqus output, this volume is in mm\ap{3}.
And when you read the element volume from the Abaqus output, this volume is in mm\ap{3}.
\section{Directory structure}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment